OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /Users/wangxiaoxiao/Downloads/opencv-3.0.0/modules/highgui/src/window.cpp, line 271
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/wangxiaoxiao/Downloads/opencv-3.0.0/modules/highgui/src/window.cpp:271: error: (-215) size.width>0 && size.height>0 in function imshow
看上去像运行错误。请帖源代码。
LZ解决了吗 我在osx里配置也出现这个问题
LZ解决了吗 我在osx里配置也出现这个问题
问题解决了吗?我也出现了同样的问题,图片路径没问题,就是加载不出来。请问你最后是怎么解决的
请帖源代码,看看line:271是什么