cv2 error in harcascade file #6
Unanswered
Naman065Malik
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make a face lock system for my AI (jarvis). Right now I am collecting samples of my face but there is a error:(-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale' . I tried to give exact location of harcascade_frontalface_default But pycharm is still giving error.
Traceback (most recent call last):

File "C:\Users\DELL\PycharmProjects\jarvisfulltry\samplegenerator.py", line 14, in
faces = detector.detectMultiScale(converted_image, 1.3, 5)
cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-ttbyx0jz\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
Please help me
Beta Was this translation helpful? Give feedback.
All reactions