This commit is contained in:
Sefik Ilkin Serengil 2023-01-05 14:05:11 +00:00 committed by GitHub
parent 50c8b24121
commit 9062912cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,8 +269,6 @@ Face recognition, facial attribute analysis and vector representation functions
**Dockerized Service** **Dockerized Service**
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/deepface-dockerized.jpg" width="50%" height="50%"></p>
You can deploy the deepface api on a kubernetes cluster with docker. The following shell script will serve deepface on `localhost:5000`. You need to re-configure the Dockerfile if you want to change the port. Then, even if you do not have a development environment, you will be able to consume deepface services. You can also access the inside of the docker image to run deepface related commands. Please follow the instructions in the shell script. You can deploy the deepface api on a kubernetes cluster with docker. The following shell script will serve deepface on `localhost:5000`. You need to re-configure the Dockerfile if you want to change the port. Then, even if you do not have a development environment, you will be able to consume deepface services. You can also access the inside of the docker image to run deepface related commands. Please follow the instructions in the shell script.
```shell ```shell
@ -278,6 +276,8 @@ cd scripts
./dockerize.sh ./dockerize.sh
``` ```
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/deepface-dockerized.jpg" width="50%" height="50%"></p>
**Command Line Interface** **Command Line Interface**
DeepFace comes with a command line interface as well. You are able to access its functions in command line as shown below. The command deepface expects the function name as 1st argument and function arguments thereafter. DeepFace comes with a command line interface as well. You are able to access its functions in command line as shown below. The command deepface expects the function name as 1st argument and function arguments thereafter.