Drop Your Image Anywhere
Classification
Color Palette
Contours
Object Detection
Object Mask Detection
Text Detection
Search Image
Search by Color
Alignment Matrix
Images Differences
Images Distance
Contact Us

Color PaletteMore infos...

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

Syntax

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

Parameters

  • headers:
    • token
    • userName
  • body:
    • image : a string that contains an url or a buffer data encoded in base64.

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.

Samples

No samples.

Results

Code Snippetscurlpythonnodejsc

curl --location --request POST \ 'https://api.core.dev.ltutech.com/api/v2/image/colorPalette' \ --header 'userName: <your username>' \ --header 'token: <your token>' \ --header 'Accept: application/json' \ -d 'image=$IMGURL'
Json

JsonDepth 1234