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

interface Instance {
    BoundingBox?: BoundingBox;
    Confidence?: number;
    DominantColors?: DominantColor[];
}

Properties

BoundingBox?: BoundingBox

The position of the label instance on the image.

Confidence?: number

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

DominantColors?: DominantColor[]

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