An Automatic Prototype Segregation Waste Bin Based on Machine Learning

Authors

  • Warinthorn Nualtim Bansomdejchaopraya Rajabhat University
  • Phadoongkiand Yod
  • Amonrat Khambun
  • Sayan Puttala

Abstract

A great number of waste to recycle, such as bottles and cans, are mixed in the trash.  The segregation of wastes using a sensor has limitations when wastes are deformed, causing inaccurate results. This research proposed an automatic prototype waste segregation bin based on machine learning to detect the shape of waste using the YOLOv8 algorithm with a training dataset of images, and was used in a convolutional layer neural network architecture. It can extract multi-level features from the input image, which will have the function for object prediction.  To create a bounding box, it can use a confidence score for an object. The classified processing data of waste uses the Raspberry Pi board model 5, and controls the operation of the board drive model L298N. It supplies electricity to the stepper motor, which rotates the waste into the bin. The notification system will send an SMS message to the phone of the attendant when the trash reaches a set point by receiving values from the HC-RSO4 ultrasonic sensor. An automatic prototype waste segregation bin based on machine learning has test cases for four types of segregating waste. The average precision of regular-shaped bottles and cans were 86.7% and 96.7%. For bottles and cans of deformed shape were 70.0% and 86.7%, respectively. The results of regular-shaped bottles and cans were found to be better than deformed bottles and cans. Because shaped bottles and cans have complete annotations in the bounding box, which enables the trash bin to segregate waste efficiently. However, an automatic prototype waste segregation bin based on machine learning has a good segregating potential.

Author Biography

Warinthorn Nualtim, Bansomdejchaopraya Rajabhat University

Warinthorn Nualtim received the diploma in electronics from Thai-Austrian Technical College, Chonburi, Thailand (1999); the B.Tec.degree in electronics technology from Rajabhat Rajanagarindra University, Chachoengsao, Thailand (2002); and the M.S.degree in robotics and automation from Institute of Field Robotics (FIBO), King Mongkut's University of Technology Thonburi (KMUTT), Bangkok, Thailand (2007); and Ph.D. ~degrees in electrical and computer engineering from King Mongkut's University of Technology Thonburi (KMUTT), Bangkok, Thailand (2022). His main research interests are automation systems, robotics, image processing, computer vision, and machine learning

References

ทัศนธร ภูมิยุทธิ์. (2565). ขยะพลาสติก. ค้นจาก https://www.onep.go.th/ขยะพลาสติก/.

นวฤกษ์ ภัติศิริ, ภูริต ทองสลับ, ภานุศักดิ์ ญาณปัญญา, วรายุทธ เเท่นสอน, ณัฏฐดิตถ์ พีระพิฤกษ์ และปฏิมากร อ่อนศรี. (2563). เครื่องคัดเเยกขวดอัตโนมัติ. ค้นจาก https://elecschool.navy.mi.th/pro/doc63/01.pdf.

ENCORD BLOG. (2023). F1 Score in Machine Learning. Retrieved from https://encord.com/blog/f1-score-in-machine-learning/.

Dattawade, R. S., Havlakar, P., PR V., Khanum, U., and Segu, R. G. (2022). SMART WASTE SEGREGATION USING MACHINE LEARNING AND IOT TECHNIQUES. International Research Journal of Modernization in

Technology and Science, 4(7), 1051-1057. Retrieved from https://www.irjmets.com/uploadedfiles/

paper//issue_7_july_2022/27781/final/fin_irjmets1657461174.pdf

Geyer, R., Jambeck, J. R., and Law, K. L. (2017). Production use, and fate of all plastics ever made. Science Advances, 3(7), pp. 1-5. Retrieved from file:///C:/Users/nwari/Downloads/Production_use_and_fate

_of_all_plastics_ever_made%20(1).pdf

GitHub. (2025). Colab. Retrieved from https://colab.research.google.com/?utm_source=scs-index.

Roboflow. (2024). roboflow. Retrieved from https://app.roboflow.com/login.

James Gallagher. (2023). How to Identify Mislabeled Images in Computer Vision Datasets. Roboflow Blog. Retrieved from https://blog.roboflow.com/identify-mislabeled-images-computer-vision/

Lahoti, J., Sn, J., Krishna, M. V., Prasad, M., BS, R., Mysore, N., and Nayak, J. S. (2024). Multi-class waste segregation using computer vision and robotic arm. PeerJ Computer Science, 10(1), 1-20. doi: 10.7717/peerj-cs.1957

Paudel, P., Shrestha, S., Shrestha, S., Gurung, S., and Adhikari, S. (2024). Automated waste sorting with delta arm and yolov8 detection. Journal of Artificial Intelligence and Capsule Networks, 6(3), 299-315. doi: 10.36548/jaicn.2024.3.004

Pushbullet. (2020). Pushbullet API. Retrieved from https://www.pushbullet.com/.

Raspberry Pi. (2025). Raspberry Pi 5. Retrieved from https://www.raspberrypi.com/products/raspberry-pi5/.

Qirui, Z., Dandan, L., and Kang, A. (2024). ESE-YOLOv8: A Novel Object Detection Algorithm for Safety Belt Detection during Working at Heights. Entropy, 26(7), 591-604.

Seth, Y., and Sivagami, M. (2025). Enhanced yolov8 object detection model for construction worker

safety using image transformations. IEEE Access, 13(1), 10582-10594.

Sohan, M., Ram, T. S., and Chirra, R. V. C. (2024). A review on yolov8 and its advancements. in Data Intelligence and Cognitive Informatics (pp.529-545), I. J. Jacob, S. Piramuthu, and P. Falkowski-Gilski, Eds. Singapore: Springer Nature Singapore.

Wahyutama, A. B., and Hwang, M. (2022). Yolo-based object detection for separate collection of recyclables and capacity monitoring of trash bins. Electronics, 11(9), 1323-1338.

Downloads

Published

2025-06-22