Class: Aws::Rekognition::Types::Instance

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

Overview

An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_boxTypes::BoundingBox

The position of the label instance on the image.

Returns:



4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4589

class Instance < Struct.new(
  :bounding_box,
  :confidence,
  :dominant_colors)
  SENSITIVE = []
  include Aws::Structure
end

#confidenceFloat

The confidence that Amazon Rekognition has in the accuracy of the bounding box.

Returns:

  • (Float)


4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4589

class Instance < Struct.new(
  :bounding_box,
  :confidence,
  :dominant_colors)
  SENSITIVE = []
  include Aws::Structure
end

#dominant_colorsArray<Types::DominantColor>

The dominant colors found in an individual instance of a label.

Returns:



4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4589

class Instance < Struct.new(
  :bounding_box,
  :confidence,
  :dominant_colors)
  SENSITIVE = []
  include Aws::Structure
end