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

Class: Aws::Rekognition::Types::Sunglasses

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

Overview

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Level of confidence in the determination.

Returns:

  • (Float)


3048
3049
3050
3051
3052
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3048

class Sunglasses < Struct.new(
  :value,
  :confidence)
  include Aws::Structure
end

#valueBoolean

Boolean value that indicates whether the face is wearing sunglasses or not.

Returns:

  • (Boolean)


3048
3049
3050
3051
3052
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3048

class Sunglasses < Struct.new(
  :value,
  :confidence)
  include Aws::Structure
end