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

Not able to run on Windows system #3

Open
r4onlyrishabh opened this issue Jun 4, 2018 · 1 comment
Open

Not able to run on Windows system #3

r4onlyrishabh opened this issue Jun 4, 2018 · 1 comment

Comments

@r4onlyrishabh
Copy link

Hi,
I cloned your code and tried running on my system.
The system throws the following error:

C:>python D:\facenet-face-recognition-master\facenet.py
Using TensorFlow backend.
OpenCV Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale, file C:\ci\opencv_1512688052760\work\modules\objdetect\src\cascadedetect.cpp, line 1698
Traceback (most recent call last):
File "D:\facenet-face-recognition-master\facenet.py", line 199, in
webcam_face_recognizer(database)
File "D:\facenet-face-recognition-master\facenet.py", line 86, in webcam_face_recognizer
img = process_frame(img, frame, face_cascade)
File "D:\facenet-face-recognition-master\facenet.py", line 101, in process_frame
faces = face_cascade.detectMultiScale(gray, 1.3, 5)
cv2.error: C:\ci\opencv_1512688052760\work\modules\objdetect\src\cascadedetect.cpp:1698: error: (-215) !empty() in function cv::CascadeClassifier::detectMultiScale

Please help!

I tried searching on stackOverflow. Here is what i found!!

https://stackoverflow.com/questions/30508922/error-215-empty-in-function-detectmultiscale?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

But this doesnt seem to help out!

@Rohitgarg253
Copy link

Try running using Anaconda distribution with all the requirements installed.

Worked on mine.

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