Skip to content

Geometry

Source code in docs_src/capo_rekognition/types/geometry.py
class Geometry(TypedDict, closed=True):
    bounding_box: NotRequired["capo_rekognition.types.bounding_box.BoundingBox"]
    """<p>An axis-aligned coarse representation of the detected item's location on the image.</p>"""
    polygon: NotRequired["capo_rekognition.types.polygon.Polygon"]
    """<p>Within the bounding box, a fine-grained polygon around the detected item.</p>"""

bounding_box instance-attribute

bounding_box: NotRequired[BoundingBox]

An axis-aligned coarse representation of the detected item's location on the image.

polygon instance-attribute

polygon: NotRequired[Polygon]

Within the bounding box, a fine-grained polygon around the detected item.