Develop Model For Detection and Localization of Brain Tumor
Develop Model For Detection and Localization of Brain Tumor
https://doi.org/10.22214/ijraset.2023.50843
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
Abstract: A brain tumor is growth of damaged cells in your brain. There are many different types of brain tumors. Some brain
tumors are non-cancerous (benign) and some brain tumors are cancerous (malignant). Brain tumors can start in your brain
(primary brain tumors), or cancer can start in other parts of your body and spread to your brain as secondary (metastatic) brain
tumors. The rate at which a brain tumor grows can vary widely. Brain tumor growth rate and location determine how your
nervous system functions.
One of the most important and useful tests performed on the brain is an MRI, which is magnetic resonance imaging. All images
are tested and analyzed by a radiologist, due to the rapid development in neural networks and machine learning techniques of
high performance systems for detecting the diseased part of a person. Machine learning and neural network models play an
important role in computer vision. In this revive paper, we did an analysis on many object detection model and summarize the
research done on this domain.
Keywords: Brain tumor detection, YoloV3, darknet-53 framework, machine learning
I. INTRODUCTION
Brain tumor and its analysis are of particular interest because of the developing innovations in medical image processing. Early
detection of brain tumor is important to increase the survival rate of people, to prevent disease and reduce disability. There are many
methods that are used to detect this disease.
One of the most widely used appropriate tests among them in brain tumor diagnosis is MRI. An MRI technique called "diffusion-
weighted imaging" helps show the cellular structure of the brain. Another technique called "perfusion imaging" shows how much
blood is getting to the tumor. However, there are other parts of brain which have an identical behavior as these cells can lead to a
false diagnosis. There are thousands of patients suffering from brain tumor each year, so the use of deep learning technique for
autonomous tumor detection. The WHO classification of brain tumor has come a long way since 1979, but in 2016 classification
was quite revolutionary. For the first time, molecular diagnostics were taken into consideration leading to more detailed diagnoses.
However, this diagnosis are quite subjective. Some of the common problems in manual detection of tumor are time requirement and
misclassification due to complexity of structure. This is where AI entered neuro-oncology a few years ago. Chinese group
developed an AI algorithm that classifies the subtype of brain tumor much faster and with better accuracy. classification. In this
paper we will discuss about some of the latest research done in this domain. In this paper we will also discuss about YoloV3 – state
of the art.
B. Machine Learning and Deep Learning Approaches for Brain Disease Diagnosis: Principles and Recent Advances.
In this paper author have presented various brain disease detection techniques using machine learning and deep learning. This
survey revels some of the important insight into various ML and DL techniques in medical field. This paper concludes about quality
of training data and interoperability are also major concerns to develop ML and DL based models for practical uses. This paper also
states about lack of medical data in this domain. Problem on lack of data can be solved with some better DL techniques.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4379
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
A. Pre-Processing
Preprocessing is done to improve the quality of data to feed to the model. This process helps in data cleaning and remove noise from
data if any. Preprocessing helps in resizing the image to base scale before feeding it to neural network. Preprocessing helps to speed
up training speed and increase classification accuracy of the model.
The Images are converted into arrays using Open-cv module. The labels on the other had should be available in the format of center,
width and length or in the format x-min, y-min, x-max, y-max. If the label available to us in the form of coordinates the it must be
converted into center, width and length.
B. Splitting Dataset
The dataset is split into three parts, training set, validation set and testing set. The training and validation set are used for model
building and validation set is used to confirm the accuracy of the model.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4380
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
Yolo V3 uses Darknet-53 as its backbone. There are 53 layers in yolo to train the model. Darknet is better than ResNet-50 and
ResNet-101. There are no fully connected layers and are only convolutional layers which helps to deal with loss of data while
downscaling. Yolo V3 follows the grid cell approach. Yolo V3 uses 3 anchor boxes. Each grid cell predicts the bounding box
coordinates, the class confidence score and objectness score. Darknet helps with small object detection. The model predicts the
probability of each class and the class with the highest probability is been selected and the model also predicts the location of the
tumor on that image. The yolo algorithm works in such a way that the Image is divided into grids and the model can predict multiple
tumors in the brain the or can predict a single tumor two times, in such case the model selects the best using the non max
suppression. In Non-Max Suppression the model with the highest probability is been selected. In such a way the model predicts the
Image class and the location of the tumor.
Fig. Yolo V3
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4381
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue IV Apr 2023- Available at www.ijraset.com
V. DATASET DESCRIPTION
The dataset used in this article is retrieved from the Kaggle website. Data consists of images and labels. Images are in JPG and PNG
format. These images are MRI scans of the brain. These images are high resolution images. These images are associated with labels.
The labels consist of the location of the tumor in the brain. The label contains the center, width and height of the tumor, if the labels
are not in this format, then they would be in the format of coordinates, these need to be converted to the format center, width and
height. The pictures are from three different axes. The images are in JPG format and the image dimensions are 512 x 512. These
images are converted to arrays using Open-cv, the images are read using Open-cv and read as grayscale images.
VI. CONCLUSION
A brain tumor is a disease in which abnormal cells in the brain multiply uncontrollably. Early treatment plays an important role in a
patient's life. The most common method of tumor detection is MRI images. Manual tumor detection is very time-consuming and
prone to human error. In our study, we used machine learning methods to detect a tumor in the brain. In this Proposed system we
have studied brain tumor and types of brain tumor. We have studied how to fully automate the brain tumor detection using ML DL
techniques. We have further studied the Computer Vision, OpenCV. We have precisely studied about YoloV3 algorithm. We can
use the yolo object detection algorithm to predict the class if there is a tumor in the brain (positive and negative) and the location of
the tumor in the brain. the darknet framework is used to implement the yolo algorithm and can select the best performing weights
based on the error metrics of IOU and Map. These weights can be highly trained and can be used for other medical concepts. These
yolo tumor prediction models have high performance for image class prediction as well as tumor localization.
REFFRENCES
[1] Angona Biswas, 2Md. Saiful Islam, “Brain Tumor Types Classification using K-means Clustering and ANN Approach”, 2021 2nd International Conference on
Robotics, Electrical and Signal Processing Techniques (ICREST).
[2] Shubhangi Solanki , Uday Pratap Singh, Siddhart Singh Chouhan, Sanjeev Jain, “ Brain Tumor Detection and Classification Using Intelligence Techniques: An
Overview.
[3] Protima Khan, MD. Fazlul Kader, SM. M. Riazul Islam, Aisha b. Rahman, MD. Shahriar Kamal, Masbah Uddin Toha , and Kyung-sup Kwak “Machine
Learning and Deep Learning Approaches for Brain Disease Diagnosis: Principles and Recent Advances.
[4] Joseph Redmon, Ali Farhad University of Washington, “YOLOv3: An Incremental Improvement” 8 Apr 2018.
[5] M. L. Schapira and M. W. Dale. Brain Tumor: Statistics. Accessed: Apr. 10, 2021. [Online]. Available: https://www.cancer.net/cancertypes/brain-tumor/statistics
[6] G.SowmiyaNarayanan -“Object Detection using YOLOv3” - https://towardsdatascience.com/object-detection-using-yolov3-9112006d1c73
[7] Implement a YOLO (v3) for object detection https://www.kdnuggets.com/2018/05/implement-yolo-v3-object-detector-pytorch-part-1.html
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4382