A Flask-based web application that uses a trained deep learning model to detect brain tumors from MRI images.
project-root/
│
├── static/
├── templates/
├── model.h5 # Trained Keras model
├── label_map.json
├── app.py # Main Flask app
├── requirements.txt
└── README.md
git clone https://github.com/ShrekBytes/tui_mor.git
cd tui_morpython -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activatepip install -r requirements.txtpython app.pyVisit the app in your browser:
http://127.0.0.1:5555
- Upload an MRI image
- Predict tumor type:
glioma,meningioma,pituitary, orno tumor - Display confidence score
- View image with result overlay
- Privacy focused (does not store any data, scan histories are stored on browser session)
- JSON-based label mapping for easy customization
This project is licensed under the MIT License. Feel free to fork, modify, and use it for your own purposes.







