Error (-215) size.width>0 && size.height>0 occurred when attempting to display an image using OpenCV

后端 未结 11 2581
渐次进展
渐次进展 2020-11-28 15:37

I am trying to run a simple program that reads an image from OpenCV. However, I am getting this error:

error: ......\\modules\\highgui\\src\\window.cpp:281:          


        
11条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 15:56

    Make sure you have given the correct path of image. This error comes only when you have given wrong path.

提交回复
热议问题