Skip to content

A machine learning project to classify waste types using Computer Vision. Built with Python and TensorFlow this tool aims to automate waste segregation to promote recycling and environmental sustainability. Includes model training scripts, inference code, and a pre-trained model.

Notifications You must be signed in to change notification settings

4rn4vk/GarbageClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

♻️ Garbage Classifier

Python Framework License Status

πŸ“– Overview

Garbage Classifier is a deep learning project designed to classify waste into different categories (e.g., Cardboard, Glass, Metal, Paper, Plastic, Trash) using Computer Vision. Proper waste segregation is crucial for recycling and environmental conservation; this project automates that process using Convolutional Neural Networks (CNNs).

This repository contains the code for data preprocessing, model training, evaluation, and a prediction script to test the model on new images.

✨ Features

  • Multi-Class Classification: Identifies various types of waste (Plastic, Paper, Metal, Glass, etc.).
  • Deep Learning Model: Utilizes a custom CNN (or Transfer Learning via ResNet/MobileNet) for high accuracy.
  • Data Augmentation: Implements image processing techniques to improve model generalization.
  • Easy Inference: Simple script to classify images from your local machine.

πŸ“‚ Project Structure

GarbageClassifier/
β”œβ”€β”€ data/                   # Dataset folder (raw and processed images)
β”œβ”€β”€ models/                 # Saved model files (.h5, .pth)
β”œβ”€β”€ notebooks/              # Jupyter notebooks for exploration and training
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ preprocess.py       # Scripts for data augmentation and loading
β”‚   β”œβ”€β”€ train.py            # Main training script
β”‚   β”œβ”€β”€ predict.py          # Script for inference on new images
β”‚   └── utils.py            # Helper functions
β”œβ”€β”€ requirements.txt        # Python dependencies
β”œβ”€β”€ README.md               # Project documentation
└── LICENSE                 # License file

About

A machine learning project to classify waste types using Computer Vision. Built with Python and TensorFlow this tool aims to automate waste segregation to promote recycling and environmental sustainability. Includes model training scripts, inference code, and a pre-trained model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •