【文件属性】:
文件名称:color-quant:将很多颜色变成几种颜色
文件大小:1.37MB
文件格式:ZIP
更新时间:2021-05-18 05:17:58
raspberry-pi opencv leds machine-learning k-means-clustering
颜色定量
一个Python库,用于量化图像中的颜色。
它使用进行图像量化。
用法
python get_colors.py -k < n>
或者
from get_colors import get_colors
color_weights = get_colors ( 4 )
发展
依存关系
【文件预览】:
color-quant-master
----setup.py(245B)
----requirements.txt(145B)
----__init__.py(0B)
----README.md(548B)
----screenshot.png(1.37MB)
----color_quant()
--------__init__.py(0B)
--------utils.py(625B)
--------get_colors.py(2KB)