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)


1282
1283
1284
1285
1286
1287
1288
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1282

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:



1282
1283
1284
1285
1286
1287
1288
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1282

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

#nameString

The name of the custom label.

Returns:

  • (String)


1282
1283
1284
1285
1286
1287
1288
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1282

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