📅  最后修改于: 2022-03-11 14:59:08.130000             🧑  作者: Mango
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