Skip to content

/AWS1/CL_REKCOMPAREDSRCIMAGE00

Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.

CONSTRUCTOR

IMPORTING

Optional arguments:

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

Bounding box of the face.

iv_confidence TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

Confidence level that the selected bounding box contains a face.


Queryable Attributes

BoundingBox

Bounding box of the face.

Accessible with the following methods

Method Description
GET_BOUNDINGBOX() Getter for BOUNDINGBOX

Confidence

Confidence level that the selected bounding box contains a face.

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