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.1.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for colorcluster-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2fa73ac5eef20bde32c6e47deda2de62dc44903da82aa7e4424501776c9880 |
|
MD5 | 328d2a63b932113b7a1caf472b0df24a |
|
BLAKE2b-256 | 7372d91c3a6f66ddf63ca864276da2de2a62d69740140d3012a05eb959e96885 |