How to draw ellipse with first python function ?
Dear all,
I am trying to draw an ellipse with Opencv/Python, version 2.4.6.1. According to the doc, there are two functions :
Python: cv2.ellipse(img, center, axes, angle, startAngle, endAngle, color[, thickness[, lineType[, shift]]]) → None
Python: cv2.ellipse(img, box, color[, thickness[, lineType]]) → None
I use the first as follow :
cv2.ellipse(img, (113, 155.6), (23.4, 15.2), 0.0, 0.0, 360.0, (255, 255, 255), -1);
but get the following error message
TypeError: ellipse() takes at most 5 arguments (8 given)
Any idea on how to solve this ?