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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/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.



2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2392

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:



2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2392

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)


2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2392

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)


2392
2393
2394
2395
2396
2397
2398
2399
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2392

class DetectModerationLabelsRequest < Struct.new(
  :image,
  :min_confidence,
  :human_loop_config,
  :project_version)
  SENSITIVE = []
  include Aws::Structure
end