Home / Docs Center / Face Recognition API / Face Register
Face Register
Project: Face Recognition API | page_id: 54
Brief Description:
- Face registration. Supports registering a single face. If you need to register multiple faces, call this API in a loop (implement it yourself).
Request URL:
- [http://ip:3002/face/register](http://ip:3002/face/register)
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| auth | Yes | string | Check value (md5(device username + password)) |
| data | Yes | string | Face image data (base64 string) |
Response Example
{
"code": 0,
"msg": "",
"id": "-5735710698868684949",
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | int | >0 error code on failure, otherwise success |
| msg | string | Error message, present when code>0 |
| id | string | Face ID |
Notes
- auth value: for example, if the device login username is admin and the password is admin, then auth = md5(adminadmin)
Didn't find what you need?Contact us,Talk to our engineers directly.