Skip to content

Instance

Source code in docs_src/capo_rekognition/types/instance.py
class Instance(TypedDict, closed=True):
    bounding_box: NotRequired["capo_rekognition.types.bounding_box.BoundingBox"]
    """<p>The position of the label instance on the image.</p>"""
    confidence: NotRequired["capo_rekognition.types.percent.Percent"]
    """<p>The confidence that Amazon Rekognition has in the accuracy of the bounding box.</p>"""
    dominant_colors: NotRequired[
        "capo_rekognition.types.dominant_colors.DominantColors"
    ]
    """<p>The dominant colors found in an individual instance of a label.</p>"""

bounding_box instance-attribute

bounding_box: NotRequired[BoundingBox]

The position of the label instance on the image.

confidence instance-attribute

confidence: NotRequired[Percent]

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

dominant_colors instance-attribute

dominant_colors: NotRequired[DominantColors]

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