Skip to content

A Python project for image compression using PCA and KMeans clustering, featuring a Streamlit web UI.

Notifications You must be signed in to change notification settings

roshan-acharya/Image-Compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Compressor

A Python project for image compression using PCA and KMeans clustering, featuring a Streamlit web UI.

Features

  • Compress images using Principal Component Analysis (PCA)
  • Compress images using KMeans clustering
  • Easy-to-use Streamlit interface
  • Organized code in separate folders for each method

Getting Started

  1. Clone the repository:

    git clone https://github.com/roshan-acharya/Image-Compressor.git
    cd Image-Compressor
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Streamlit app:

    cd KMeans
    streamlit run app.py
    cd PCA
    streamlit run app.py

Usage

  • Upload an image via the Streamlit UI.
  • Choose between PCA or KMeans compression.
  • Adjust parameters and download the compressed image.

Links


Author: Roshan Acharya
License: MIT

About

A Python project for image compression using PCA and KMeans clustering, featuring a Streamlit web UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published