59 Received 15/February/2024; Accepted 08/April/2024 Iraqi Journal of Computers, Communications, Control & Systems Engineering (IJCCCE), Vol. 24, No. 3, September 2024 DOI: https://doi.org/10.33103/uot.ijccce.24.3.5 Multi-Graded Brain Tumor Classification Using Yolov7 Sarmad Fouad Yaseen 1 , Amjad J. Humaidi 2 , Ahmed S. Al-Araji 3 , Hamed S Al-Raweshidy 4 1,3 Computer Engineering Department, University of Technology, Baghdad, Iraq 2 Control and Systems Engineering Department, University of Technology, Baghdad, Iraq 4 Brunel University, London, UK 1 sarmad.f.yaseen@uotechnology.edu.iq, 2 Amjad.J.Humaidi@uotechnology.edu.iq, 3 ahmed.s.al-araji@uotechnology.edu.iq, 4 hamed.al-raweshidy@brunel.ac.uk Abstract— In recent years, significant progress has been made in the field of diagnosis and classification of brain tumors, mainly attributed to advancements in artificial intelligence and medical imaging. The main objective of this study is to improve the detection and classification of brain tumors by applying and utilizing of artificial intelligence (AI) and recent advancements in medical imaging techniques. Automation of the process of tumor identification and then classification, in addition to tumor grading, will definitely improve all procedures of brain tumor treatment and enhance patient care. The proposed system combines convolutional neural networks (CNNs), which act as extract features, and the You Only Look Once Algorithm (YOLOv7) for effective object identification and accurate classification. The methodology described in this study involves employing a technique of multilayer classification, which integrates three distinct datasets. This comprehensive approach shows an exceptional levels of accuracy and precision. At the initial level, the model attains a 99.78% accuracy in distinguishing between tumor and nontumor cases. At the next level the system accurately sorts types of brain tumors (such, as glioma, meningioma and pituitary tumors) with an average accuracy of 99.35%. Moving on to the final stage it successfully distinguishes between low grade and high grade glioma tumors with a precision of 93.07%. Moreover the model shows accuracies ranging from 99.41%, to 99.61% when classifying types of brain tumors and nontumor cases. The proposed system has the ability to determine the boundaries of the tumor, and thus this has helped in calculating the sizes of tumors with high accuracy. Index Terms- Brain tumor, MRI, Convolutional Neural Network, YOLO, Tumor grading. I. INTRODUCTION In recent years, successful and significant strides have been made in the field of medical image analysis [1,2], particularly in detecting and identifying brain tumors. This progress has been driven by its diverse uses in healthcare for diagnosing diseases [2,3,4]. Adopting this method has transformed the treatment of oncology patients through improved tumor detection techniques, precise mapping of tumor boundaries, and improved operations that reduce damage to brain tissue and ultimately enhance surgical outcomes [5,6,7]. Recent medical research is increasingly depending on different imaging techniques, such as computerized tomography (CT), magnetic resonance imaging (MRI), and diffusion tensor imaging (DTI), which are the backbone of modern medical practices and research [8]. Magnetic resonance