CNN-Based Ball and Goal Detection for KRSBI Robot with Omnidirectional Camera
Abstract
The Wheeled Soccer Robot Contest (KRSBI-Beroda) challenges robots to autonomously detect, dribble, and score using vision-based systems. Traditional object detection methods like HSV color filtering are widely used but perform poorly under varying lighting conditions. This study proposes a Convolutional Neural Network (CNN)-based object detection system using the YOLO (You Only Look Once) algorithm to enhance the accuracy and reliability of ball and goal detection in KRSBI robots equipped with omnidirectional cameras. A dataset of 1,125 images comprising diverse lighting and object positions was collected and split into 80% training and 20% validation sets. The YOLOv8 model was trained using Ultralytics on Google Colab with 100 epochs. The resulting model achieved a high detection performance, with an accuracy of 95.87%, precision of 1.00 at a confidence threshold of 0.921, recall of 0.99, and an F1-Score of 0.97. The results confirm that the YOLOv8-based CNN model provides a robust and efficient solution for real-time ball and goal detection in robotic soccer applications.
References
B. Kusumoputro et al., "Pedoman Kontes Robot Indonesia (KRI) Pendidikan Tinggi Tahun 2024," Balai Pengembangan Talenta Indonesia, Pusat Prestasi Nasional, Kementerian Pendidikan, Kebudayaan, Riset dan Teknologi Republik Indonesia, 2023.
W. Muldayani, "Implementasi Sistem Object Tracking Untuk Mendeteksi Dua Objek Berbasis Deep Learning," Simetris J. Tek. Mesin, Elektro dan Ilmu Komput., vol. 14, no. 1, pp. 1–14, 2023, doi: 10.24176/simet.v14i1.9236.
L. A. Andika, H. Pratiwi, and S. S. Handajani, "Klasifikasi Penyakit Pneumonia Menggunakan Metode Convolutional Neural Network Dengan Optimasi Adaptive Momentum," pp. 331–340, 2019.
C. G. Wahyu Pramana, D. C. Khrisne, and N. P. Sastra, "Rancang Bangun Object Detection Pada Robot Soccer Menggunakan Metode Single Shot Multibox Detector (SSD MobileNetV2)," J. SPEKTRUM, vol. 8, no. 2, p. 28, 2021, doi: 10.24843/spektrum.2021.v08.i02.p4.
D. N. Nugroho and L. Anifah, "Perancangan Sistem Deteksi Objek Bola Dan Gawang Pada Robot Sepakbola Menggunakan Metode Darknet YOLO," J. Inf. Eng. Educ. Technol., vol. 7, no. 1, pp. 22–29, 2023, doi: 10.26740/jieet.v7n1.p22-29.
J. Nuralim et al., "Perancangan Sistem Pendeteksian Obyek Bola Dengan Metode Framework YOLOv4," J. Maest., vol. 5, no. 2, pp. 289–294, 2022. [Online]. Available: https://jom.ft.budiluhur.ac.id/index.php/maestro/article/view/531
F. F. Sanubari and R. D. Puriyanto, "Deteksi Bola dan Gawang dengan Metode YOLO Menggunakan Kamera Omnidirectional pada Robot KRSBI-B," Bul. Ilm. Sarj. Tek. Elektro, vol. 4, no. 2, pp. 76–85, 2022, doi: 10.12928/biste.v4i2.6712.
J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You only look once: Unified, real-time object detection," Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., vol. 2016-Decem, pp. 779–788, 2016, doi: 10.1109/CVPR.2016.91.
E. Mozef, "Algoritma Labeling Citra Biner Dengan Performansi Optimal Processor-Time," pp. 67–77, 2003.
A. Anhar and R. A. Putra, "Perancangan dan Implementasi Self-Checkout System pada Toko Ritel menggunakan Convolutional Neural Network (CNN)," ELKOMIKA J. Tek. Energi Elektr. Tek. Telekomun. Tek. Elektron., vol. 11, no. 2, p. 466, 2023, doi: 10.26760/elkomika.v11i2.466.
X. Chen et al., "Robust and accurate object detection via adversarial learning," Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., pp. 16617–16626, 2021, doi: 10.1109/CVPR46437.2021.01635.
H. Zhang, M. Cisse, Y. N. Dauphin, and D. Lopez-Paz, "MixUp: Beyond empirical risk minimization," 6th Int. Conf. Learn. Represent. ICLR 2018 - Conf. Track Proc., pp. 1–13, 2018.
G. Moreira et al., "Benchmark of Deep Learning and a Proposed HSV Colour Space Models for the Detection and Classification of Greenhouse Tomato," Agronomy, vol. 12, no. 2, 2022, doi: 10.3390/agronomy12020356.
Ultralytics, "YOLOv8 Data Augmentation and Learning Rate Optimization," 2024. [Online]. Available: https://docs.ultralytics.com
M. F. Rahman et al., "Klasifikasi Untuk Diagnosa Diabetes Menggunakan Metode Bayesian Regularization Neural Network (RBNN)," J. Inform., vol. 11, no. 1, p. 36, 2017, doi: 10.26555/jifo.v11i1.a5452.
B. P. Pratiwi, "Pengukuran Kinerja Sistem Kualitas Udara," J. Inform. UPGRIS, vol. 6, no. 2, pp. 66–75, 2020.
S. Clara et al., "Implementasi Seleksi Fitur Pada Algoritma Klasifikasi Machine Learning Untuk Prediksi Penghasilan Pada Adult Income Dataset," Semin. Nas. Mhs. Ilmu Komput. dan Apl. Jakarta-Indonesia, vol. 2, no. 1, pp. 741–747, 2021.
T. Le, T. Miller, R. Singh, and L. Sonenberg, "Explaining Model Confidence Using Counterfactuals," Proc. 37th AAAI Conf. Artif. Intell. AAAI 2023, vol. 37, no. 1, pp. 11856–11864, 2023, doi: 10.1609/aaai.v37i10.26399.
S. Sibuea and Y. B. Widodo, "Pengembangan Model Machine Learning untuk Rekomendasi Produk Berdasarkan Analisis Pola Pembelian," vol. 10, no. 2, pp. 567–583, 2024.
M. Fadli and R. A. Saputra, "Klasifikasi Dan Evaluasi Performa Model Random Forest Untuk Prediksi Stroke," JT J. Tek., vol. 12, no. 02, pp. 72–80, 2023. [Online]. Available: http://jurnal.umt.ac.id/index.php/jt/index
R. R. Adhitya, W. Witanti, and R. Yuniarti, "Perbandingan Metode Cart Dan Naïve Bayes Untuk Klasifikasi Customer Churn," INFOTECH J., vol. 9, no. 2, pp. 307–318, 2023, doi: 10.31949/infotech.v9i2.5641
















