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_box ⇒ Types::BoundingBox

The position of the label instance on the image.

Returns:



4678
4679
4680
4681
4682
4683
4684
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4678

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

#confidence ⇒ Float

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

Returns:

  • (Float)


4678
4679
4680
4681
4682
4683
4684
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4678

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

#dominant_colors ⇒ Array<Types::DominantColor>

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

Returns:



4678
4679
4680
4681
4682
4683
4684
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 4678

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