Brain tumor detection is an important task in medical imaging. This project uses deep learning to automatically analyze MRI images and predict whether a brain tumor is present. The model classifies MRI scans into two categories:
It aims to help in early detection, which can be critical for treatment.
This project is built using the following technologies:
The project has the following structure:
Brain Tumor Detection/
β
βββ dataset/
β βββ train/
β β βββ tumor/
β β βββ no_tumor/
β βββ test/
β βββ tumor/
β βββ no_tumor/
β
βββ model.py
βββ train.py
βββ predict.py
βββ brain_tumor_model.pth
βββ requirements.txt
To use this application successfully, make sure your system meets the following requirements:
Visit the following page to download the latest version of the application:
On this page, scroll down to find the latest release. Download the appropriate file for your system.
Install Required Libraries: Use the command line to install the necessary libraries. Open your command prompt and run:
pip install -r requirements.txt
Run the following command to start the application:
python predict.py
You will need to provide the path to the MRI image file you want to analyze. The model will then predict if there is a tumor or not.
To test the application, place your MRI image in the test/ folder of the project structure. Update the predict.py script to point to this file. The output will indicate whether a tumor is detected in the image.
If you have questions or need help, you can open an issue on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you to everyone who contributed to this project. Your support is appreciated.
For any updates, please visit the following link again: