lbdmod's People
lbdmod's Issues
Make issues
Hi,
When I run "make" in the "build" file, the building terminates at 25%, and shows
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:37:29: error: ambiguous overload for ‘operator==’ (operand types are ‘cv::FileNode’ and ‘const char [9]’)
if (fSettings["ldType"] == "LBDFloat")
^
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:37:29: note: candidates are:
In file included from /usr/local/include/opencv4/opencv2/core/types.hpp:56:0,
from /usr/local/include/opencv4/opencv2/core/persistence.hpp:100,
from /home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:21:
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: bool cv::operator==(const cv::UMatData::MemoryFlag&, const int&)
CV_ENUM_FLAGS(UMatData::MemoryFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: no known conversion for argument 2 from ‘const char [9]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: bool cv::operator==(const cv::_InputArray::KindFlag&, const int&)
CV_ENUM_FLAGS(_InputArray::KindFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: no known conversion for argument 2 from ‘const char [9]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: bool cv::operator==(const cv::AccessFlag&, const int&)
CV_ENUM_FLAGS(AccessFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: no known conversion for argument 2 from ‘const char [9]’ to ‘const int&’
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:42:29: error: ambiguous overload for ‘operator==’ (operand types are ‘cv::FileNode’ and ‘const char [4]’)
if (fSettings["ldType"] == "LLD")
^
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:42:29: note: candidates are:
In file included from /usr/local/include/opencv4/opencv2/core/types.hpp:56:0,
from /usr/local/include/opencv4/opencv2/core/persistence.hpp:100,
from /home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:21:
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: bool cv::operator==(const cv::UMatData::MemoryFlag&, const int&)
CV_ENUM_FLAGS(UMatData::MemoryFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: no known conversion for argument 2 from ‘const char [4]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: bool cv::operator==(const cv::_InputArray::KindFlag&, const int&)
CV_ENUM_FLAGS(_InputArray::KindFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: no known conversion for argument 2 from ‘const char [4]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: bool cv::operator==(const cv::AccessFlag&, const int&)
CV_ENUM_FLAGS(AccessFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: no known conversion for argument 2 from ‘const char [4]’ to ‘const int&’
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc: In static member function ‘static LineMatcher* LinesConfigurator::CreateLineMatcher(const cv::FileStorage&)’:
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:58:29: error: ambiguous overload for ‘operator==’ (operand types are ‘cv::FileNode’ and ‘const char [9]’)
if (fSettings["ldType"] == "LBDFloat")
^
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:58:29: note: candidates are:
In file included from /usr/local/include/opencv4/opencv2/core/types.hpp:56:0,
from /usr/local/include/opencv4/opencv2/core/persistence.hpp:100,
from /home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:21:
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: bool cv::operator==(const cv::UMatData::MemoryFlag&, const int&)
CV_ENUM_FLAGS(UMatData::MemoryFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: no known conversion for argument 2 from ‘const char [9]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: bool cv::operator==(const cv::_InputArray::KindFlag&, const int&)
CV_ENUM_FLAGS(_InputArray::KindFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: no known conversion for argument 2 from ‘const char [9]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: bool cv::operator==(const cv::AccessFlag&, const int&)
CV_ENUM_FLAGS(AccessFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: no known conversion for argument 2 from ‘const char [9]’ to ‘const int&’
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:63:29: error: ambiguous overload for ‘operator==’ (operand types are ‘cv::FileNode’ and ‘const char [4]’)
if (fSettings["ldType"] == "LLD")
^
/home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:63:29: note: candidates are:
In file included from /usr/local/include/opencv4/opencv2/core/types.hpp:56:0,
from /usr/local/include/opencv4/opencv2/core/persistence.hpp:100,
from /home/sy/code/lbdmod-master/cpp/src/LinesConfigurator.cc:21:
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: bool cv::operator==(const cv::UMatData::MemoryFlag&, const int&)
CV_ENUM_FLAGS(UMatData::MemoryFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:566:1: note: no known conversion for argument 2 from ‘const char [4]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: bool cv::operator==(const cv::_InputArray::KindFlag&, const int&)
CV_ENUM_FLAGS(_InputArray::KindFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:262:1: note: no known conversion for argument 2 from ‘const char [4]’ to ‘const int&’
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: bool cv::operator==(const cv::AccessFlag&, const int&)
CV_ENUM_FLAGS(AccessFlag)
^
/usr/local/include/opencv4/opencv2/core/mat.hpp:66:1: note: no known conversion for argument 2 from ‘const char [4]’ to ‘const int&’
CMakeFiles/lbd_mod.dir/build.make:179: recipe for target 'CMakeFiles/lbd_mod.dir/cpp/src/LinesConfigurator.cc.o' failed
make[2]: *** [CMakeFiles/lbd_mod.dir/cpp/src/LinesConfigurator.cc.o] Error 1
CMakeFiles/Makefile2:146: recipe for target 'CMakeFiles/lbd_mod.dir/all' failed
make[1]: *** [CMakeFiles/lbd_mod.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I didn't find out why this happening.
Thank u for your help. @alexandervakhitov
fatal error: Python.h: No such file or directory
Hi,
After installing all the requirement, I run cmake .
successfully. but, when I execute make
it built until 48% and shows an error
[ 48%] Building CXX object CMakeFiles/pylbd.dir/src/pyboost_cv2_converter.cpp.o
In file included from /mnt/data2/user/lld-public/lbdmod/src/pyboost_cv2_converter.cpp:10:0:
/mnt/data2/user/lld-public/lbdmod/./include/pyboostcvconverter/pyboostcvconverter.hpp:14:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
Could you know why this is happening?
Thanks
Parameters to change
I was trying to ignore the matching for the short lines (let's say less than 3 cm), could I change any parameter to do that ?
I couldn't find the file where I could play a little but with them.
Thanks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.