Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.58 KB

README.md

File metadata and controls

70 lines (48 loc) · 1.58 KB

Status

Tests

pluckpalette

CLI tool that returns dominant colors given a local path to an image.

TOC
Demo

Single file processing

Demo

Flattened directory bulk

Demo

Setup tests

#!/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

Quick-start

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

Tools

  • pyscaffold
  • tox
  • scikit-learn
  • numpy

Acknowledgements

Test images, prior art, and inspo.

Art credits