The application performs colour quantisation using the following steps:
- The image is reshaped into a 2D array of pixel values.
- User inputs K value, K-Means clustering groups similar colours.
- Each pixel is replaced with its cluster centroid (the average color of the cluster).
- The reduced colour palette produces a cartoon-style effect.
This reduces colour complexity while preserving major visual structures.
- Python
- OpenCV
- NumPy
- Tkinter
- K-Means Clustering


