(-215:Assertion Failed) !_src0.empty() In Function 'medianBlur' Code Example


Example: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

This error happened because the image didn't load properly. So you have problem with the previous line cv2.imread my suggestion is :  check if the images exist in the path you give  check the count variable if he have valid number

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy