Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv2.line python error

I'm trying to draw line between 2 points but when i run the code i get this error:

SystemError: new style getargs format but argument is not a tuple

any help i'll be thankful

here is the part of code:

cv2.line(img, approx[0], approx[1],( 0, 0, 255),3)