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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file colorcluster-1.2.1.tar.gz.

File metadata

  • Download URL: colorcluster-1.2.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for colorcluster-1.2.1.tar.gz
Algorithm Hash digest
SHA256 f680ebd3f5f1dcd8bbc17d2f44eab823e51cb9f067606aa21eb8a5f05012bb7f
MD5 7fc5a1c8b0202fb3c853b12dfe87e9fb
BLAKE2b-256 bef11c27227b355e1076635a8ee75349c529b29ea3d8f87ed285fe5428c946ee

See more details on using hashes here.

File details

Details for the file colorcluster-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: colorcluster-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for colorcluster-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c2fa73ac5eef20bde32c6e47deda2de62dc44903da82aa7e4424501776c9880
MD5 328d2a63b932113b7a1caf472b0df24a
BLAKE2b-256 7372d91c3a6f66ddf63ca864276da2de2a62d69740140d3012a05eb959e96885

See more details on using hashes here.

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