CLI tool that returns dominant colors given a local path to an image.
Single file processing
Flattened directory bulk
#!/bin/bash
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
# `python3 -m tox -e {envname}` for specific tox pyenv environments (see tox.ini)
python3 -m tox
This assumes tests have been setup and .venv activated
#!/bin/bash
# image url https://github.com/figtreez/pluckpalette/blob/main/tests/data/02.png
python3 -m pip install -e .
pluckpalette -p tests/data/01.png
- pyscaffold
- tox
- scikit-learn
- numpy
Test images, prior art, and inspo.