DeepFace cannot analyze a lot of photos in one time.
First, install python version 3.8 (any subversion) for your OS version.
sudo apt-get update
sudo apt-get install python3-pip build-essential cmake libopenblas-dev liblapack-dev libx11-dev libgtk-3-dev python3-dev python3-pip
sudo apt install virtualenv
virtualenv --python=python3.8 venv
. venv/bin/activate
pip install dlib
pip install -r requirements.txt
- Start the virtual environment (if you haven't already).
python main.py
You can change input data in input/ directory. Result of working program saving at output/ directory.
If the program ends with the message "killed", then you don't have enough RAM for that many photos. In this case, delete unnecessary photos in the input/ directory.