I am trying example infer-simple.py and I am getting following error:
C:\Users\timothym\mycode>python infer-simple.py
Traceback (most recent call last):
File "C:\Users\timothym\mycode\infer-simple.py", line 70, in <module>
cv2.imshow('image', image)
cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:967: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'
what is the problem.