I want to use the fitEllipse to detect the orientation of the objects. the rotation of the objects would be restricted in some specific angle,for example, 0~45 degree. I hope I can make the fitEllipse function use only the Ellipse with 0~45 degrees angle to fit the objects.
thanks for any idea.