Dominant color extraction
An ML model that extracts the most prominent colors in an image
Overview
Use cases
API endpoints
Example API responses
Product image
API response
Last updated
{
"status": "success",
"version": "2.9.3",
"sha1": "f87f1c2e708b1111aa8aa99640efec02aaeb130b",
"request_uuid": "0e00fce5-19a5-4411-b161-6894f9a7ff8e",
"file_downloaded": "grahame-jenkins-p7tai9P7H-s-unsplash.jpg",
"dominant_colors": [
{
"color": "azure",
"hex": "0980fb",
"pixels": 402721,
"ratio": 0.16,
"all": 2453760
}
],
"main_colors": [
"azure"
],
"main_colors_ratio": [
0.16
],
"main_colors_pixels": [
402721
],
"main_colors_hex": [
"0980fb"
]
}{
"status": "success",
"version": "2.9.3",
"sha1": "cb29b29a902db664cb3bcb83a593d5dc7e0ae06f",
"request_uuid": "e7ca3fd3-5561-4b48-adf3-4df8120e48c3",
"file_downloaded": "420799-MF-MELON_RED.jpg",
"dominant_colors": [
{
"color": "pink",
"hex": "ee6893",
"pixels": 293000,
"ratio": 0.05,
"all": 6220800
}
],
"main_colors": [
"pink"
],
"main_colors_ratio": [
0.05
],
"main_colors_pixels": [
293000
],
"main_colors_hex": [
"ee6893"
]
}