Commit 3c8cff3d authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed ellipse orientation in fitellipse.py

parent bce15cb6
......@@ -67,7 +67,6 @@ class FitEllipse:
# Convert ellipse data from float to integer representation.
center = (cv.Round(center[0]), cv.Round(center[1]))
size = (cv.Round(size[0] * 0.5), cv.Round(size[1] * 0.5))
angle = -angle
# Draw ellipse in random color
color = cv.CV_RGB(random.randrange(256),random.randrange(256),random.randrange(256))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment