Reducing Color of pictures by KMeans clustering.
The file path of the image to be processed.
Set the number of colors to be reduced. Default:8
Pop up the processed picture when descripted.
Set the file path of output picture. Default:"result.jpg"
Outputs the central color obtained by clustering in CSV format when descripted.
Set the file path of output of the above CSV file. Default:"array.csv"