Skip to content

HashiruG/Kmeans-image-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kmeans Image compressor 🎨🗜️

Simple app that utilizes Kmeans clustering algorithm to compress images.

The notebook at Notebook/K-means.ipynb contains both a from-scratch implementation and a scikit-learn based implementation of the KMeans algorithm to help understand how it works.

Getting Started

  1. Clone the repository:
    git clone https://github.com/your-username/kmeans-image-compressor.git
    cd kmeans-image-compressor
  1. Create a virtual environment
    python -m venv venv
    source venv/bin/activate  
  1. Install dependencies
    pip install -r requirements.txt
  1. Run the app
    streamlit run main.py

Screenshots

App Screenshot

About

App that utilizes Kmeans clustering algorithems to compress given images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published