Skip to content

/AWS1/CL_REKINSTANCE

An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).

CONSTRUCTOR

IMPORTING

Optional arguments:

io_boundingbox TYPE REF TO /AWS1/CL_REKBOUNDINGBOX /AWS1/CL_REKBOUNDINGBOX

The position of the label instance on the image.

iv_confidence TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The confidence that Amazon Rekognition has in the accuracy of the bounding box.

it_dominantcolors TYPE /AWS1/CL_REKDOMINANTCOLOR=>TT_DOMINANTCOLORS TT_DOMINANTCOLORS

The dominant colors found in an individual instance of a label.


Queryable Attributes

BoundingBox

The position of the label instance on the image.

Accessible with the following methods

Method Description
GET_BOUNDINGBOX() Getter for BOUNDINGBOX

Confidence

The confidence that Amazon Rekognition has in the accuracy of the bounding box.

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

DominantColors

The dominant colors found in an individual instance of a label.

Accessible with the following methods

Method Description
GET_DOMINANTCOLORS() Getter for DOMINANTCOLORS, with configurable default
ASK_DOMINANTCOLORS() Getter for DOMINANTCOLORS w/ exceptions if field has no valu
HAS_DOMINANTCOLORS() Determine if DOMINANTCOLORS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INSTANCES

TYPES TT_INSTANCES TYPE STANDARD TABLE OF REF TO /AWS1/CL_REKINSTANCE WITH DEFAULT KEY
.