Module Values.ExpenseDetectionSource

An object used to store information about the Value or Label detected by Amazon Textract.

Sourcetype nonrec t = {
  1. text : String_.t option;
    (*

    The word or line of text recognized by Amazon Textract

    *)
  2. geometry : Geometry.t option;
  3. confidence : Percent.t option;
    (*

    The confidence in detection, as a percentage

    *)
}
Sourceval make : ?text:??? -> ?geometry:??? -> ?confidence:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `String of String_.t | `Structure of (string * [> `Float of Angle.t | `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `Structure of (string * [> `Float of Float_.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