Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

bitaculous/dolour

Repository files navigation

Extract the dominate colors from an image.

Install

  1. Clone the repository and switch to it:

    $ git clone git@github.com:bitaculous/dolour.git
    $ cd dolour
    
  2. Run bundle to install all dependencies with Bundler

Usage

Place the to be examined images into the images folder.

Tasks

Extract the dominate colors:

$ thor dolour:extract <COLOR_COUNT = 4>

Extract the dominate colors with Miro:

$ thor miro:extract <IMAGE> <COLOR_COUNT = 4>

Extract the dominate colors with Colorscore:

$ thor colorscore:extract <IMAGE> <COLOR_COUNT = 4>

Credits

All credit goes to Jon Buda for Miro and Milo Winningham for Colorscore, which both are used under the hood.

License

Dolour is released under the MIT License (MIT), see LICENSE.