linyicheng1 / LET-NET

LET-NET: A lightweight CNN network for sparse corners extraction and tracking
189 stars 24 forks source link

make error #25

Open Peter19990725 opened 4 months ago

Peter19990725 commented 4 months ago

In Ubuntu18,after I build opecv3.4 and ncnn ,make error. /home/LET-NET/tracking.cpp: In member function ‘std::vector<cv::Point_ > cornertracking::extractFeature(const cv::Mat&, int, const std::vector<cv::Point >&)’: /home/LET-NET/tracking.cpp:147:6: error: invalid initialization of reference of type ‘const cv::ParallelLoopBody&’ from expression of type ‘cornertracking::extractFeature(const cv::Mat&, int, const std::vector<cv::Point >&)::<lambda(const cv::Range&)>’ });

deepConnectionism commented 3 months ago

@Peter19990725 我觉得是 opencv 版本不兼容问题,我也遇到了这个问题 通过升级 opencv 版本到 3.4.20,我解决了该问题

Peter19990725 commented 3 months ago

@Peter19990725 我觉得是 opencv 版本不兼容问题,我也遇到了这个问题 通过升级 opencv 版本到 3.4.20,我解决了该问题

你好,我想问一下编译安装好opencv3.4.20后,会和原本ROS自带的cv3.2有冲突吗?还需要做cv_bridge的修改吗?还是直接在cmakelist里修改为find_package(OpenCV 3.4 REQUIRED)就可以直接编译LET-NET?

deepConnectionism commented 3 months ago

@Peter19990725 会有冲突 你可以通过 export 的方式修改环境变量 cv_bridge 应该不需要修改 安装对应的 ubuntu 版本的即可

rangingwaves commented 3 weeks ago

@deepConnectionism 你好,请问你vins-mono后端可以运行吗,我跑euroc一直显示Not enough features or parallax; Move device around

deepConnectionism commented 3 weeks ago

@rangingwaves 可以运行