coqnitics / colordetector / 0.1.1

Color Detector

5 Credit Royalty
Detect the dominant colors in an image using superpixel and clustering techniques
Python 3.x - Beta
API Calls - 1,563 Avg call duration - N/A
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn more
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an example

    "color_name": "gainsboro",
    "general_category": "White",
    "hex": "#cfd8f2",
    "ratio": 0.2972972972972973
    "color_name": "black",
    "general_category": "Black",
    "hex": "#0a0406",
    "ratio": 0.21621621621621623
    "color_name": "ivory_black",
    "general_category": "Black",
    "hex": "#302331",
    "ratio": 0.24324324324324328

Install and use


Install the Algorithmia CLI client by running:

curl -sSLf | sh

Then authenticate by running:

          $ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI install docs


    algo run coqnitics/colordetector/0.1.1 -d ' {"image":"","zoom_h":0,"zoom_w":0}' --timeout 300
CLI docs