andrewdcampbell / OpenCV-Document-Scanner

An interactive document scanner built in Python using OpenCV featuring automatic corner detection, image sharpening, and color thresholding.
479 stars 144 forks source link

LSD Error: new_image_double: invalid image size. #10

Open rg-github-hub opened 3 years ago

rg-github-hub commented 3 years ago

I have successfully installed all the requirements , but I'm getting error "LSD Error: new_image_double: invalid image size." . I am unable to figure it out . It is not telling any specific line number or file .

Govindskatyura commented 2 years ago

check the image size before passing it to lsd[line segment detector].