This is a streamlit app helps you to detect your brain tumor from MRI images.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Download and install Python 3.10.0
-
First check python version in terminal, if it's 3.10.0 then go ahead.
python --version
-
Go to folder where you want to clone this repository and use below command to clone this repo to your local machine.
git clone https://github.com/ipiyushvaghela/BrainTumorDetectionYOLOv5.git
-
Create virtual Environment
python -m venv venv4braintumor --system-site-packages
To Activate our virtual environment we use
venv4braintumor/Script/Activate.bat
-
Install packages using requirements.txt
pip install -r requirements.txt
-
Now check if streamlit is installed properly or not.
streamlit version
- change paths of model in
app.pyfile. - Run below command in terminal to run streamlit application.
streamlit run app.py
Now we are all set to go. just upload the image of any given class and it will classify that image and also it gives other 5 possible classes from which image could belong to.
- Folder named
yolov5_setupcontains 2 files from whichbraintumor_tempcan be used if you want to setup yolov5 to your local machine. other file isdataset.yamlyou can edit this file and put straight into yolov5 cloned directory. - Folder named
modelscontains all the trained models.
Piyush Vaghela - @ipiyushvaghela - ipiyushvaghela@gmail.com
Project Link - github.com/ipiyushvaghela/BrainTumorDetectionYOLOv5
