From: Vadim Pisarevsky Date: Tue, 14 Jun 2011 09:23:29 +0000 (+0000) Subject: fixed ellipse orientation in fitellipse.py X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~7006 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c8cff3d7e3a335fa89ffac2f812a3f36fc18c4a;p=platform%2Fupstream%2Fopencv.git fixed ellipse orientation in fitellipse.py --- diff --git a/samples/python/fitellipse.py b/samples/python/fitellipse.py index df3c15c..398437d 100755 --- a/samples/python/fitellipse.py +++ b/samples/python/fitellipse.py @@ -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))