Class: Aws::Rekognition::Types::DominantColor
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DominantColor
- Defined in:
- gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb
Overview
A description of the dominant colors in an image.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#blue ⇒ Integer
The Blue RGB value for a dominant color.
-
#css_color ⇒ String
The CSS color name of a dominant color.
-
#green ⇒ Integer
The Green RGB value for a dominant color.
-
#hex_code ⇒ String
The Hex code equivalent of the RGB values for a dominant color.
-
#pixel_percent ⇒ Float
The percentage of image pixels that have a given dominant color.
-
#red ⇒ Integer
The Red RGB value for a dominant color.
-
#simplified_color ⇒ String
One of 12 simplified color names applied to a dominant color.
Instance Attribute Details
#blue ⇒ Integer
The Blue RGB value for a dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |
#css_color ⇒ String
The CSS color name of a dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |
#green ⇒ Integer
The Green RGB value for a dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |
#hex_code ⇒ String
The Hex code equivalent of the RGB values for a dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |
#pixel_percent ⇒ Float
The percentage of image pixels that have a given dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |
#red ⇒ Integer
The Red RGB value for a dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |
#simplified_color ⇒ String
One of 12 simplified color names applied to a dominant color.
2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 2708 class DominantColor < Struct.new( :red, :blue, :green, :hex_code, :css_color, :simplified_color, :pixel_percent) SENSITIVE = [] include Aws::Structure end |