📌  相关文章
📜  cv2.error: OpenCV(4.5.3) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-q3d_8t8e\opencv\modules\imgproc\src\color.cpp:182: 错误: (-215 :Assertion failed) !_src.empty() in function 'cv::cvtColor' - 无论代码示例

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

代码示例2
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