primetang / lsd-opencv-matlab Goto Github PK
View Code? Open in Web Editor NEWLine Segment Detector for OpenCV, MATLAB, and Python.
License: GNU General Public License v3.0
Line Segment Detector for OpenCV, MATLAB, and Python.
License: GNU General Public License v3.0
E:\PROGRA~2\MATLAB\R2013B\BIN\MEX.PL : error : '/include' not found.
How to deal with the error, when it comes to compiling lsd_image or lsd
Hi I am trying to compile under Ubuntu 12.04 x64. I run 'cmake .. && make' under build folder in LSD-OpenCV-MATLAB-master. I a getting following error:
Unknown MEX argument '-L'.
make[2]: *** [matlab/lsd.mexa64] Error 255
make[1]: *** [matlab/CMakeFiles/mex_lsd.dir/all] Error 2
make: *** [all] Error 2
I am not sure if it is a OCV problem since the lsd_opencv_example is running properly.
And inside the matlab folder there are dll file which is for windows.
I would be happy to hear any suggestions on the issue?
Bests,
Soner
I'm running your code with KITTI
datasets, which has thounds of images in a sequence. And a serious memory leak problem has appeared.
I've tried to manually call free_image_double(image_double)
, but recieved an error: double free or corruption (out)
.
I guess the image_double
has been freed by your code, but there are still some other memory leak problems inside your implementation.
Is there any way to quickly fix it?
I am trying to execute a example script, but I am getting error "module is not callable"
`runfile('/data/Work/workspace/seperator-detection/cap-python-lsd/pylsd/example/example_cv2.py')
Traceback (most recent call last):
File "", line 1, in
runfile('/data/Work/workspace/seperator-detection/cap-python-lsd/pylsd/example/example_cv2.py')
File "/data/repos/tfenv/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 704, in runfile
execfile(filename, namespace)
File "/data/repos/tfenv/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/data/Work/workspace/seperator-detection/cap-python-lsd/pylsd/example/example_cv2.py", line 16, in
lines = lsd(gray)
TypeError: 'module' object is not callable`
File "G:/python daima/pylsd-master/pylsd/lsd.py", line 31, in lsd
fp = open(temp, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'G:/python daima/pylsd-master/pylsd/61617ntl.txt'
please Tell me how these txt files are generated
Traceback (most recent call last):
File "/home/userbest/Work/ocv-python/6_LSD.py", line 4, in <module>
from pylsd import lsd
File "/usr/lib/python3.7/site-packages/pylsd/__init__.py", line 8, in <module>
from lsd import lsd
ModuleNotFoundError: No module named 'lsd'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.