https://github.com/grinat/image_face_detector
Use dnn for detect face via rest api
https://github.com/grinat/image_face_detector
Last synced: 4 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:33:18.000Z (over 2 years ago)
- Last Synced: 2025-01-11T18:47:23.033Z (6 months ago)
- Language: Python
- Homepage: https://image-face-detector.herokuapp.com
- Size: 790 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
### image_face_detector
[](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
```