You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Summarize your project in < ~75 words. This description will appear at the top of your page and on the list page with other projects..
21
21
22
-
summary: "This project presents a deep learning-based pipeline for detecting brain tumors in MRI scans using a customized Faster R-CNN architecture. Project reports are incorporated in the BHS (https://school-brainhack.github.io/project/)."
22
+
summary: "This project presents a deep learning-based pipeline for detecting brain tumors in MRI scans using a customized Faster R-CNN architecture."
23
23
24
24
# If you want to add a cover image (listpage and image in the right), add it to your directory and indicate the name
<!-- This is an html comment and this won't appear in the rendered page. You are now editing the "content" area, the core of your description. Everything that you can do in markdown is allowed below. We added a couple of comments to guide your through documenting your progress. -->
I'm Yadollah (Amir) Zamanidoost, a PhD student in Computer Engineering at Polytechnique Montréal. My research focuses on early-stage lung cancer detection using deep learning techniques on CT scan images. I’m passionate about applying AI in healthcare and excited to expand my skills in neural data science. I joined Brainhack School to learn new tools, collaborate with others, and explore how open science practices can support impactful research.
37
-
38
-
---
39
-
# Brian Tumor Detection in MRI Using Faster R-CNN
40
-
41
31
42
32
## Project definition
43
33
44
-
The goal of this project is to develop an automated and accurate brain tumor detection system using deep learning techniques. Leveraging the power of Faster R-CNN, the model detects tumors in MRI images by learning spatial features and distinguishing abnormal regions from healthy tissue. This tool is designed to assist radiologists by reducing diagnostic time and minimizing false positives.
45
34
46
35
### Background
47
36
Brain tumors are among the most challenging medical conditions to detect and treat. Accurate identification of tumor regions in MRI scans is crucial for diagnosis, surgical planning, and treatment monitoring. Traditional methods rely heavily on expert interpretation, which can be time-consuming and prone to inter-observer variability. Deep learning approaches, especially object detection frameworks like Faster R-CNN, offer a promising alternative by automating tumor localization and classification. In this project, we enhance the classical Faster R-CNN pipeline with a false positive reduction (FPR) stage to improve robustness and reliability.
48
37

49
38
50
-
### Objective
51
-
52
-
The main objective of this project is to accurately detect brain tumors in MRI scans using the Faster R-CNN object detection framework. By leveraging deep convolutional neural networks, this project aims to enhance early diagnosis and assist medical professionals in identifying tumor regions with high precision.
53
39
54
40
### Tools
55
41
@@ -75,7 +61,7 @@ This project uses publicly available datasets containing 2D T1-weighted contrast
75
61
76
62
All images were preprocessed and annotated for object detection tasks by converting segmentation masks into bounding box labels.
77
63
78
-
### Deliverables
64
+
### Project Deliverables
79
65
80
66
At the end of this project, the following materials will be available:
81
67
@@ -91,6 +77,7 @@ At the end of this project, the following materials will be available:
91
77
### Progress Overview
92
78
93
79
The Faster R-CNN model demonstrates strong localization capability in detecting brain tumors from MRI scans, even with limited annotated data for training. Our custom RPN training and false positive reduction significantly improved precision without sacrificing recall.
80
+

94
81
95
82
### Tools I Learned During This Project
96
83
@@ -112,57 +99,35 @@ Throughout this project, I gained hands-on experience with several essential too
112
99
113
100
-**Jupyter Notebooks** – for training, evaluation, and presenting visual results step-by-step
114
101
115
-
### Results
116
-
117
-
#### Deliverable 1: Introduction Slides
118
-
You can find the introduction slides of this project [here](Zamanidoost_final_Presentation.pdf)
119
-
120
-
#### Deliverable 2: Jupyter Notebooks
121
-
You can find jupyter notebooks of this project at my [github repository](https://github.com/brainhack-school2025/Zamanidoost_project)
122
-
123
-
#### Deliverable 3: Instructions
124
-
125
-
1.**Install Required Libraries**
126
-
Before running the notebooks, install all required libraries [`requirements.txt`](requirements.txt)
127
102
128
-
2.**Data Acquisition & Tumor Size Analysis**
129
-
Refer to [`Data_Acquisition.ipynb`](Data_Acquisition.ipynb) for organizing the datasets and analyzing tumor size.
130
-
131
-
3.**Preparing Data for Training and Testing**
132
-
Use [`Create_Input_Data.ipynb`](Create_Input_Data.ipynb) to generate structured datasets for the RPN model.
133
-
134
-
4.**Region Proposal Network (RPN) - Training**
135
-
Train the RPN model using [`RPN_Training_Model.ipynb`](RPN_Training_Model.ipynb), which extracts candidate regions.
136
-
137
-
5.**RPN Inference and Evaluation**
138
-
Use [`RPN_Test_Results.ipynb`](RPN_Test_Results.ipynb) to evaluate the performance of the RPN model.
103
+
### Deliverables
104
+
- Developed a two-stage Faster R-CNN + FPR framework for brain tumor detection.
139
105
140
-
6.**FPR Dataset Creation**
141
-
Generate patches for false positive reduction training using [`patches.ipynb`](patches.ipynb).
106
+
- Trained and evaluated models using publicly available MRI data.
142
107
143
-
7.**False Positive Reduction (FPR) Model - Training**
144
-
Train the FPR classification model using [`FPR_Training_model.ipynb`](FPR_Training_model.ipynb) to refine RPN outputs.
108
+
- Provided Jupyter notebooks for data prep, model training, inference, and evaluation.
145
109
146
-
8.**Final Inference and Results**
147
-
Run [`RPN_FPR_Test_Results.ipynb`](RPN_FPR_Test_Results.ipynb) to obtain and visualize the final tumor detection results after combining RPN and FPR outputs.
110
+
- Shared trained models and test dataset via Google Drive for reproducibility.
148
111
149
-
#### Deliverable 4: Results
112
+
- Created a slide presentation summarizing the project and results.
150
113
151
-
The proposed two-stage detection framework—based on Faster R-CNN with a False Positive Reduction (FPR) module—demonstrates improved performance in detecting brain tumors from 2D MRI slices. As illustrated in the sample detection images, the FPR model significantly reduces incorrect predictions while preserving true tumor regions.
114
+
### Future work
152
115
153
-
You can reproduce the same results using the trained models and the test dataset provided below:
116
+
Optimizing the anchor shape using metaheuristic algorithms
- 🔗 [Download Test Dataset](https://drive.google.com/file/d/17f-cPiNp7siLVVqyHkzZ8FMdZYfvR_yn/view?usp=drive_link)
158
-
159
-

160
-

161
-

162
118
163
119
## Conclusion and acknowledgement
164
120
165
121
This project presents a two-stage deep learning pipeline for accurate brain tumor detection in MRI images, combining the Faster R-CNN architecture with a False Positive Reduction (FPR) model. Through fine-tuning and evaluation on open-access datasets, the system achieves promising detection performance, with enhanced precision and reduced false positives.
166
122
167
123
Many thanks to the BrainHack School Professor ([Dr. Eva Alonso Ortiz](https://neuro.polymtl.ca/team/faculty/eva-alonso-ortiz.html)), TA (Sebastian Rios), instructors, and fellow participants for their support, feedback, and inspiration throughout this project.
[2] Cheng, J. (2017). Brain Tumor Dataset. Figshare. https://figshare.com/articles/dataset/brain_tumor_dataset/1512427
128
+
[3] Bhanothu Y, Kamalakannan A, Rajamanickam G. Detection and classification of brain tumor in MRI images using deep convolutional network. In2020 6th international conference on advanced computing and communication systems (ICACCS) 2020 Mar 6 (pp. 248-252). IEEE.
129
+
[4] Ezhilarasi R, Varalakshmi P. Tumor detection in the brain using faster R-CNN. In2018 2nd International Conference on, 2018 2nd International Conference on 2018 Aug 30 (pp. 388-392). IEEE.
130
+
[5] Zamanidoost Y, Alami-Chentoufi N, Ould-Bachir T, Martel S. Efficient Region Proposal Extraction of Small Lung Nodules Using Enhanced VGG16 Network Model. In2023 IEEE 36th International Symposium on Computer-Based Medical Systems (CBMS) 2023 Jun 22 (pp. 483-488). IEEE.
0 commit comments