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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rekognition/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#human_loop_configTypes::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

#imageTypes::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.

Returns:



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_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)


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_versionString

Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.

Returns:

  • (String)


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