An intelligent waste classification system that uses deep learning to identify waste types such as plastic, paper, metal, glass, cardboard, and trash from images. Built using MobileNetV2 and Streamlit, this project aims to support smarter recycling and waste management.
๐ Overview
๐ฎ Upload an image of waste and the model will tell you if it's plastic, paper, metal, trash, glass, or cardboard.
๐ฏ Powered by Transfer Learning with MobileNetV2 .
๐ง Tech Stack
- Python, TensorFlow, Keras
- MobileNetV2 (Transfer Learning)
- OpenCV for image processing
- TrashNet dataset
๐ Features
- ๐ง High-accuracy image classification with MobileNetV2
- ๐ค Upload trash image and get prediction with class probability
- ๐ Confusion matrix & performance metrics
๐ฆ How to Use
- Clone the Repository
git clone https://github.com/dani8946/SmartWasteClassifier.git
cd SmartWasteClassifier
- Install Dependencies
pip install -r requirements.txt
- Run the App
streamlit run app.py
- Upload a Trash Image
View predicted class and confidence score instantly!
๐ Dataset
This model was trained on the TrashNet dataset.
- Categories:
cardboard
,glass
,metal
,paper
,plastic
,trash
- ๐ Dataset Source
- โ Accuracy: 73.96%
- ๐ Precision: 78.79%
- ๐ Recall: 70.18%
๐ Acknowledgements