Module Values.ComparedFaceSource

Provides face metadata for target image faces that are analyzed by CompareFaces and RecognizeCelebrities.

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

    Bounding box of the face.

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

    Level of confidence that what the bounding box contains is a face.

    *)
  3. landmarks : Landmarks.t option;
    (*

    An array of facial landmarks.

    *)
  4. pose : Pose.t option;
    (*

    Indicates the pose of the face as determined by its pitch, roll, and yaw.

    *)
  5. quality : ImageQuality.t option;
    (*

    Identifies face image brightness and sharpness.

    *)
  6. emotions : Emotions.t option;
    (*

    The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".

    *)
  7. smile : Smile.t option;
    (*

    Indicates whether or not the face is smiling, and the confidence level in the determination.

    *)
}
Sourceval make : ?boundingBox:??? -> ?confidence:??? -> ?landmarks:??? -> ?pose:??? -> ?quality:??? -> ?emotions:??? -> ?smile:??? -> unit -> t
Sourceval to_value : 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 ]
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