/AWS1/CL_TEXEXPENSEDETECTION¶
An object used to store information about the Value or Label detected by Amazon Textract.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_text TYPE /AWS1/TEXSTRING /AWS1/TEXSTRING¶
The word or line of text recognized by Amazon Textract
io_geometry TYPE REF TO /AWS1/CL_TEXGEOMETRY /AWS1/CL_TEXGEOMETRY¶
Geometry
iv_confidence TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The confidence in detection, as a percentage
Queryable Attributes¶
Text¶
The word or line of text recognized by Amazon Textract
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEXT() |
Getter for TEXT, with configurable default |
ASK_TEXT() |
Getter for TEXT w/ exceptions if field has no value |
HAS_TEXT() |
Determine if TEXT has a value |
Geometry¶
Geometry
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GEOMETRY() |
Getter for GEOMETRY |
Confidence¶
The confidence in detection, as a percentage
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONFIDENCE() |
Getter for CONFIDENCE, with configurable default |
ASK_CONFIDENCE() |
Getter for CONFIDENCE w/ exceptions if field has no value |
STR_CONFIDENCE() |
String format for CONFIDENCE, with configurable default |
HAS_CONFIDENCE() |
Determine if CONFIDENCE has a value |