Download the model of facenet, and put all the files into recognize/facenet_model
.
cp /path/to/unzip/dir/* recognize/facenet_model
First, build the docker container.
docker build -t face .
Then, run the docker.
docker run -it -p 5000:5000 face python app.py
First, install the python dependencies.
pip install -r requirements.txt
Then, run the webserver.
python app.py
Please implement the empty parts in detect/MtcnnDetector.py
and recognize/facenet.py