Skip to content

kelvinabrokwa/color-quant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Quant

A Python library for quantizing the colors in an image.

It uses k-means clustering for image quantization.

Usage

python get_colors.py -k <n_clusters>

or

from get_colors import get_colors
color_weights = get_colors(4)

Developing

Dependencies

Releases

No releases published

Packages

No packages published

Languages