Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

¿Error cuando la cámara no tiene luz? #4

Open
gonzafernan opened this issue May 15, 2019 · 1 comment
Open

¿Error cuando la cámara no tiene luz? #4

gonzafernan opened this issue May 15, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@gonzafernan
Copy link
Collaborator

gonzafernan commented May 15, 2019

Hago este issue solo para tenerlo en cuenta si el programa lanza el mismo error en algún momento.

Estaba ejecutando el programa en la raspberry (el puerto serie ya está funcionando), y devolvió el siguiente error:

OpenCV(3.4.1) Error: Assertion failed (total() == 0 || data != __null) in Mat, file /home/pi/opencv-3.4.1/modules/core/include/opencv2/core/mat.inl.hpp, line 500
Traceback (most recent call last):
  File "main.py", line 25, in <module>
    ret, frame = cap.read()
cv2.error: OpenCV(3.4.1) /home/pi/opencv-3.4.1/modules/core/include/opencv2/core/mat.inl.hpp:500: error: (-215) total() == 0 || data != __null in function Mat

Asumí que el error se produce cuando la cámara no recibe luz, porque al cambiar de posición funciona, tiene sentido?

@gonzafernan gonzafernan added the bug Something isn't working label May 15, 2019
@FrancoPalau
Copy link
Owner

No tengo idea de eso. Dejo el issue abierto hasta que lo probemos con todo el sistema real y veamos que pasa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants