Skip to content

DetectLabelsImageProperties

Source code in docs_src/capo_rekognition/types/detect_labels_image_properties.py
class DetectLabelsImageProperties(TypedDict, closed=True):
    quality: NotRequired[
        "capo_rekognition.types.detect_labels_image_quality.DetectLabelsImageQuality"
    ]
    """<p>Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.</p>"""
    dominant_colors: NotRequired[
        "capo_rekognition.types.dominant_colors.DominantColors"
    ]
    """<p>Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).</p>"""
    foreground: NotRequired[
        "capo_rekognition.types.detect_labels_image_foreground.DetectLabelsImageForeground"
    ]
    """<p>Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.</p>"""
    background: NotRequired[
        "capo_rekognition.types.detect_labels_image_background.DetectLabelsImageBackground"
    ]
    """<p>Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.</p>"""

background instance-attribute

background: NotRequired[DetectLabelsImageBackground]

Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.

dominant_colors instance-attribute

dominant_colors: NotRequired[DominantColors]

Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).

foreground instance-attribute

foreground: NotRequired[DetectLabelsImageForeground]

Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.

quality instance-attribute

quality: NotRequired[DetectLabelsImageQuality]

Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.