Reduce color of the picture
Project description
colorcluster
Reducing Color of pictures by KMeans clustering.
Options
input_fig_path
The file path of the image to be processed.
color_num
Set the number of colors to be reduced. Default:8
show_img
Pop up the processed picture when descripted.
export_fig_path
Set the file path of output picture. Default:"result.jpg"
export_color_array
Outputs the central color obtained by clustering in CSV format when descripted.
export_array_path
Set the file path of output of the above CSV file. Default:"array.csv"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colorcluster-1.2.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for colorcluster-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10878dba4801f3dd305b846dbe98436edbe37a3a4f9dc6b6bd9e4231dd65f221 |
|
MD5 | 99dcb00025b88fb88b38be4e5a4c3c9d |
|
BLAKE2b-256 | 302e0a1617c2b207db1c56e6db0d527f44016084b44429ac6248dae591d6238e |