You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::DetectModerationLabelsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DetectModerationLabelsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  image: { # required
    bytes: "data",
    s3_object: {
      bucket: "S3Bucket",
      name: "S3ObjectName",
      version: "S3ObjectVersion",
    },
  },
  min_confidence: 1.0,
}

Instance Attribute Summary collapse

Instance Attribute Details

#imageTypes::Image

The input image as bytes or an S3 object.

Returns:

  • (Types::Image)

    The input image as bytes or an S3 object.

#min_confidenceFloat

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

If you don\'t specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

Returns:

  • (Float)

    Specifies the minimum confidence level for the labels to return.