I couldn't get past this error in open cv
74,953
This problem says that an assertion is failed. If the file doesn't exist in the given path, cv2 returns this error. So check if the file exists in your given path.
Author by
Admin
Updated on April 12, 2021Comments
-
Admin about 3 years
cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-2b5g8ysb\opencv\modules\highgui\src\window.cpp:376: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'
-
Mohammad Javadian over 3 yearsI got this error when file exists