Module Values.GeometrySource

Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.

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

    An axis-aligned coarse representation of the detected item's location on the image.

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

    Within the bounding box, a fine-grained polygon around the detected item.

    *)
}
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