]> rtime.felk.cvut.cz Git - opencv.git/blobdiff - opencv/samples/python/fitellipse.py
Remove cv.Size
[opencv.git] / opencv / samples / python / fitellipse.py
index 11d38cd8f01e5e0fbc1dae98bcf9699615643dde..15a49014dc52a049322b6c8d8c23dd83f73ddd9d 100755 (executable)
@@ -66,7 +66,7 @@ def process_image( slider_pos ):
         box = cv.FitEllipse2(PointArray2D32f)
         
         # Draw current contour.
-        cv.DrawContours(image04, c, cv.CV_RGB(255,255,255), cv.CV_RGB(255,255,255),0,1,8,cv.Point(0,0))
+        cv.DrawContours(image04, c, cv.CV_RGB(255,255,255), cv.CV_RGB(255,255,255),0,1,8,(0,0))
         
         # Convert ellipse data from float to integer representation.
         center = cv.CvPoint()