OpenCV Error: (-215)size.width>0 && size.height>0 in function imshow

前端 未结 16 2421
既然无缘
既然无缘 2020-11-29 09:09

I am trying to make a face tracker that combines Haar Cascade Classification with Lucas Kanade good feature detection. However, I keep getting an error that I cannot figure

16条回答
  •  独厮守ぢ
    2020-11-29 09:38

    I have also met this issue. In my case, the image path is wrong, so the img read is NoneType. After I correct the image path, I can show it without any issue.

提交回复
热议问题