Class: Aws::Rekognition::Types::CustomLabel

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

Overview

A custom label detected in an image by a call to DetectCustomLabels.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

Returns:

  • (Float)


1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1197

class CustomLabel < Struct.new(
  :name,
  :confidence,
  :geometry)
  SENSITIVE = []
  include Aws::Structure
end

#geometryTypes::Geometry

The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

Returns:



1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1197

class CustomLabel < Struct.new(
  :name,
  :confidence,
  :geometry)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the custom label.

Returns:

  • (String)


1197
1198
1199
1200
1201
1202
1203
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1197

class CustomLabel < Struct.new(
  :name,
  :confidence,
  :geometry)
  SENSITIVE = []
  include Aws::Structure
end