将正点原子发布的OPENCV例程移植至板子上,界面显示了,但是图片没有显示。点击按钮时报如下错误:
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.3) /home/sany316050/buildroot-2019.02.6/output/build/opencv3-3.4.3/modules/imgproc/src/color.cpp:181: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
看起来是找不到相应的图片,但是我图片地址设置是对的,请问还有其他原因吗?