Skip to content

DetectLabelsResponse

Source code in docs_src/capo_rekognition/types/detect_labels_response.py
class DetectLabelsResponse(TypedDict, closed=True):
    labels: NotRequired["capo_rekognition.types.labels.Labels"]
    """<p>An array of labels for the real-world objects detected. </p>"""
    orientation_correction: NotRequired[
        "capo_rekognition.types.orientation_correction.OrientationCorrection"
    ]
    """<p>The value of <code>OrientationCorrection</code> is always null.</p> <p>If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.</p> <p>Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated. </p>"""
    label_model_version: NotRequired["capo_rekognition.types.string.String"]
    """<p>Version number of the label detection model that was used to detect labels.</p>"""
    image_properties: NotRequired[
        "capo_rekognition.types.detect_labels_image_properties.DetectLabelsImageProperties"
    ]
    """<p>Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.</p>"""

image_properties instance-attribute

image_properties: NotRequired[DetectLabelsImageProperties]

Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.

label_model_version instance-attribute

label_model_version: NotRequired[String]

Version number of the label detection model that was used to detect labels.

labels instance-attribute

labels: NotRequired[Labels]

An array of labels for the real-world objects detected.

orientation_correction instance-attribute

orientation_correction: NotRequired[OrientationCorrection]

The value of OrientationCorrection is always null.

If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.

Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.