@@ -68,39 +68,40 @@ This repo offers APIs to enroll face, to search face, to see database, to clear
68
68
## How to run
69
69
70
70
### 1. System Requirements
71
- - CPU: 2 cores or more (Recommended: 2 cores)
72
- - RAM: 4 GB or more (Recommended: 8 GB )
73
- - HDD: 4 GB or more (Recommended: 8 GB )
74
- - OS: Ubuntu 20.04 or later
75
- - Dependency: OpenVINO™ Runtime (Version: 2022.3)
71
+ - ` CPU ` : ` 2 ` cores or more (Recommended: ` 2 ` cores)
72
+ - ` RAM ` : ` 4GB ` or more (Recommended: ` 8GB ` )
73
+ - ` HDD ` : ` 4GB ` or more (Recommended: ` 8GB ` )
74
+ - ` OS ` : ` Ubuntu 20.04 ` or later
75
+ - Dependency: ` OpenVINO™ ` Runtime (Version: ` 2022.3 ` )
76
76
77
77
### 2. Setup and Test
78
78
- Clone the project:
79
79
``` bash
80
- git clone https://github.com/kby-ai/FaceRecognition -Docker.git
80
+ git clone https://github.com/kby-ai/FaceSearch -Docker.git
81
81
```
82
82
- Download the model from Google Drive: [click here](https://drive.google.com/file/d/1ExXnc-QMVCFtGoP3xOkjoQFq56hO0PV0/view? usp=sharing)
83
83
` ` ` bash
84
- cd FaceRecognition -Docker
84
+ cd FaceSearch -Docker
85
85
86
86
wget --load-cookies /tmp/cookies.txt " https://docs.google.com/uc?export=download&confirm=$( wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate ' https://docs.google.com/uc?export=download&id=19vA7ZOlo19BcW8v4iCoCGahUEbgKCo48' -O- | sed -rn ' s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p' ) &id=19vA7ZOlo19BcW8v4iCoCGahUEbgKCo48" -O data.zip && rm -rf /tmp/cookies.txt
87
87
88
88
unzip data.zip
89
89
` ` `
90
90
- Build the ` Docker` image:
91
91
` ` ` bash
92
- sudo docker build --pull --rm -f Dockerfile -t kby-ai-face:latest .
92
+ sudo docker build --pull --rm -f Dockerfile -t kby-ai-face-search :latest .
93
93
` ` `
94
- - Run the ` Docker ` container:
94
+ - Get ` machine code `
95
95
` ` ` bash
96
- sudo docker run -v ./license.txt:/home/openvino/ kby-ai-face/license.txt -p 8081:8080 kby-ai-face
96
+ sudo docker run -e LICENSE= " xxxxx " kby-ai-face-search:latest
97
97
` ` `
98
- - Send us the ` machine code` and then we will give you a license key.
99
-
100
- After that, update the ` license.txt` file by overwriting the license key that you received. Then, run the ` Docker` container again.
101
-
98
+ - Send us the ` machine code` obtained.
102
99
! [image](https://github.com/user-attachments/assets/cb3590a3-2f68-4e68-8ae2-21522a222abc)
103
-
100
+ - Update the ` license.txt` file by overwriting the license key that you received from ` KBY-AI` team.
101
+ - Run the ` Docker` container:
102
+ ` ` ` bash
103
+ sudo docker run -v ./license.txt:/root/kby-ai-face/license.txt -p 8081:8080 -p 9001:9000 kby-ai-face-search:latest
104
+ ` ` `
104
105
! [image](https://github.com/user-attachments/assets/dd8e2ba2-2121-43e0-b8d9-fa0c2b10dc70)
105
106
106
107
# # About SDK
@@ -164,7 +165,7 @@ This repo offers APIs to enroll face, to search face, to see database, to clear
164
165
| 68 points facial landmark | float [68 * 2] | landmarks_68 |
165
166
| Face templates | unsigned char [2048] | templates |
166
167
167
- # ## 3. APIs
168
+ # ## 3. Main Functions
168
169
- Face Detection
169
170
170
171
The ` Face SDK` provides a single API for detecting faces, determining ` face orientation` (yaw, roll, pitch), assessing ` face quality` , detecting ` facial occlusion` , ` eye closure` , ` mouth opening` , and identifying ` facial landmarks` .
0 commit comments