Enroll Face
Enroll Face
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Request Body
Name
Type
Description
//Face Enrolled
{
"status": true,
"data": {
"message": "FACE_ENROLLED_WITH_SUCCESS"
"enrolled": true
}
}
// Face Enrolled Failed
{
"status": false,
"data": {
"message": "FACE_ENROLLMENT_FAILED",
"reason": "No faces found on 'photo'"
}
}
//Face Already Detected
{
"status": false,
"data": {
"message": "FACE_ALREADY_DETECTED_ON_GALLERY",
"detectedId": "5be3000bd3adgd3e152724f2",
"confidence": 0.8,
"alreadyExists": true
}
}Last updated
Was this helpful?