slambook2 icon indicating copy to clipboard operation
slambook2 copied to clipboard

ch5 stereoVision 编译后运行时报错,使用的是opencv3.4.7

Open zhuoqun-chen opened this issue 3 years ago • 1 comments

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'

zhuoqun-chen avatar Sep 24 '21 10:09 zhuoqun-chen

// 文件路径 读取图片时路径改为绝对路径即可,比如 string left_file = "/home/xxx/slambook2/ch5/stereo/left.png"; string right_file = "/home/xxx/slambook2/ch5/stereo/right.png";

jacy-darker avatar Dec 17 '21 08:12 jacy-darker