public sealed class DominantColorsAnnotation : IMessage<DominantColorsAnnotation>, IEquatable<DominantColorsAnnotation>, IDeepCloneable<DominantColorsAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class DominantColorsAnnotation.
Set of dominant colors and their corresponding scores.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDominantColorsAnnotation\u003c/code\u003e class in the Google Cloud Vision v1 API provides a set of dominant colors and their corresponding scores.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Vision.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.Vision.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 3.7.0, but multiple previous versions are also documented, starting from 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDominantColorsAnnotation\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eColors\u003c/code\u003e property, of type \u003ccode\u003eRepeatedField<ColorInfo>\u003c/code\u003e, contains RGB color values along with their score and pixel fraction.\u003c/p\u003e\n"]]],[],null,[]]