Using a Yolov8-Based Object Detection Model for an Automatic Garbage Sorting System
DOI:
https://doi.org/10.37934/aram.126.1.2432Keywords:
Conveyor tracking, Gantry robot, YOLOv8 real-time object detection, Computer visionAbstract
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.