Using a Yolov8-Based Object Detection Model for an Automatic Garbage Sorting System

Authors

  • Quoc Thien Pham HUTECH Institute of Engineering, HUTECH University, Ho Chi Minh 72308, Vietnam
  • Lam Thanh Tuan Nguyen HUTECH Institute of Engineering, HUTECH University, Ho Chi Minh 72308, Vietnam
  • Quoc Van Nguyen HUTECH Institute of Engineering, HUTECH University, Ho Chi Minh 72308, Vietnam
  • Barlin Department of Mechanical Engineering, Universitas Sriwijaya, Jl. Palembang-Prabumulih KM. 32, Indralaya, Ogan Ilir 30662, Indonesia
  • Sheng-En Lu Department of Mechanical Engineering, Southern Taiwan University of Science and Technology, Tainan 710, Taiwan
  • Nai-Shang Liou Department of Mechanical Engineering, Southern Taiwan University of Science and Technology, Tainan 710, Taiwan

DOI:

https://doi.org/10.37934/aram.126.1.2432

Keywords:

Conveyor tracking, Gantry robot, YOLOv8 real-time object detection, Computer vision

Abstract

This study presents the development of an automatic garbage sorting system based on computer vision techniques and the You Only Look Once version 8 (YOLOv8) algorithm. RGB images of garbage, including cans and plastic bottles, were collected by a camera. The YOLOv8 model, trained on a dataset of both RGB images of cans and plastic bottles, acts as the core for detection and classification. During real-time sorting, the classification results and picking points from the YOLOv8 model are used by a gantry robot. The gantry robot is developed and controlled by a Programmable Logic Controller (PLC) to place each type of garbage into its respective categories. A conveyor tracking algorithm was implemented to pick up garbage moving on the conveyor. The system's performance is evaluated using 20 garbage samples for the can and the plastic bottle category. The accuracy, precision, recall, and F1 score were 92.5%, 90.5%, 95%, and 92.7%, respectively. The system proposed in this study can be modified to sort other garbage types.

Author Biographies

Quoc Thien Pham, HUTECH Institute of Engineering, HUTECH University, Ho Chi Minh 72308, Vietnam

pq.thien@hutech.edu.vn

Lam Thanh Tuan Nguyen, HUTECH Institute of Engineering, HUTECH University, Ho Chi Minh 72308, Vietnam

thanhtuan232801@gmail.com

Quoc Van Nguyen, HUTECH Institute of Engineering, HUTECH University, Ho Chi Minh 72308, Vietnam

nv.quoc@hutech.edu.vn

Barlin, Department of Mechanical Engineering, Universitas Sriwijaya, Jl. Palembang-Prabumulih KM. 32, Indralaya, Ogan Ilir 30662, Indonesia

barlin@ft.unsri.ac.id

Sheng-En Lu, Department of Mechanical Engineering, Southern Taiwan University of Science and Technology, Tainan 710, Taiwan

4A912056@stust.edu.tw

Nai-Shang Liou, Department of Mechanical Engineering, Southern Taiwan University of Science and Technology, Tainan 710, Taiwan

nliou@stust.edu.tw

Downloads

Published

2024-10-30

How to Cite

Pham, Q. T. ., Nguyen, L. T. T. ., Nguyen, Q. V. ., Barlin, B., Lu, S.-E. ., & Liou, N.-S. . (2024). Using a Yolov8-Based Object Detection Model for an Automatic Garbage Sorting System. Journal of Advanced Research in Applied Mechanics, 126(1), 24–32. https://doi.org/10.37934/aram.126.1.2432

Issue

Section

Articles