pylsd
pylsd copied to clipboard
TypeError: 'module' object is not callable
I get the following error when I try to run example_cv2.py
Traceback (most recent call last):
File "E:\pylsd\example\example_cv2.py", line 16, in
How to solve it?
check the new code example, you should import lsd like this
from pylsd.lsd import lsd
I upgraded the lsd algorithm version from 1.5 to 1.6, and solved the FileNotFoundError. Now it works on python3.
You can install it with pip install pylsd2