Detection and Localization of Brain Tumors on MRI Images Using the YOLO Algorithm
DOI:
https://doi.org/10.30871/jaic.v9i4.10047Keywords:
Brain Tumor Detection, Deep Learning, Object Detection, MRI, YOLOAbstract
This study addresses the critical need for early and accurate brain tumor diagnosis on MRI images by comparing five versions of the YOLO algorithm (YOLOv5, YOLOv7, YOLOv8, YOLOv9, and YOLOv12) with consistent parameters. Utilizing a pre-annotated Kaggle MRI brain dataset, the research meticulously verified annotations and employed data augmentation (flipping, rotation, blurring, noise) to expand the dataset from 801 to approximately 1362 images, enhancing model generalization and robustness. Models were trained and evaluated on metrics including precision, recall, [email protected], [email protected]:0.95, and inference time. YOLOv12 demonstrated superior overall performance, achieving the highest recall (97.32%), [email protected] (92.2%), and [email protected]:0.95 (76.57%), establishing its robustness for accurate detection and object localization. While YOLOv7 achieved the highest precision (96.89%) and excellent inference speed, its overall mAP and recall were surpassed by other iterations. YOLOv9 and YOLOv8 also showed strong competitive performance, indicating significant advancements in the newer YOLO generations. The findings confirm the efficacy of the YOLO algorithm for brain tumor detection and localization in MRI images, with YOLOv12 proving to be the most effective variant in this comparative analysis.
Downloads
References
[1] WHO., “Global Cancer Observatory: Brain Tumour Statistics,” 2023.
[2] M. F. Almufareh, M. Imran, A. Khan, M. Humayun, and M. Asim, “Automated Brain Tumor Segmentation and Classification in MRI Using YOLO-Based Deep Learning,” IEEE Access, vol. 12, pp. 16189–16207, 2024, doi: 10.1109/ACCESS.2024.3359418.
[3] M. Puttagunta and S. Ravi, “Medical image analysis based on deep learning approach,” Multimed Tools Appl, vol. 80, no. 16, pp. 24365–24398, Jul. 2021, doi: 10.1007/s11042-021-10707-4.
[4] M. I. Mahmud, M. Mamun, and A. Abdelgawad, “A Deep Analysis of Brain Tumor Detection from MR Images Using Deep Learning Networks,” Algorithms, vol. 16, no. 4, Apr. 2023, doi: 10.3390/a16040176.
[5] A. Bochkovskiy, C.-Y. Wang, and H.-Y. M. Liao, “YOLOv4: Optimal Speed and Accuracy of Object Detection,” Apr. 2020, [Online]. Available: http://arxiv.org/abs/2004.10934
[6] J. Huang, W. Ding, T. Zhong, and G. Yu, “YOLO-TumorNet: An innovative model for enhancing brain tumor detection performance,” Alexandria Engineering Journal, vol. 119, pp. 211–221, Apr. 2025, doi: 10.1016/j.aej.2025.01.062.
[7] A. Ishtaiwi et al., “Impact of Data-Augmentation on Brain Tumor Detection Using Different YOLO Versions Models,” International Arab Journal of Information Technology, vol. 21, no. 3, pp. 466–482, May 2024, doi: 10.34028/iajit/21/3/10.
[8] R. S. Passa et al., “Deteksi Tumor Otak pada Magnetic Resonance Imaging menggunakan YOLOv7,” Jurnal Ilmiah MATRIK, vol. 25, no. 2, Aug. 2023.
[9] P. Cinantya, S. Catur, Amalia, and R. P. Khalivio, “Comparative Analysis of YOLOv5 and YOLOv8 Cigarette Detection in Social Media Content,” Scientific Journal of Informatics, vol. 11, no. 2, pp. 341–352, May 2024, doi: 10.15294/sji.v11i2.2808.
[10] S. Shinde, A. Kothari, and V. Gupta, “YOLO based Human Action Recognition and Localization,” in Procedia Computer Science, Elsevier B.V., 2018, pp. 831–838. doi: 10.1016/j.procs.2018.07.112.
[11] N. S. Kumar and A. K. Goel, “Detection, Localization and Classification of Fetal Brain Abnormalities using YOLO v4 Architecture,” International Journal of Performability Engineering, vol. 18, no. 10, pp. 720–729, Oct. 2022, doi: 10.23940/ijpe.22.10.p5.720-729.
[12] N. Iriawan et al., “YOLO-UNet Architecture for Detecting and Segmenting the Localized MRI Brain Tumor Image,” Applied Computational Intelligence and Soft Computing, vol. 2024, 2024, doi: 10.1155/2024/3819801.
[13] F. Mercaldo, L. Brunese, F. Martinelli, A. Santone, and M. Cesarelli, “Object Detection for Brain Cancer Detection and Localization,” Applied Sciences (Switzerland), vol. 13, no. 16, Aug. 2023, doi: 10.3390/app13169158.
[14] A. B. Abdusalomov, M. Mukhiddinov, and T. K. Whangbo, “Brain Tumor Detection Based on Deep Learning Approaches and Magnetic Resonance Imaging,” Cancers (Basel), vol. 15, no. 16, Aug. 2023, doi: 10.3390/cancers15164172.
[15] S. Muksimova, S. Umirzakova, S. Mardieva, N. Iskhakova, M. Sultanov, and Y. I. Cho, “A lightweight attention-driven YOLOv5m model for improved brain tumor detection,” Comput Biol Med, vol. 188, Apr. 2025, doi: 10.1016/j.compbiomed.2025.109893.
[16] A. M. Taha, S. A. Aly, and M. F. Darwish, “Detecting Glioma, Meningioma, and Pituitary Tumors, and Normal Brain Tissues based on Yolov11 and Yolov8 Deep Learning Models,” Mar. 2025, [Online]. Available: http://arxiv.org/abs/2504.00189
[17] M. F. Safdar, S. S. Alkobaisi, and F. T. Zahra, “A comparative analysis of data augmentation approaches for magnetic resonance imaging (MRI) scan images of brain tumor,” Acta Informatica Medica, vol. 28, no. 1, pp. 29–36, Mar. 2020, doi: 10.5455/AIM.2020.28.29-36.
[18] M. Hussain, “YOLOv5, YOLOv8 and YOLOv10: The Go-To Detectors for Real-time Vision,” Jul. 2024, [Online]. Available: http://arxiv.org/abs/2407.02988
[19] C.-Y. Wang, I.-H. Yeh, and H.-Y. M. Liao, “YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information,” Feb. 2024, [Online]. Available: http://arxiv.org/abs/2402.13616
[20] Y. Tian, Q. Ye, and D. Doermann, “YOLOv12: Attention-Centric Real-Time Object Detectors,” Feb. 2025, [Online]. Available: http://arxiv.org/abs/2502.12524
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Zaky Indra Bayu Satria, Catur Supriyanto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) 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) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








