TrashNet: An object detection model that classifies images of trash in real-time

Authors

  • Veerrohit Veeravadivel Santhanalakshmi The Quarry Lane School
  • Hieu Nguyen

DOI:

https://doi.org/10.47611/jsrhs.v13i2.6533

Keywords:

Image Detection, Computer Vision, Trash Classification, YOLOv5, Computer Science, Artificial Intelligence, CNN

Abstract

Global warming and pollution are huge problems today. One of the main factors behind these two problems is plastic pollution. As plastic takes millennia to decompose, an estimated 270,000 tons of plastic are floating around our oceans, which is too much to be considered “safe.” This problem is mainly caused by the fact that people improperly dispose of plastic, whether that be through littering or putting it into the trash instead of a recycling bin. To better identify and correct plastic that was inappropriately disposed of, a deep-learning model (YOLOv5) that uses object detection and classification was implemented to detect which bin someone’s trash should go in. The YOLOv5 uses the PyTorch framework for the object detection model. Using this model helped solve this problem, as a custom object-detection model would have needed to be developed, which would not have been efficient. The model was tested by trying to run the model on pieces of trash placed on a tabletop and analyzing the code output on which trash bin the waste will have to be thrown away. After conducting multiple tests, the model exhibited a commendable accuracy rate of 90%, which is noteworthy given the substantial amount of data leveraged. To further improve its efficacy and real-world value, future research could explore augmenting the training data, refining the object detection model for greater precision, and expanding the dataset to encompass a broader range of use cases.

Downloads

Download data is not yet available.

References or Bibliography

Alsubaei, F. S., et al. (2022). Deep Learning-Based Small Object Detection and Classification Model for Garbage Waste Management in Smart Cities and IOT Environment. MDPI. https://www.mdpi.com/2076-3417/12/5/2281

Baechler, N. (2018, February 12). ‘WISHFUL RECYCLING’: MORE HARM THAN GOOD. School of Marine and Environmental Affairs. https://smea.uw.edu/currents/wishful-recycling-more-harm-than-good/

Brenner, L. (2019, March 2). The Effects of Not Recycling. Sciencing. https://sciencing.com/effects-not-recycling-4827369.html

Cchangcs. (2018, November 24). Garbage Classification. Kaggle. https://www.kaggle.com/datasets/asdasdasasdas/garbage-classification

Dan. (2022, January 25). The Compounding Effects of Not Recycling. Napa Recycling and Waste Services. https://naparecycling.com/the-compounding-effects-of-not-recycling/

Environmental Protection Agency. (n.d.). The U.S. Recycling System. EPA. https://www.epa.gov/circulareconomy/us-recycling-system

Kothari, A. (2023, May 31). Top 11 Frameworks in the AI World. Geekflare. https://geekflare.com/ai-frameworks/

Lebiedzinski, P. (2021, June 24). A Single Number Metric for Evaluating Object Detection Models. Medium, Towards Data Science. https://towardsdatascience.com/a-single-number-metric-for-evaluating-object-detection-models-c97f4a98616d

Multiple Authors (n.d.). TensorFlow: A system for large-scale machine learning. Google Research. https://research.google/pubs/pub45381/

Multiple Authors (2019, December 3). PyTorch: An Imperative Style, High-Performance Deep Learning Library. ArXiv. https://arxiv.org/abs/1912.01703

Ocampo, J. (2018, August 29). Americans Are Terrible at Recycling - This Is What Happens When You Put Something in the Wrong Bin. Mic. https://www.mic.com/articles/190974/americans-are-terrible-at-recycling-this-is-what-happens-when-you-put-something-in-the-wrong-bin

ResearchGate. (n.d.). YOLO v5 Architecture Overview. ResearchGate. https://www.researchgate.net/figure/YOLO-v5-Architecture-Overview-3_fig2_351355008

Rowe, K. (2022, March 22). 5 Effects of Not Recycling Properly. CivilDigital. https://civildigital.com/5-effects-of-not-recycling-properly/

S, V. V. (2021, April 22). Top 15 Machine Learning (ML) Frameworks to Know in 2023. Mindmajix Technologies Inc. https://mindmajix.com/machine-learning-frameworks

Ultralytics (n.d.). Ultralytics YOLOv5 Architecture. Ultralytics YOLO. https://docs.ultralytics.com/yolov5/tutorials/architecture_description/

Veeravadivel, V., & Nguyen, H. (2023). TrashNet: A Set of Annotated Images of Trash That Can Be Used for Object Detection Object Detection Dataset and Pre-Trained Model by Polygence Project. Roboflow. https://universe.roboflow.com/polygence-project/trashnet-a-set-of-annotated-images-of-trash-that-can-be-used-for-object-detection

Vogel Disposal Services. (2019, July 15). What Happens When The Wrong Things Go Into Recycling? https://www.vogeldisposal.com/vogel-disposal-news/what-happens-when-the-wrong-things-go-into-recycling-4022

Yohanandan, S. (2020, June 9). Map (Mean Average Precision) Might Confuse You! Medium, Towards Data Science. https://towardsdatascience.com/map-mean-average-precision-might-confuse-you-5956f1bfa9e2

Published

05-31-2024

How to Cite

Veeravadivel Santhanalakshmi, V., & Nguyen, H. (2024). TrashNet: An object detection model that classifies images of trash in real-time. Journal of Student Research, 13(2). https://doi.org/10.47611/jsrhs.v13i2.6533

Issue

Section

HS Research Projects