404: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow' code example
Example 1: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'
image = cv.imread(r'F:\CODES\n07740461_173.jpg')
Example 2: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'
image = cv.imread('F:/CODES/n07740461_173.jpg')