A Deep Learning Approach to Plastic Bottle Waste Detection on the Water Surface using YOLOv6 and YOLOv7
Received: 28 September 2024 | Revised: 8 October 2024, 17 October 2024, and 28 October 2024 | Accepted: 29 October 2024 | Online: 2 December 2024
Corresponding author: Diva Kurnianingtyas
Abstract
Deep learning is a branch of machine learning with many layers, such as the You Only Look Once (YOLO) method. From various versions of YOLO, YOLOv6 and YOLOv7 are considered more prominent because they achieve high Mean Average Precision (mAP) values. Both versions of YOLO have been implemented into various problems, especially in the waste detection problem. Plastic bottle waste is one of the most common types of waste that pollutes Indonesian waters. This study aims to solve this problem by helping to sort waste in surface waters by applying YOLOv6 and YOLOv7. FloW-Img was used, obtained on request from the Orcaboat website. The dataset consists of 500,000 bottle objects in 2,000 images. The YOLOv6 and YOLOv7 models were evaluated using mAP and running time. The results show that YOLOv6 and YOLOv7 can handle bottle waste detection well, with mAP values of 0.873 and 0.512, respectively. In addition, YOLOv6 (4.21 m/s) has a higher detection speed than YOLOv7 (13.7 m/s). However, in tests with images that do not have bottle objects, YOLOv7 provides better detection accuracy and consistency results, making it more suitable for real-world applications that demand high accuracy in environments with much visual noise.
Keywords:
artificial intelligence, neural networks, computer vision, optimization, waste detectionDownloads
References
U. Diaa, "A Deep Learning Model to Inspect Image Forgery on SURF Keypoints of SLIC Segmented Regions," Engineering, Technology & Applied Science Research, vol. 14, no. 1, pp. 12549–12555, Feb. 2024.
L. Muflikhah, W. F. Mahmudy, and D. Kurnianingtyas, Machine Learning. Malang, Indonesia: Universitas Brawijaya Press, 2023.
P. Jiang, D. Ergu, F. Liu, Y. Cai, and B. Ma, "A Review of Yolo Algorithm Developments," Procedia Computer Science, vol. 199, pp. 1066–1073, Jan. 2022.
T. Saidani, "Deep Learning Approach: YOLOv5-based Custom Object Detection," Engineering, Technology & Applied Science Research, vol. 13, no. 6, pp. 12158–12163, Dec. 2023.
Z. Ge, S. Liu, F. Wang, Z. Li, and J. Sun, "YOLOX: Exceeding YOLO Series in 2021." arXiv, Aug. 06, 2021.
S. Xu et al., "PP-YOLOE: An evolved version of YOLO." arXiv, Dec. 12, 2022.
C. Li et al., "YOLOv6 v3.0: A Full-Scale Reloading." arXiv, Jan. 13, 2023.
A. Alayed, R. Alidrisi, E. Feras, S. Aboukozzana, and A. Alomayri, "Real-Time Inspection of Fire Safety Equipment using Computer Vision and Deep Learning," Engineering, Technology & Applied Science Research, vol. 14, no. 2, pp. 13290–13298, Apr. 2024.
C.-Y. Wang, A. Bochkovskiy, and H.-Y. M. Liao, "YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors," in 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, Jun. 2023, pp. 7464–7475.
E. Iren, "Comparison of YOLOv5 and YOLOv6 Models for Plant Leaf Disease Detection," Engineering, Technology & Applied Science Research, vol. 14, no. 2, pp. 13714–13719, Apr. 2024.
F. Hermens, "Automatic object detection for behavioural research using YOLOv8," Behavior Research Methods, vol. 56, no. 7, pp. 7307–7330, Oct. 2024.
N. I. M. Yusof, A. Sophian, H. F. M. Zaki, A. A. Bawono, A. H. Embong, and A. Ashraf, "Assessing the performance of YOLOv5, YOLOv6, and YOLOv7 in road defect detection and classification: a comparative study," Bulletin of Electrical Engineering and Informatics, vol. 13, no. 1, pp. 350–360, Feb. 2024.
Z. Zhang, X. Lu, G. Cao, Y. Yang, L. Jiao, and F. Liu, "ViT-YOLO:Transformer-Based YOLO for Object Detection," in 2021 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), Montreal, BC, Canada, Oct. 2021, pp. 2799–2808.
G. Widjaja and S. L. Gunawan, "Dampak Sampah Limbah Rumah Tangga Terhadap Kesehatan Lingkungan," Zahra: Journal of Health and Medical Research, vol. 2, no. 4, pp. 266–275, Nov. 2022.
P. di L. K. L. Hidup, "Kementerian Lingkungan Hidup dan Kehutanan," Jakarta: Kementerian Lingkungan Hidup dan Kehutanan, 2021.
N. P. Purba et al., "Marine debris in Indonesia: A review of research and status," Marine Pollution Bulletin, vol. 146, pp. 134–144, Sep. 2019.
P. Agamuthu, S. Mehran, A. Norkhairah, and A. Norkhairiyah, "Marine debris: A review of impacts and global initiatives," Waste Management & Research, vol. 37, no. 10, pp. 987–1002, Oct. 2019.
"Kementerian Kelautan dan Perikanan," 2024. [Online]. Available: https://kkp.go.id/download-pdf-akuntabilitas-kinerja/akuntabilitas-kinerja-pelaporan-kinerja-2024-pusdik-lkj-triwulan-i.pdf.
M. Tian, X. Li, S. Kong, L. Wu, and J. Yu, "A modified YOLOv4 detection method for a vision-based underwater garbage cleaning robot," Frontiers of Information Technology & Electronic Engineering, vol. 23, no. 8, pp. 1217–1228, Aug. 2022.
X. Li, M. Tian, S. Kong, L. Wu, and J. Yu, "A modified YOLOv3 detection method for vision-based water surface garbage capture robot," International Journal of Advanced Robotic Systems, vol. 17, no. 3, May 2020, Art. no. 1729881420932715.
S. Majchrowska et al., "Deep learning-based waste detection in natural and urban environments," Waste Management, vol. 138, pp. 274–284, Feb. 2022.
M. Malik et al., "Waste Classification for Sustainable Development Using Image Recognition with Deep Learning Neural Network Models," Sustainability, vol. 14, no. 12, Jan. 2022, Art. no. 7222.
Y. Cheng et al., "FloW: A Dataset and Benchmark for Floating Waste Detection in Inland Waters," in 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, Oct. 2021, pp. 10933–10942.
"Flow-Img," OrcaUBoat. https://orca-tech.cn/en/datasets/FloW/FloW-Img.
J. Redmon and A. Farhadi, "YOLOv3: An Incremental Improvement." arXiv, Apr. 08, 2018.
J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You Only Look Once: Unified, Real-Time Object Detection," in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, Jun. 2016, pp. 779–788.
M. Tharani, A. W. Amin, M. Maaz, and M. Taj, "Attention Neural Network for Trash Detection on Water Channels." arXiv, Jul. 09, 2020.
T. Diwan, G. Anirudh, and J. V. Tembhurne, "Object detection using YOLO: challenges, architectural successors, datasets and applications," Multimedia Tools and Applications, vol. 82, no. 6, pp. 9243–9275, Mar. 2023.
C. Y. Wang and H. Y. M. Liao, "YOLOv1 to YOLOv10: The fastest and most accurate real-time object detection systems." arXiv, Aug. 18, 2024.
M. M. Moussa, R. Shoitan, Y. I. Cho, and M. S. Abdallah, "Visual-Based Children and Pet Rescue from Suffocation and Incidence of Hyperthermia Death in Enclosed Vehicles," Sensors, vol. 23, no. 16, Jan. 2023, Art. no. 7025.
L. Zhao and M. Zhu, "MS-YOLOv7:YOLOv7 Based on Multi-Scale for Object Detection on UAV Aerial Photography," Drones, vol. 7, no. 3, Mar. 2023, Art. no. 188.
Z. Chen, C. Liu, V. F. Filaretov, and D. A. Yukhimets, "Multi-Scale Ship Detection Algorithm Based on YOLOv7 for Complex Scene SAR Images," Remote Sensing, vol. 15, no. 8, Jan. 2023, Art. no. 2071.
E. Sediyono, Suhartono, and C. Nivak, "Measuring the Performance of Ontological Based Information Retrieval from a Social Media," in 2014 European Modelling Symposium, Pisa, Italy, Oct. 2014, pp. 354–359.
J. Revaud, J. Almazan, R. Rezende, and C. D. Souza, "Learning With Average Precision: Training Image Retrieval With a Listwise Loss," in 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Korea (South), Oct. 2019, pp. 5106–5115.
O. E. Olorunshola, M. E. Irhebhude, and A. E. Evwiekpaefe, "A Comparative Study of YOLOv5 and YOLOv7 Object Detection Algorithms," Journal of Computing and Social Informatics, vol. 2, no. 1, pp. 1–12, Feb. 2023.
Downloads
How to Cite
License
Copyright (c) 2024 Naufal Laksana Kirana, Diva Kurnianingtyas, Indriati
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.