Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / priyankt68 / kmeans_image_compression
Public GitHub Catalog Discovered Sep 30, 2026

priyankt68 / kmeans_image_compression

The idea is to used Unsupervised learning technique, k-means clustering to reduce the size of the image. One utilises k-means clustering technique to cluster various colour which represent the image, or simplicitically, forms the basis for the image class. For an input image, k-means clustering results in just 16 colour representation of the image. The image on the right shows the lossy compression of the image with just 16 colours. Obviously one can change the number for the compressed representation but one has to take good care for the quality of the representation of the image. Initially, we test k-means on random data followed by image.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.

#18140777GitHub System ID
priyankt68Organization / User
PublicVisibility
ActiveCatalog Status

More from priyankt68

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.