Skip to content

BoundingBox

Source code in docs_src/capo_rekognition/types/bounding_box.py
class BoundingBox(TypedDict, closed=True):
    width: NotRequired["capo_rekognition.types.float.Float"]
    """<p>Width of the bounding box as a ratio of the overall image width.</p>"""
    height: NotRequired["capo_rekognition.types.float.Float"]
    """<p>Height of the bounding box as a ratio of the overall image height.</p>"""
    left: NotRequired["capo_rekognition.types.float.Float"]
    """<p>Left coordinate of the bounding box as a ratio of overall image width.</p>"""
    top: NotRequired["capo_rekognition.types.float.Float"]
    """<p>Top coordinate of the bounding box as a ratio of overall image height.</p>"""

height instance-attribute

height: NotRequired[Float]

Height of the bounding box as a ratio of the overall image height.

left instance-attribute

left: NotRequired[Float]

Left coordinate of the bounding box as a ratio of overall image width.

top instance-attribute

top: NotRequired[Float]

Top coordinate of the bounding box as a ratio of overall image height.

width instance-attribute

width: NotRequired[Float]

Width of the bounding box as a ratio of the overall image width.