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:



4576
4577
4578
4579
4580
4581
4582
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4576

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)


4576
4577
4578
4579
4580
4581
4582
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4576

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:



4576
4577
4578
4579
4580
4581
4582
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4576

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