slambook2
slambook2 copied to clipboard
ch5 stereoVision 编译后运行时报错,使用的是opencv3.4.7
terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(3.4.7) /home/zqchen/Downloads/opencv-3.4.7/modules/highgui/src/window.cpp:358: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'
// 文件路径 读取图片时路径改为绝对路径即可,比如 string left_file = "/home/xxx/slambook2/ch5/stereo/left.png"; string right_file = "/home/xxx/slambook2/ch5/stereo/right.png";