Class: Aws::Rekognition::Types::ModerationLabel
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::ModerationLabel
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Overview
Provides information about a single type of moderated content found in an image. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see image-moderation.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.
-
#name ⇒ String
The label name for the type of content detected in the image.
-
#parent_name ⇒ String
The name for the parent label.
Instance Attribute Details
#confidence ⇒ Float
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.
1150 1151 1152 1153 1154 1155 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1150 class ModerationLabel < Struct.new( :confidence, :name, :parent_name) include Aws::Structure end |
#name ⇒ String
The label name for the type of content detected in the image.
1150 1151 1152 1153 1154 1155 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1150 class ModerationLabel < Struct.new( :confidence, :name, :parent_name) include Aws::Structure end |
#parent_name ⇒ String
The name for the parent label. Labels at the top-level of the hierarchy have the parent label ‘“”`.
1150 1151 1152 1153 1154 1155 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1150 class ModerationLabel < Struct.new( :confidence, :name, :parent_name) include Aws::Structure end |