You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to clone this repo
$ workon cv
$ cd facedetection
$ python detect_face_video.py (important run the code on the folder where you extract the git)
This is the issue please help.
E:\Coding\py files\Face recog>C:/Python39/python.exe "e:/Coding/py files/Face recog/basics.py"
Traceback (most recent call last):
File "e:\Coding\py files\Face recog\basics.py", line 19, in
faces = face_cascade.detectMultiScale(gray, 1, 4)
cv2.error: OpenCV(4.4.0) C:\Users\abhis\AppData\Local\Temp\pip-install-1m9kd_3l\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
[ WARN:0] global C:\Users\abhis\AppData\Local\Temp\pip-install-1m9kd_3l\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
The text was updated successfully, but these errors were encountered: