Open RiyanshKamboj opened 5 years ago
Traceback (most recent call last): File "C:\Users\DELL\Desktop\openCV.py", line 18, in faces=face_cascade.detectMultiScale(gray_img,scaleFactor=1.32,minNeighbors=5) cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1658: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
I don't know what to do in this phase!
did you check location of your cascade xml file?
Traceback (most recent call last): File "C:\Users\DELL\Desktop\openCV.py", line 18, in
faces=face_cascade.detectMultiScale(gray_img,scaleFactor=1.32,minNeighbors=5)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1658: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
I don't know what to do in this phase!