The Brain Tumor Classifier is an application that utilizes deep learning techniques to classify brain tumor images into different categories. It is designed to assist in the detection and classification of brain tumors for medical diagnosis and treatment planning.
The dataset used for training and evaluating the Brain Tumor Classifier can be obtained from Brain tumour dataset. It provides a diverse collection of brain tumor images for different tumor types, including meningioma, glioma, pituitary tumor, and glioblastoma.
The Brain Tumor Classifier employs a deep learning approach using convolutional neural networks (CNNs). The model architecture consists of multiple convolutional and pooling layers, followed by fully connected layers. It leverages the TensorFlow framework and the Keras API to build and train the model.
To set up the Brain Tumor Classifier, follow these steps:
-
Clone the repository:
git clone https://github.com/vivekmenonm/braintumour-classifier.git
-
Navigate to the project directory
-
Create a virtual environment using virtualenv (assuming you have virtualenv installed):
-
Activate the virtual environment:
- For Windows:
venv\Scripts\activate
- For Linux/Mac:
source venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
-
Make sure you have activated the virtual environment (see Installation steps).
-
Run the Streamlit web interface:
-
It will automatically take you to
http://localhost:8501
in browser else manually paste the link to access the Brain Tumor Classifier interface. -
Upload an MRI brain scan image through the interface.
-
The model will analyze the image and provide the predicted tumor class and confidence score.
- Incorporating advanced deep learning techniques for improved performance.
- Expanding the dataset to include more diverse brain tumor images.
- Enhancing the user interface with additional features for better visualization.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
The Brain Tumor Classifier is released under the MIT License.
We would like to acknowledge the creators of the brain tumor dataset used in this project for their valuable contribution.