AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Rekognition::Types::ModerationLabel

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

Overview

Provides information about a single type of unsafe content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

If you don\'t specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

Returns:

  • (Float)

    Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

#nameString

The label name for the type of unsafe content detected in the image.

Returns:

  • (String)

    The label name for the type of unsafe content detected in the image.

#parent_nameString

The name for the parent label. Labels at the top level of the hierarchy have the parent label "".

Returns:

  • (String)

    The name for the parent label.