facerec_add_person
Create a face recognition person profile.
- Method:
POST - Path:
/facerec_add_person
Request Body
{
"person_id": "person-001",
"person_display_name": "Alex Carter",
"person_groups": ["employees"],
"person_images": [
{
"image": "<base64 image>",
"file_path": null,
"capture_time": "2025-03-17T22:27:33Z"
}
]
}
| Field | Type | Description |
|---|---|---|
person_id | string | Stable person identifier. |
person_display_name | string | Display name for the person. |
person_groups | string[] | Group IDs to associate with the person. |
person_images | object[] | Images used to build the person profile. |
person_images[].image | string | Base64-encoded image. Provide this or file_path. |
person_images[].file_path | string | File path to an image. Provide this or image. |
person_images[].capture_time | string | Capture time in ISO format. |
Success Response
{
"success": true,
"message": "person added",
"data": null
}