/audio_and_image_compression

🔉🖼 Audio compression using Fast Fourier Transform and image compression using Singular Value Decomposition

Primary LanguageHTMLMIT LicenseMIT

Audio and Image compression 🗜

The projects includes implementation of Jacobi Eigenvalue Theorem, QR Algorithm, Singular Value Decomposition and Fast Fourier Transform to perform lossy image and audio compression.

Jacobi Eigenvalue Algorithm, QR Algorithm and Singular Value Decomposition have been implemented from scratch to get a better understanding on the working of such algorithms.

A web interface has been made to make the project more accessible to others.

Some part of the project is not on the web interface due to the heroku free dyno. The complete script is on other brnach

Demo 💻

Demo

Environment Variables ⚙

To run this project, you will need to add the following environment variables to a .env file

SECRETY_KEY - Secret key for the flask app

Run Locally 🚀

Clone the project

  git clone https://github.com/vinaykakkad/audio_and_image_compression.git

Creatre a virtual environment and activate

  python -m venv env

  env\Scripts\activate

Install dependencies

  pip install -r requirements.txt

Run locally using

  python app.py

Tech Stack 👨‍💻

Backend: Flask, numpy, scipy, matplotlib, plotly

Frontend: HTML, CSS, Bootstrap5

License 🔐

MIT