Module Values.BoundingBoxSource

The bounding box around the detected page or around an element on a document page. The left (x-coordinate) and top (y-coordinate) are coordinates that represent the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0). For additional information, see BoundingBox in the Amazon Textract API reference.

Sourcetype nonrec t = {
  1. height : Float_.t option;
    (*

    The height of the bounding box as a ratio of the overall document page height.

    *)
  2. left : Float_.t option;
    (*

    The left coordinate of the bounding box as a ratio of overall document page width.

    *)
  3. top : Float_.t option;
    (*

    The top coordinate of the bounding box as a ratio of overall document page height.

    *)
  4. width : Float_.t option;
    (*

    The width of the bounding box as a ratio of the overall document page width.

    *)
}
Sourceval make : ?height:??? -> ?left:??? -> ?top:??? -> ?width:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Float_.t ]) 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