monocular-visual-odometry
monocular-visual-odometry copied to clipboard
OpenCV Error: Assertion failed
Hi, when I try to run this code with the given "KITTI Dataset" , its working fine.But when I use my own dataset (images+poses ) it shows me error :
OpenCV Error: Assertion failed (src[i].dims <= 2 && src[i].rows == src[0].rows && src[i].type() == src[0].type()) in hconcat, file /home/shivani/Downloads/opencv-3.4.0/modules/core/src/matrix.cpp, line 3156 terminate called after throwing an instance of 'cv::Exception' what(): /home/shivani/Downloads/opencv-3.4.0/modules/core/src/matrix.cpp:3156: error: (-215) src[i].dims <= 2 && src[i].rows == src[0].rows && src[i].type() == src[0].type() in function hconcat
Along with it only gives me red line i.e for images but don't show me green line which is for pose data. Could you please tell me where I am wrong ? How to run this code again. Thanks !!!!!!