Module Values.RegionOfInterestSource

Specifies a location within the frame that Rekognition checks for objects of interest such as text, labels, or faces. It uses a BoundingBox or Polygon to set a region of the screen. A word, face, or label is included in the region if it is more than half in that region. If there is more than one region, the word, face, or label is compared with all regions of the screen. Any object of interest that is more than half in a region is kept in the results.

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

    The box representing a region of interest on screen.

    *)
  2. polygon : Polygon.t option;
    (*

    Specifies a shape made up of up to 10 Point objects to define a region of interest.

    *)
}
Sourceval make : ?boundingBox:??? -> ?polygon:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Float of Float_.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