Module Values.PageClassificationSource

The class assigned to a Page object detected in an input document. Contains information regarding the predicted type/class of a document's page and the page number that the Page object was detected on.

Sourcetype nonrec t = {
  1. pageType : PredictionList.t option;
    (*

    The class, or document type, assigned to a detected Page object. The class, or document type, assigned to a detected Page object.

    *)
  2. pageNumber : PredictionList.t option;
    (*

    The page number the value was detected on, relative to Amazon Textract's starting position.

    *)
}
Sourceval make : ?pageType:??? -> ?pageNumber:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Float of Percent.t | `String of NonEmptyString.t ]) list ] 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