Facial Extraction
Service that performs facial detection and validation from an open or tokenized image.
Endpoint
POST /extractFacialHeaders
x-api-key
string
Yes
API key for access authorization.
family
string
No
Value: OnBoarding. Required when using the tracking service.
Request body
Content-Type: application/json
Parameters
tokenBuffer
string
Yes
Image encoded in Base64 or tokenized for facial detection.
tracking
object
No
Object representing the required tracking information.
tracking.extraData
string
No
Token generated by the SDK Mobile/Web. Contains tracking information tokenized with the Platform.
tracking.operationId
string
No
Operation identifier generated by the SDK Mobile/Web.
Request example
Responses
200 Success
Response parameters
serviceResultCode
integer
Code indicating the overall result of the service execution.
serviceResultLog
string
Descriptive field for the result or error message, if applicable.
serviceTime
string
Request processing time (milliseconds).
serviceFacialExtractionResult
string
JSON object representing the results of facial detection and validation. See Result fields.
serviceTransactionId
string
Transaction identifier associated with the request processed by the API.
Facial extraction result fields
faceConfidence
float
Indicates the confidence level of the evaluated face.
age
integer
Indicates the possible age detected.
glasses
string
Indicates glasses detection. Possible values: Eye (Glasses), None (None), Sun (Sunglasses)
gender
string
Returns the detected gender. Possible values: Male, Female, None (Undetermined)
iod
integer
Indicates the interpupillary distance.
Service Result Code
The serviceResultCode indicates the overall result of the service execution:
0
The service executed successfully; the module processed the request correctly.
200
Response example
400 Bad Request
401 Unauthorized
403 Forbidden
502 Bad Gateway
504 Gateway Timeout
Last updated