Module Values.InstanceSource

An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).

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

    The position of the label instance on the image.

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

    The confidence that Amazon Rekognition has in the accuracy of the bounding box.

    *)
  3. dominantColors : DominantColors.t option;
    (*

    The dominant colors found in an individual instance of a label.

    *)
}
Sourceval make : ?boundingBox:??? -> ?confidence:??? -> ?dominantColors:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `List of [> `Structure of (string * [> `Float of Percent.t | `Integer of UInteger.t | `String of String_.t ]) list ] list | `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