Update README.md

docker demo added in api section
This commit is contained in:
Sefik Ilkin Serengil 2025-03-05 14:38:31 +00:00 committed by GitHub
parent ce2584bfca
commit 020c9d2b08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,13 +351,16 @@ DeepFace.stream(
)
```
**API** - [`Demo`](https://youtu.be/HeKCQ6U9XmI)
**API** - [`Demo`](https://youtu.be/HeKCQ6U9XmI), [`Docker Demo`](https://youtu.be/9Tk9lRQareA)
DeepFace serves an API as well - see [`api folder`](https://github.com/serengil/deepface/tree/master/deepface/api/src) for more details. You can clone deepface source code and run the api with the following command. It will use gunicorn server to get a rest service up. In this way, you can call deepface from an external system such as mobile app or web.
```shell
cd scripts
cd script
./service.sh
# or run the service via docker
# ./dockerize.sh
```
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/deepface-api.jpg" width="90%" height="90%"></p>