https://github.com/lakshmankishore/imagecompression
Image compression web app built with help of PCA (ML algorithm).
https://github.com/lakshmankishore/imagecompression
bootstrap flask html-css-javascript ml-pca sklearn ui-gradient
Last synced: 8 months ago
JSON representation
Image compression web app built with help of PCA (ML algorithm).
- Host: GitHub
- URL: https://github.com/lakshmankishore/imagecompression
- Owner: LakshmanKishore
- Created: 2021-10-16T17:08:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-07T12:24:37.000Z (about 4 years ago)
- Last Synced: 2025-02-02T02:11:12.640Z (10 months ago)
- Topics: bootstrap, flask, html-css-javascript, ml-pca, sklearn, ui-gradient
- Language: Jupyter Notebook
- Homepage:
- Size: 722 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Compression
An end to end ML project.
I have used PCA(an unsupervised algorithm) to compress the image.
It takes the image from user and gives a compressed image.
## Tech Stack
**Client:** HTML,CSS,Bootstrap
**Server:** Flask
## Run Locally
Clone the project
```bash
git clone https://github.com/LakshmanKishore/imageCompression.git
```
Go to the project directory
```bash
cd my-project
```
Install dependencies
```bash
pip install -r requirements.txt
```
Start the server
```bash
python app.py
```
## Lessons Learned
I was able to learn more about PCA.
I was able to link the PCA to HTML with the help of flask.
I learnt more about linking the images with flask and HTML.
Learnt about adding a spinner(Loading symbol) in the web.
## Related
Here are some related projects
* [Color Name Prediction](https://github.com/LakshmanKishore/colorNamePrediction)
* [Loan Prediction](https://github.com/LakshmanKishore/loanPrediction)
* [Iris Classification](https://github.com/LakshmanKishore/irisClassification)
## You can watch the code live [here](https://lakshman-image.herokuapp.com/)