colorcluster-1.2.1
توضیحات
Reduce color of the picture
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | colorcluster-1.2.1 |
| نام | colorcluster |
| نسخه کتابخانه | 1.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Yuki NAKAMURA |
| ایمیل نویسنده | naka_yk@live.jp |
| آدرس صفحه اصلی | https://github.com/yknaka/colorcluster |
| آدرس اینترنتی | https://pypi.org/project/colorcluster/ |
| مجوز | - |
# 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"
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
| - | numpy |
| - | scikit-learn |
| - | consoleoptions |
| - | Pillow |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl colorcluster-1.2.1:
pip install colorcluster-1.2.1.whl
نصب پکیج tar.gz colorcluster-1.2.1:
pip install colorcluster-1.2.1.tar.gz