Skip to content
New issue

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

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

Already on GitHub? # to your account

Error al ejecutar el ejemplo #2

Open
mauroezequielbravo opened this issue Jul 4, 2021 · 0 comments
Open

Error al ejecutar el ejemplo #2

mauroezequielbravo opened this issue Jul 4, 2021 · 0 comments

Comments

@mauroezequielbravo
Copy link

mauroezequielbravo commented Jul 4, 2021

Para detectorRostro.py
Error:
Traceback (most recent call last): File "detectorRostro.py", line 13, in <module> maxSize=(200,200)) cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-t9hleyt8\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'

Solucion:
faceClassif = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant