Skip to content

CustomLabel

Source code in docs_src/capo_rekognition/types/custom_label.py
class CustomLabel(TypedDict, closed=True):
    name: NotRequired["capo_rekognition.types.string.String"]
    """<p>The name of the custom label.</p>"""
    confidence: NotRequired["capo_rekognition.types.percent.Percent"]
    """<p>The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.</p>"""
    geometry: NotRequired["capo_rekognition.types.geometry.Geometry"]
    """<p>The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.</p>"""

confidence instance-attribute

confidence: NotRequired[Percent]

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

geometry instance-attribute

geometry: NotRequired[Geometry]

The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

name instance-attribute

name: NotRequired[String]

The name of the custom label.