OpenCV2-Python-Tutorials icon indicating copy to clipboard operation
OpenCV2-Python-Tutorials copied to clipboard

Corrected code sample iteration

Open FrancoisTeyssere opened this issue 5 years ago • 0 comments

Code samples do not iterate through all detected lines in an image. Instead, it only draws the first detected line. Replaced lines[0] by lines[:,0] at lines 59 and 104 to get the desired behavior.

FrancoisTeyssere avatar Mar 23 '20 17:03 FrancoisTeyssere