Ejemplo: error: (-215: Error de afirmación)! _Src.empty () en la función ‘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
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)