

# DetectLabelsImagePropertiesSettings
<a name="API_DetectLabelsImagePropertiesSettings"></a>

Settings for the IMAGE\$1PROPERTIES feature type.

## Contents
<a name="API_DetectLabelsImagePropertiesSettings_Contents"></a>

 ** MaxDominantColors **   <a name="rekognition-Type-DetectLabelsImagePropertiesSettings-MaxDominantColors"></a>
The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.  
Type: Integer  
Valid Range: Minimum value of 0. Maximum value of 20.  
Required: No

## See Also
<a name="API_DetectLabelsImagePropertiesSettings_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/rekognition-2016-06-27/DetectLabelsImagePropertiesSettings) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/rekognition-2016-06-27/DetectLabelsImagePropertiesSettings) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/rekognition-2016-06-27/DetectLabelsImagePropertiesSettings) 