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)


1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1294

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:



1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1294

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

#nameString

The name of the custom label.

Returns:

  • (String)


1294
1295
1296
1297
1298
1299
1300
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1294

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