Face Recognition API is a backend endpoint API that uses face recognition technology to detect and analyze faces in images.
git clone https://github.com/toolquarry/face-recognition-api
pip install virtualenv
cd face-recognition-api
virtualenv venv
cd face-recognition-api
source venv/bin/activate
pip install
python -m flask run
deactivate
cd face-recognition-api
venv\Scripts\activate
pip install
python -m flask run
deactivate
Once the app is running, we can test it with curl:
curl -X POST -F "image=@/dev/pictures/1/0.png" http://127.0.0.1:5000/face-recognition/num-faces