Module Values.CompareFacesMatchSource

Provides information about a face in a target image that matches the source image face analyzed by CompareFaces. The Face property contains the bounding box of the face in the target image. The Similarity property is the confidence that the source image face matches the face in the bounding box.

Sourcetype nonrec t = {
  1. similarity : Percent.t option;
    (*

    Level of confidence that the faces match.

    *)
  2. face : ComparedFace.t option;
    (*

    Provides face metadata (bounding box and confidence that the bounding box actually contains a face).

    *)
}
Sourceval make : ?similarity:??? -> ?face:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `Structure of (string * [> `Float of Percent.t | `List of [> `Structure of (string * [> `Enum of string | `Float of Float_.t ]) list ] list | `Structure of (string * [> `Boolean of Boolean.t | `Float of Float_.t ]) list ]) 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