Drop Your Image Anywhere
Classification
Color Palette
Contours
Image Quality
Object Detection
Object Mask Detection
Text Extraction
Search by Image
Search by Color
Images Alignment
Images Differences
Images Distance

Color PalettePick a sample or drop an image

Results

DetailsMore infos...

Returns the most prevalent colors and their percentage in an image.

Syntax

POST https://api.core.ltutech.com/v2/services/image/colorPalette

Parameters

  • headers:
    • authorization: your access token
  • body: the image is sent under binary or ASCII characters format in the body of a multipart form request
    • image : a binary image or a string that contains an url

To implement this feature in your project you need to be logged in. To know how to get your token you can consult the getToken documentation. Should you need a test account please contact us.

Code Snippetscurlpythonnodejsc

curl --request POST \ 'https://api.core.ltutech.com/v2/services/image/colorPalette' \ --header 'Authorization: Bearer <your token>' \ --header 'Accept: application/json' \ --form 'image=$IMGURL'
Do you like this functionality ?
Would you like to test with your own images in your own environment ?
To get your API Key and create a test account, please contact us.
Contact Us
Json

JsonDepth 1234