We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Model Loaded. OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /Users/jenkins/miniconda/1/x64/conda-bld/work/opencv-3.1.0/modules/objdetect/src/cascadedetect.cpp, line 1639 Traceback (most recent call last): File "camera_reader.py", line 25, in facerect = cascade.detectMultiScale(frame_gray, scaleFactor=1.2, minNeighbors=3, minSize=(10, 10)) cv2.error: /Users/jenkins/miniconda/1/x64/conda-bld/work/opencv-3.1.0/modules/objdetect/src/cascadedetect.cpp:1639: error: (-215) !empty() in function detectMultiScale
Cleaned up camera.
The text was updated successfully, but these errors were encountered:
solution:
cascade_path = "/usr/local/opt/opencv/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml"
to my own xml file path.
Sorry, something went wrong.
yes i did the same
where to find that xml exactly? It's not in my current folder nor in my opencv folder
solved it. my opencv installed through my Anaconda, I found this xml file in there.
No branches or pull requests
Cleaned up camera.
The text was updated successfully, but these errors were encountered: