Values.GetFaceLivenessSessionResultsResponseSourceRetrieves the results of a specific Face Liveness session. It requires the sessionId as input, which was created using CreateFaceLivenessSession. Returns the corresponding Face Liveness confidence score, a reference image that includes a face bounding box, and audit images that also contain face bounding boxes. The Face Liveness confidence score ranges from 0 to 100. The number of audit images returned by GetFaceLivenessSessionResults is defined by the AuditImagesLimit paramater when calling CreateFaceLivenessSession. Reference images are always returned when possible.
type nonrec t = {sessionId : LivenessSessionId.t option;The sessionId for which this request was called.
*)status : LivenessSessionStatus.t option;Represents a status corresponding to the state of the session. Possible statuses are: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, EXPIRED.
*)confidence : Percent.t option;Probabalistic confidence score for if the person in the given video was live, represented as a float value between 0 to 100.
*)referenceImage : AuditImage.t option;A high-quality image from the Face Liveness video that can be used for face comparison or search. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. In case the reference image is not returned, it's recommended to retry the Liveness check.
*)auditImages : AuditImages.t option;A set of images from the Face Liveness video that can be used for audit purposes. It includes a bounding box of the face and the Base64-encoded bytes that return an image. If the CreateFaceLivenessSession request included an OutputConfig argument, the image will be uploaded to an S3Object specified in the output configuration. If no Amazon S3 bucket is defined, raw bytes are sent instead.
*)challenge : Challenge.t option;Contains information regarding the challenge type used for the Face Liveness check.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerError of InternalServerError.t| `InvalidParameterException of InvalidParameterException.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `SessionNotFoundException of SessionNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `ProvisionedThroughputExceededException of unit
| `SessionNotFoundException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `ProvisionedThroughputExceededException of unit
| `SessionNotFoundException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Float of Percent.t
| `List of
[> `Structure of
(string
* [> `Blob of LivenessImageBlob.t
| `Structure of
(string * [> `Float of Float_.t | `String of S3Bucket.t ])
list ])
list ]
list
| `String of LivenessSessionId.t
| `Structure of
(string
* [> `Blob of LivenessImageBlob.t
| `Enum of string
| `String of Version.t
| `Structure of
(string * [> `Float of Float_.t | `String of S3Bucket.t ])
list ])
list ])
list ]