This program uses special tools like deepface, insightface, and face recognition to help you choose and change faces in a group picture.
Repo Setup
conda create --name Facechange python=3.7
conda activate Facechange
pip install -r requirements.txt
pip install gdown
mkdir data frames middleware models output static temp text text-box tmp detected-text
python setup/download_models.py
wget https://github.com/tesseract-ocr/tessdata/raw/main/eng.traineddata
gunzip eng.traineddata.gz
sudo mv -v eng.traineddata /usr/share/tesseract-ocr/4.00/tessdata/
Execution:
conda activate Facechange
python demo02-test-03.py