Siddhanth Rao

Results 2 comments of Siddhanth Rao

There is an older implementation of: https://github.com/primetang/LSD-OpenCV-MATLAB/tree/master/pylsd Running this command solved my issue : **pip install pylsd** PyLSD is a layer over the LSD software (LSD - Line Segment Detector)

Change `cnts = cv2.findContours(dilate.copy(), cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)` line number(25 or 26) to `cnts,hierarchy = cv2.findContours(edged.copy(), cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)` If I'm not wrong its and OpenCV version error. Different versions of OpenCV have different values...