Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grinat/image_face_detector
Use dnn for detect face via rest api
https://github.com/grinat/image_face_detector
Last synced: about 2 months ago
JSON representation
Use dnn for detect face via rest api
- Host: GitHub
- URL: https://github.com/grinat/image_face_detector
- Owner: grinat
- Created: 2019-09-17T15:21:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:33:18.000Z (about 2 years ago)
- Last Synced: 2023-03-01T20:22:57.921Z (almost 2 years ago)
- Language: Python
- Homepage: https://image-face-detector.herokuapp.com
- Size: 790 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
### image_face_detector
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/grinat/image_face_detector)Rest api for face recognitions lib: [https://github.com/ageitgey/face_recognition](https://github.com/ageitgey/face_recognition)
[Webcam example](https://image-face-detector.herokuapp.com/static/webcam.html) | [Compare example](https://image-face-detector.herokuapp.com/static/compare.html)
[Swagger Docs](https://image-face-detector.herokuapp.com/api/v1/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 methodsOpen 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
```