yangliu9527 / Object_SLAM

A visual SLAM system with Object-Aware Data Association and Semantically Constrained Optimization
Other
8 stars 0 forks source link

ubunutu20.04 #2

Closed mlc1212 closed 1 week ago

mlc1212 commented 3 months ago

When I command the following I get an error: ./Examples/Monocular/mono_kitti Vocabulary/ORBvoc.txt Examples/Monocular/KITTI00-02.yaml ~/datasets/00/ The error is as follows: ORB Extractor Parameters:


Start processing sequence ... Images in the sequence: 4541

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.2.0) ../modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' How should I fix it?Thanks

yangliu9527 commented 2 months ago

This work is developed based on OpenCV3 (OpenCV2 may be also OK). So you can try to change the version of OpenCV from 4.X to 3.X.