The implementation of Face Recognition is mainly based on Python 3.7.16 and PyTorch 1.12.1. To install all required dependencies:
$ pip install -r requirements.txt
ZYF completes the face recognition algorithm and displays it on the frontend page, completing the frontend-backend interaction. To run, enter in CMD
python app.py
ZYF completed packaging the project and uploading it to Docker. The specific operation commands are as follows:
docker build -t flask_pytorch .
docker run -it flask_pytorch