Module Values.ComparedSourceImageFaceSource

Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.

Sourcetype nonrec t = {
  1. boundingBox : BoundingBox.t option;
    (*

    Bounding box of the face.

    *)
  2. confidence : Percent.t option;
    (*

    Confidence level that the selected bounding box contains a face.

    *)
}
Sourceval make : ?boundingBox:??? -> ?confidence:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t