Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DetectLabelsResponse

import type { DetectLabelsResponse } from "https://aws-api.deno.dev/v0.4/services/rekognition.ts?docs=full";
interface DetectLabelsResponse {
ImageProperties?: DetectLabelsImageProperties | null;
LabelModelVersion?: string | null;
Labels?: Label[] | null;
OrientationCorrection?: OrientationCorrection | null;
}

§Properties

§
ImageProperties?: DetectLabelsImageProperties | null
[src]

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

§
LabelModelVersion?: string | null
[src]

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

§
Labels?: Label[] | null
[src]

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

§
OrientationCorrection?: OrientationCorrection | null
[src]

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.