Skip to content

DULAKSHANA404/brain-tumor-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Brain Tumor Detection Web App

A deep learning-based web application for classifying brain MRI images as Tumor or Normal using a Convolutional Neural Network (CNN). The project features a user-friendly interface built with Flask, allowing users to upload an image and receive an instant diagnosis.


πŸš€ Features

  • βœ… Classify brain MRI images as Tumor or Normal
  • 🧠 Uses a trained CNN model with Keras and TensorFlow
  • 🌐 Web interface built using Flask
  • πŸ–ΌοΈ Upload your own MRI scans for prediction
  • πŸ“¦ Easy-to-run Python project

πŸ§ͺ How to Run the App

  1. Clone the Repository

  2. Install Dependencies

Make sure you have Python 3.x installed.

pip install -r requirements.txt
  1. Add the Trained Model

Place your trained model file as model.keras in the project root directory.

  1. Run the Flask App
python main.py
  1. Access the Web Interface

Go to: http://127.0.0.1:5000/


🧠 Model Details

  • Input Shape: (224, 224, 3)
  • Model Type: CNN
  • Framework: Keras (TensorFlow backend)
  • Trained On: Brain MRI Dataset (Tumor vs Normal)

πŸ“Š Dataset

You can use this public dataset:


πŸ›  Technologies Used

  • Python
  • Flask
  • TensorFlow / Keras
  • OpenCV
  • HTML & CSS

πŸ“Œ Requirements

Listed in requirements.txt:

Flask
tensorflow
keras
numpy
opencv-python

About

A deep learning web app that detects brain tumors from MRI images using a trained CNN model and Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published