Ask Your Question

Revision history [back]

you can use segmentation algorithm such as hough transform or harrisCorner to find rectangular object. then you can find orientation of obejct by cvMinAreaRect2 or cvFitEllipse2.