Skip to content

Image

Source code in docs_src/capo_rekognition/types/image.py
class Image(TypedDict, closed=True):
    bytes: NotRequired["capo_rekognition.types.image_blob.ImageBlob"]
    """<p>Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to <code>DetectCustomLabels</code> is 4MB. </p>"""
    s3_object: NotRequired["capo_rekognition.types.s3_object.S3Object"]
    """<p>Identifies an S3 object as the image source.</p>"""

bytes instance-attribute

bytes: NotRequired[ImageBlob]

Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.

s3_object instance-attribute

s3_object: NotRequired[S3Object]

Identifies an S3 object as the image source.