This endpoint takes a photo and returns the position of the face. The Xc and Yc fields specify the X and y coordinates of the center of the face, W specifies the width of the face, and an angle specifies the in-plane rotation angle of the face in degrees or notifies if no face is found. To detect faces, all you need to do is submit a JPG or PNG photo.
Request type: POST
End Point: https://apps.securedrecords.com/dotta-biometrics/api/Face/Detect
Parameters:
Header | Type | Description |
---|---|---|
Authorization | String(base64 key) | Base 64 conversion result of your public and private key in this format [PUBLIC_KEY]:[PRIVATE_KEY] |
Content-Type | multipart/formdata | Specifies the content type for request including file upload. |
Body | Type | Description |
---|---|---|
Photo | File Data(Blob string) | The file containing image of the face you wish to detect |
{
"status": true,
"message": "string",
"data": {
"errorCode": 0,
"errorMessage": "string",
"pointX": 0,
"pointY": 0,
"width": 0,
"padding": 0,
"angle": 0
}
}
{
"status": true,
"message": "string",
"errors": [
"string"
],
"traceId": "string"
}
Dotta