Skip to content

This project utilizes machine learning algorithms to detect the presence of brain tumors in medical images. Our user-friendly web interface allows users to upload MRI images, which are then analyzed by our trained model to provide accurate diagnosis results.

Notifications You must be signed in to change notification settings

crazykaran/brain-tumor-detection-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain Tumor Detection Web App

This is a web application built using Flask for detecting brain tumors from MRI images.

Features

  • Upload MRI Images: Users can upload MRI images of the brain.
  • Tumor Detection: The uploaded images are processed using a machine learning model to detect the presence of a brain tumor.
  • Display Results: The application displays the prediction results to the user.

Installation

  1. Clone the repository:

    git clone https://github.com/crazykaran/brain-tumor-detection-app.git
  2. Navigate to the project directory:

    cd brain-tumor-detection-app
  3. Install and create virtual environment:

    pip install virtualenv
    virtualenv env
    .\env\Scripts\activate.ps1
  4. Install the dependencies:

    pip install -r requirements.txt

Usage

  1. Start the Flask server:

    python app.py
  2. Open your web browser and navigate to http://localhost:5000.

  3. Upload an MRI image of the brain using the provided form.

  4. Wait for the application to process the image and display the prediction results.

File Structure

  • app.py: Main Flask application file.
  • model/: Directory containing the trained machine learning model.
  • static/: Directory for static files (e.g., CSS, JavaScript, images).
  • templates/: Directory for HTML templates.

Dependencies

  • Flask: Web framework for Python.
  • Keras: Deep learning library.
  • TensorFlow: Machine learning library.

Contributing

Contributions are welcome! Please create a pull request with your changes.

Screenshots

Preview 1Landing Page

Preview 2Uploaded a image

Preview 3Brain tumer detected

Preview 4No Brain Tumer Detected

Preview 5No file selected

Deployment

Brain Tumer Detection App

About

This project utilizes machine learning algorithms to detect the presence of brain tumors in medical images. Our user-friendly web interface allows users to upload MRI images, which are then analyzed by our trained model to provide accurate diagnosis results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages