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

DetectLabelsRequest

import type { DetectLabelsRequest } from "https://aws-api.deno.dev/v0.3/services/rekognition.ts?docs=full";
interface DetectLabelsRequest {
Image: Image;
MaxLabels?: number | null;
MinConfidence?: number | null;
}

§Properties

§
Image: Image
[src]

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

§
MaxLabels?: number | null
[src]

Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.

§
MinConfidence?: number | null
[src]

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.

If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 55 percent.