sykamraju's picture
readme
6750932
---
title: Garbage Classifier Ui
emoji: πŸ‘
colorFrom: blue
colorTo: blue
sdk: gradio
sdk_version: 5.34.2
app_file: app.py
pinned: false
license: mit
short_description: Garbage Classifier UI
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# 🧠 Garbage Classifier UI
A real-world deep learning application that classifies garbage images into categories like **plastic**, **metal**, **cardboard**, etc.
This app uses a **custom-trained CNN model** to demonstrate computer vision for sustainability-related use cases. Powered by **TensorFlow** and deployed with **Streamlit** on Hugging Face Spaces.
πŸ”— **Live App**: [Click to open πŸš€](https://huggingface.co/spaces/sykamraju/garbage-classifier-ui)
πŸ”— **GitHub Repo**: [SykamRaju/Garbage-Classifier](https://github.com/SykamRaju/Garbage-Classifier)
---
## πŸ–ΌοΈ How it works
1. Upload an image of waste material (e.g. bottle, paper, can).
2. The backend model predicts the category.
3. The prediction and confidence score are displayed instantly.
---
## πŸ“¦ Tech Stack
- **Model**: TensorFlow (CNN trained on Garbage Classification dataset)
- **Frontend**: Streamlit
- **Deployment**: Hugging Face Spaces
- **Language**: Python
---
## πŸ“ Project Structure
.
β”œβ”€β”€ model/ # Saved Keras model
β”œβ”€β”€ src/
β”‚ └── app.py # Streamlit frontend app
β”œβ”€β”€ utils.py # Helper functions
β”œβ”€β”€ requirements.txt # Python dependencies
└── README.md # You're reading this πŸ™‚
yaml
Copy
Edit
---
## πŸ§ͺ Example Predictions
| Image | Predicted Class |
| ----------------------------------------------------------------------------------------------- | --------------- |
| ![Plastic](https://github.com/SykamRaju/Garbage-Classifier/raw/main/samples/plastic_sample.jpg) | `Plastic` |
| ![Metal](https://github.com/SykamRaju/Garbage-Classifier/raw/main/samples/metal_sample.jpg) | `Metal` |
---
## πŸ™‹β€β™‚οΈ About Me
Hi, I'm **Raju Sykam** β€” a full-stack developer and AI enthusiast with 20+ years of software experience.
I'm currently building a suite of AI projects in Python to showcase my skills.
πŸ”­ I also run [FreeAstrologyAPI.com](https://freeastrologyapi.com) and love math, astronomy, and stargazing!
---
## πŸ“œ License
This project is licensed under the MIT License.
---