📌  相关文章
📜  错误:(-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' - 不管是什么代码示例

📅  最后修改于: 2022-03-11 14:57:42.654000             🧑  作者: Mango

代码示例1
This error happened because the image didn't load properly.
So you have a problem with the previous line cv2.imread my suggestion is :

Check if the images exist in the path you give

Check the count variable to see if it has a valid number