Class: Aws::Rekognition::Types::DetectModerationLabelsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DetectModerationLabelsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#human_loop_config ⇒ Types::HumanLoopConfig
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
-
#image ⇒ Types::Image
The input image as base64-encoded bytes or an S3 object.
-
#min_confidence ⇒ Float
Specifies the minimum confidence level for the labels to return.
-
#project_version ⇒ String
Identifier for the custom adapter.
Instance Attribute Details
#human_loop_config ⇒ Types::HumanLoopConfig
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
2404 2405 2406 2407 2408 2409 2410 2411 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2404 class DetectModerationLabelsRequest < Struct.new( :image, :min_confidence, :human_loop_config, :project_version) SENSITIVE = [] include Aws::Structure end |
#image ⇒ Types::Image
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
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.
2404 2405 2406 2407 2408 2409 2410 2411 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2404 class DetectModerationLabelsRequest < Struct.new( :image, :min_confidence, :human_loop_config, :project_version) SENSITIVE = [] 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.
2404 2405 2406 2407 2408 2409 2410 2411 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2404 class DetectModerationLabelsRequest < Struct.new( :image, :min_confidence, :human_loop_config, :project_version) SENSITIVE = [] include Aws::Structure end |
#project_version ⇒ String
Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
2404 2405 2406 2407 2408 2409 2410 2411 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2404 class DetectModerationLabelsRequest < Struct.new( :image, :min_confidence, :human_loop_config, :project_version) SENSITIVE = [] include Aws::Structure end |