Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 670 Bytes

readme.md

File metadata and controls

26 lines (20 loc) · 670 Bytes

Face Changing Program

This program uses special tools like deepface, insightface, and face recognition to help you choose and change faces in a group picture.

Execution

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