/face-recognition-api

Face Recognition API is a backend endpoint API that uses face recognition technology to detect and analyze faces in images.

Primary LanguagePython

Face Recognation API

Face Recognition API is a backend endpoint API that uses face recognition technology to detect and analyze faces in images.

Setup

git clone https://github.com/toolquarry/face-recognition-api

pip install virtualenv

cd face-recognition-api

virtualenv venv

Run

On MacOs or Linux:

cd face-recognition-api

source venv/bin/activate

pip install

python -m flask run

deactivate

On Windows:

cd face-recognition-api

venv\Scripts\activate

pip install

python -m flask run

deactivate

Test

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

Notes

Issue with MacOS M1 Apple Silicon and Python 3.9