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

Haarcascade Issue #1

Open
abhishekbiswas10770 opened this issue Nov 13, 2020 · 1 comment
Open

Haarcascade Issue #1

abhishekbiswas10770 opened this issue Nov 13, 2020 · 1 comment

Comments

@abhishekbiswas10770
Copy link

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

@Jacobprojects
Copy link

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)

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

No branches or pull requests

2 participants