FaceSDKResultCode
The enumeration contains result codes from Core lib.
Value | Name | Description |
---|---|---|
0 | FACER_OK |
No issues. The process completed successfully. |
1 | FR_IMAGE_EMPTY |
Cannot read image. The file may not be a valid image format or could be corrupted. |
2 | FR_FACE_NOT_DETECTED |
Face not detected. |
3 | FR_LANDMARKS_NOT_DETECTED |
Landmarks not detected. |
4 | FR_FACE_ALIGHNER_FAILED |
|
5 | FR_DESCRIPTOR_EXTRACTOR_ERROR |
|
6 | FR_IMAGE_DECODE_ERROR |
Cannot read image (for example, the image is corrupted). |
7 | FR_INTERNAL_ERROR |
|
199 | FACER_CONFIG_ERROR |
|
200 | FACER_NO_LICENSE |
No appropriate license. Please ensure that you have a valid license with the necessary features enabled and that your environment is correctly configured: Installation Guide |
201 | FACER_IS_NOT_INITIALIZED |
|
202 | FACER_COMMAND_IS_NOT_SUPPORTED |
Incorrect parameters in the request. Please check that your request corresponds to the specification. See OpenAPI Documentation |
203 | FACER_COMMAND_PARAMS_READ_ERROR |
Worker failed due to invalid request parameters. Please ensure that your request follows the correct format. See OpenAPI Documentation |
224 | FACER_LESS_THAN_TWO_IMAGES_IN_REQUEST |
While using Match, fewer than two images were provided. |
227 | FACER_VIDEO_DECODE_ERROR |
|
228 | FACER_NOT_ENOUGH_FRAMES |
|
229 | FACER_OUTPUT_IS_NOT_DEFINED |
|
230 | FACER_CLOSED_EYES_DETECTED |
|
231 | FACER_LOW_QUALITY |
|
232 | FACER_HIGH_ASYMMETRY |
|
233 | FACER_FACE_OVER_EMOTIONAL |
|
234 | FACER_SUNGLASSES_DETECTED |
|
235 | FACER_SMALL_AGE |
|
236 | FACER_HEADDRESS_DETECTED |
|
237 | FACER_FACES_NOT_MATCHED |
|
238 | FACER_IMAGES_COUNT_LIMIT_EXCEEDED |
For the Match function, only two images of the same type are allowed. |
239 | FACER_MEDICINE_MASK_DETECTED |
|
240 | FACER_OCCLUSION_DETECTED |
Liveness spoofing attempt detected. |
242 | FACER_FOREHEAD_GLASSES_DETECTED |
Liveness spoofing attempt detected. |
243 | FACER_MOUTH_OPENED |
Liveness spoofing attempt detected. |
244 | FACER_ART_MASK_DETECTED |
Liveness spoofing attempt detected. |
245 | FACER_ELECTRONIC_DEVICE_DETECTED |
Liveness spoofing attempt detected. |
246 | FACER_TRACK_BREAK |
Liveness spoofing attempt detected. |
247 | FACER_WRONG_GEO |
Liveness spoofing attempt detected. |
248 | FACER_WRONG_OF |
Liveness spoofing attempt detected. |
249 | FACER_WRONG_VIEW |
Liveness spoofing attempt detected. |
250 | FACER_TIMEOUT_LIVENESS_TRANSACTION |
The user did not complete the liveness verification within the allowed time. |
251 | FACER_FAILED_LIVENESS_TRANSACTION |
A system error occurred during the liveness verification process. |
252 | FACER_ABORTED_LIVENESS_TRANSACTION |
The user aborted the liveness verification process by clicking the Close button or exiting the application. |
253 | FACER_GENERAL_ERROR |
Liveness spoofing attempt detected. |
254 | FACER_PASSIVE_LIVENESS_FAIL |
Liveness spoofing attempt detected. |
255 | FACER_PRINTED_FACE_DETECTED |
Liveness spoofing attempt detected. |
Info
Additional Notes for Codes 240-249, 253-255
These result codes indicate that a liveness spoofing attempt was detected at different stages of the pipeline. They are used for debugging purposes and do not specify the actual reason for failing the liveness check.