This project aims to develop a computer vision model for the detection of brain tumors using MRI scans. The model utilizes a Convolutional Neural Network (CNN) architecture trained on a dataset of MRI images labeled as containing tumors ("YES") or not containing tumors ("NO").
The detection of brain tumors from MRI scans plays a crucial role in early diagnosis and treatment planning. This project addresses the need for accurate and efficient methods of tumor detection, which can assist healthcare professionals in providing timely medical intervention to patients.
The model architecture consists of a CNN with several convolutional and pooling layers followed by fully connected layers. The final layer uses a sigmoid activation function to output a binary classification result.
To set up and run the model, follow these steps:
- Clone this repository to your local machine.
- Install the necessary dependencies listed in the requirements.txt file.
- Ensure that your dataset is organized as described in the data preprocessing script.
- Run the training script (train.py) to train the model on your dataset.
- Evaluate the trained model using the evaluation script (evaluation.py).
- Optionally, use the visualization scripts to visualize the model's predictions and performance metrics.
README.md
: Provides an overview of the project, setup instructions, and usage guidelines.BrainTumorDetection_CNN.h5
: Trained model file.data_preprocessing.py
: Script for preprocessing MRI images.evaluation.py
: Script for evaluating the model's performance.train.py
: Script for training the model.visualization.py
: Script for visualizing model predictions and performance.documentation
: Additional documentation files (if any).
- Dataset: Link to dataset