You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Rekognition::Types::Label

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

Overview

Structure containing details about the detected label, including name, and level of confidence.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Level of confidence.

Returns:

  • (Float)


1863
1864
1865
1866
1867
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1863

class Label < Struct.new(
  :name,
  :confidence)
  include Aws::Structure
end

#nameString

The name (label) of the object.

Returns:

  • (String)


1863
1864
1865
1866
1867
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 1863

class Label < Struct.new(
  :name,
  :confidence)
  include Aws::Structure
end