How to track a letter T
I want to use Contour Matching.
I need compute coordinate of center and rotation angle of contour.
Contour Matching is Hu Moment, and are there more algorithm?
For coordinate of center, only use MinAreaRect.
But the rotation angle of MinAreaRect, same time is error, especially when angle is more than 45 degree.
How to do it???
Thanks a lot
minAreaRect is returning a RotatedRectangle, so if your contour is like a T, then it is not ok IMHO... But if you use it, I think that I had the same problem with the angle, so if the angle is more than 45° then you should add 90° (could you confirm?)