Face Feature Extraction Service
Introduction
The Face Feature Extraction Service (Face Server) is a standalone backend that runs on a CentOS server. It exposes an HTTP API: you upload a photo containing a face, and the service returns a cropped face thumbnail and the corresponding feature vector (feature value).
This is useful when you manage user photos on a PC or cloud backend and need to prepare data for VF-series DejaOS face devices (Linux-based; not Android face terminals). Typical workflows:
- Upload a large high-resolution photo (e.g. several MB); receive a small cropped face image (~20 KB) for faster download to devices.
- Convert photos into 1024-byte feature vectors and push only the vectors to devices — less bandwidth and no need to store portrait photos on the device.
For concepts such as feature vectors and registration, see Facial Recognition Development Overview.
Deployment Overview
| Item | Requirement |
|---|---|
| OS | CentOS 7.x |
| Install path | /root/face (fixed) |
| HTTP port | 9001 (must be open) |
| Compatible devices | VF-series face products (DejaOS / Linux), excluding Android models |
After installation, start the crop/feature service with run.sh under /root/face/bin/. On first launch you may need a License file (server ID is shown in the console; contact your administrator). See the package README for environment variables (LD_LIBRARY_PATH, FACEIDSDKPATH) and startup details.
Download: FaceServer_dejaos.zip
HTTP API
Endpoint: POST http://<server-ip>:9001/dxdop/webadmin/face/clipper
Request: multipart/form-data with field file — the image to process.
Response (success example):
{
"code": 1,
"msg": "