Class: Aws::Rekognition::Types::DetectModerationLabelsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DetectModerationLabelsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Overview
Note:
When making an API call, you may pass DetectModerationLabelsRequest data as a hash:
{
image: { # required
bytes: "data",
s3_object: {
bucket: "S3Bucket",
name: "S3ObjectName",
version: "S3ObjectVersion",
},
},
min_confidence: 1.0,
}
Instance Attribute Summary collapse
-
#image ⇒ Types::Image
The input image as bytes or an S3 object.
-
#min_confidence ⇒ Float
Specifies the minimum confidence level for the labels to return.
Instance Attribute Details
#image ⇒ Types::Image
The input image as bytes or an S3 object.
564 565 566 567 568 |
# File 'lib/aws-sdk-rekognition/types.rb', line 564 class DetectModerationLabelsRequest < Struct.new( :image, :min_confidence) include Aws::Structure end |
#min_confidence ⇒ Float
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.
564 565 566 567 568 |
# File 'lib/aws-sdk-rekognition/types.rb', line 564 class DetectModerationLabelsRequest < Struct.new( :image, :min_confidence) include Aws::Structure end |