Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

try with tuples :

focus1=0,20 # works even w/o braces !
focus2=(80,20)

cv2.line(ocv,focus1,focus2,(255,0,0),5)

image description

also please note, that the 2.4 version does not return a new image, see docs