Category : deepface

I have installed a basic python server with deepface library with apache2 on ubuntu. The library makes a .deepface directory on app initialization but it is unable to do so due to permission denied error as it’s hidden in linux by default. I am getting the following error File "/usr/local/lib/python3.8/dist-packages/deepface/commons/functions.py", line 51, in initializeFolder, referer: ..

Read more

I’m getting the import error when trying to run a deepface code for a project i’m working on Traceback (most recent call last): File "face.py", line 3, in <module> from deepface import DeepFace File "/home/pi/.local/lib/python3.7/site-packages/deepface/DeepFace.py", line 15, in <module> from deepface.basemodels import VGGFace, OpenFace, Facenet, Facenet512, FbDeepFace, DeepID, DlibWrapper, ArcFace, Boosting File "/home/pi/.local/lib/python3.7/site-packages/deepface/basemodels/VGGFace.py", line 9, ..

Read more

I am using Windows and Raspberry Pi4 to run my virtualenv. I’m using a virtual environment because deepface + OpenCV won’t run my code in my default python interpreter. Is there a way to run python script.py without having to run env/Scripts/activate.bat beforehand? or to set the virtualenv python interpreter as default instead? Solutions for ..

Read more