Skip to main content

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


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)

Uploaded Source

Built Distribution

colorcluster-1.2.1-py3-none-any.whl (1.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page