-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
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')
JuanMoreno013
Metadata
Metadata
Assignees
Labels
No labels