Module Values.PointSource

The X and Y coordinates of a point on a document page. The X and Y values that are returned are ratios of the overall document page size. For example, if the input document is 700 x 200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the document page. An array of Point objects, Polygon, is returned by DetectDocumentText. Polygon represents a fine-grained polygon around detected text. For more information, see Geometry in the Amazon Textract Developer Guide.

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

    The value of the X coordinate for a point on a Polygon.

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

    The value of the Y coordinate for a point on a Polygon.

    *)
}
Sourceval make : ?x:??? -> ?y:??? -> 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