-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Use face_recognition on raspberry, “segmentation fault” occurred #294
Comments
Similar to #119 |
cpu 100%,then segmentation fault. raspberry pi 3. |
seems to freeze the function "face_encodings" |
Do you found a solution for this? |
Any solution found for this? Been debugging for many hours now to no avail. |
Have you found the solution? I met the same problem |
Unfortunately I never found a solution to this, besides using some faster hardware. I'd love to hear if others have figured this out, though! |
I was experiencing the same problem, segmentation fault when calling the In my case, I set some environmental variables in my virtual environment to tell OpenBLAS to only use a single thread by doing the following:
add the following lines and save: By doing this, I was able to achieve ~15 fps of facial recognition in my application that was previously crashing on my pi. |
This solved my issue too. The Pi is now using only one CPU core instead of 4 but does not crash when calling face_encodings! |
I have the same issue, but I'm not working within a virtual environment, so where would i write
to? |
#python facerec_on_raspberry_pi.py
segmentation fault
The text was updated successfully, but these errors were encountered: