AWSRekognitionDominantColor
Objective-C
@interface AWSRekognitionDominantColor
Swift
class AWSRekognitionDominantColor
A description of the dominant colors in an image.
-
The Blue RGB value for a dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable blue;Swift
var blue: NSNumber? { get set } -
The CSS color name of a dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable CSSColor;Swift
var cssColor: String? { get set } -
The Green RGB value for a dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable green;Swift
var green: NSNumber? { get set } -
The Hex code equivalent of the RGB values for a dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable hexCode;Swift
var hexCode: String? { get set } -
The percentage of image pixels that have a given dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable pixelPercent;Swift
var pixelPercent: NSNumber? { get set } -
The Red RGB value for a dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable red;Swift
var red: NSNumber? { get set } -
One of 12 simplified color names applied to a dominant color.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable simplifiedColor;Swift
var simplifiedColor: String? { get set }
View on GitHub
Install in Dash
AWSRekognitionDominantColor Class Reference