(-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

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer