Module Values.GeometrySource

Information about the location of items on a document page. For additional information, see Geometry in the Amazon Textract API reference.

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

    An axis-aligned coarse representation of the location of the recognized item on the document page.

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

    Within the bounding box, a fine-grained polygon around the recognized 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