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.

interface ComparedSourceImageFace {
    BoundingBox?: BoundingBox;
    Confidence?: number;
}

Properties

BoundingBox?: BoundingBox

Bounding box of the face.

Confidence?: number

Confidence level that the selected bounding box contains a face.