Colors From Image

(no tags)

    Algorithmia Platform License · Internet Access

    Run an Example

    {
      "main_color": [
        161,
        62,
        56
      ],
      "palette": [
        [
          166,
          72,
          66
        ],
        [
          232,
          217,
          213
        ],
        [
          215,
          163,
          164
        ],
        [
          75,
          38,
          36
        ]
      ]
    }

    Install & Use

    Use
    
    curl -X POST -d '["data://opencv/SampleImages/teapot.jpg",4]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/opencv/ColorsFromImage/0.1.0