Skip to content

Atharva309/Waste_Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waste Image Classification Project

This project focuses on classifying trash images into multiple categories using deep learning models. It involves creating custom datasets, training models like MobileNet, ResNet, and YOLOv5, and evaluating their performance on various trash classification tasks.

Dataset

  1. Own Larger Dataset:
    • Created a comprehensive dataset containing images for trash classification.
    • Collected images from multiple sources, including the internet and existing datasets.

We used three main datasets for this project:

  1. Organic and Inorganic Waste Dataset:

    • Contains over 10,000 images categorized into organic and inorganic waste.
    • Used for binary classification between organic and inorganic trash.
  2. 7-Class Trash Dataset:

    • Categories: cardboard, paper, plastic, glass, e-waste, medical, and metal.
    • Consists of 600 images per class.
    • Collected from multiple sources, including:
  3. 11-Class Trash Dataset:

    • Categories: cardboard, paper, plastic, glass, e-waste, medical, metal, clothes, shoes, hazardous, and sanitary.
    • Contains between 3000 to 5000 images per class.
    • Collected from multiple sources, including:

Methodology

  1. Binary Classification (Organic/Inorganic Waste):

    • MobileNet: Achieved an accuracy of 0.795.
    • ResNet: Achieved an accuracy of 0.877.
  2. 7-Class Trash Classification:

    • ResNet: Achieved an accuracy of 0.912.
    • YOLOv5: Achieved an accuracy of 0.87 after 100 epochs.
  3. 11-Class Trash Classification:

    • YOLOv5: Achieved an accuracy of 0.82 after 35 epochs.

Results

The results for this project can be seen in the OUTPUT_OF_ALL.ipynb file.

The project demonstrates the potential of deep learning models for trash classification:

  • MobileNet and ResNet performed well for binary classification between organic and inorganic waste.
  • ResNet and YOLOv5 showed strong performance for the 7-class classification task, with YOLOv5 also proving effective for the more complex 11-class classification.
  • The results suggest that increasing the dataset size and diversity, along with further hyperparameter tuning, could improve accuracy and overall model performance.

Future Work

Future improvements could focus on:

  • Expanding the dataset with more diverse and real-world images.
  • Fine-tuning the models and experimenting with different architectures.
  • Implementing real-time trash classification for practical applications.

Conclusion

This project highlights the effectiveness of deep learning models for trash classification, which can be useful in environmental applications such as waste sorting and recycling. The results show promising accuracy levels and demonstrate the potential for further improvements.

References

About

Classification of Waste using image analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors