diff --git a/README.md b/README.md index 595453c..aae3fd3 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [](https://pepy.tech/project/deepface) [](https://github.com/serengil/deepface/stargazers) +[](https://hub.docker.com/r/serengil/deepface) [](https://github.com/serengil/deepface/blob/master/LICENSE) [](https://github.com/serengil/deepface/actions/workflows/tests.yml) [](https://doi.org/10.17671/gazibtd.1399077) @@ -363,34 +364,6 @@ cd scripts Face recognition, facial attribute analysis and vector representation functions are covered in the API. You are expected to call these functions as http post methods. Default service endpoints will be `http://localhost:5005/verify` for face recognition, `http://localhost:5005/analyze` for facial attribute analysis, and `http://localhost:5005/represent` for vector representation. The API accepts images as file uploads (via form data), or as exact image paths, URLs, or base64-encoded strings (via either JSON or form data), providing versatile options for different client requirements. [Here](https://github.com/serengil/deepface/tree/master/deepface/api/postman), you can find a postman project to find out how these methods should be called. -**Dockerized Service** - [`Demo`](https://youtu.be/9Tk9lRQareA) - -[](https://hub.docker.com/r/serengil/deepface) - -The following command set will serve deepface on `localhost:5005` via docker. Then, you will be able to consume deepface services such as verify, analyze and represent. Also, if you want to build the image by your own instead of pre-built image from docker hub, [Dockerfile](https://github.com/serengil/deepface/blob/master/Dockerfile) is available in the root folder of the project. - -```shell -# docker build -t serengil/deepface . # build docker image from Dockerfile -docker pull serengil/deepface # use pre-built docker image from docker hub -docker run -p 5005:5000 serengil/deepface -``` - -