image-face-detector

by grinat

GitHub Readme.md

image_face_detector

Deploy

Rest api for face recognitions lib: https://github.com/ageitgey/face_recognition

Webcam example | Compare example

Swagger Docs

Usage

Run api on http://localhost:5001

docker run -d -p 5001:5001 grinat0/image_face_detector

Open http://localhost:5001/api/v1/docs/ and see avalaible methods

Open http://localhost:5001/static/webcam.html or Open http://localhost:5001/static/compare.html and see examples

Build, deploy, develop

Develop

pip3 install -r requirements.txt
make dev

Or with docker-compose

docker-compose up

Build docker image

make build-docker-image
make run-docker-image # run image

Without docker

pip3 install -r requirements.txt
make prod

Testing

make unittest

or

python -m unittest