Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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!