Module Values.CelebritySource

Provides information about a celebrity recognized by the RecognizeCelebrities operation.

Sourcetype nonrec t = {
  1. urls : Urls.t option;
    (*

    An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.

    *)
  2. name : String_.t option;
    (*

    The name of the celebrity.

    *)
  3. id : RekognitionUniqueId.t option;
    (*

    A unique identifier for the celebrity.

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

    Provides information about the celebrity's face, such as its location on the image.

    *)
  5. matchConfidence : Percent.t option;
    (*

    The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.

    *)
  6. knownGender : KnownGender.t option;
}
Sourceval make : ?urls:??? -> ?name:??? -> ?id:??? -> ?face:??? -> ?matchConfidence:??? -> ?knownGender:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `List of [> `String of Url.t ] list | `String of String_.t | `Structure of (string * [> `Enum 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