I use matchShapes() to find the similar contour.
Then use minAreaRect(), can compute the centre of contour.
But the angle isn't correct. Because the contour is irregular.
If compare the parameter of 2 Hu moment, can compute the rotation angle?
How to do it???
Thanks a lot