Giter Club home page Giter Club logo

brain-tumor-detection-fastapi's Introduction

Brain Tumor Detection with FastAPI

Overview

This repository contains a FastAPI-based web application designed for brain tumor detection using machine learning models. The project integrates three distinct models to analyze MRI scans and provide comprehensive insights:

  1. Detection of Tumor Presence
  2. Tumor Localization
  3. Tumor Type Classification

Features

  • MRI Scan Analysis: Upload and analyze MRI scans for various aspects of brain tumor detection.
  • Real-time Predictions: Immediate results with a user-friendly web interface.
  • Model Integration: Utilizes three specialized models for detailed analysis.

Models

  1. First Model: Tumor Presence Detection

    • Description: This model determines whether an MRI scan indicates the presence of a tumor.
    • Link: First Model
  2. Second Model: Tumor Localization

    • Description: This model detects the location of the tumor within the MRI scan.
    • Link: Second Model
  3. Third Model: Tumor Type Classification

    • Description: This model classifies the type of tumor present in the MRI scan.
    • Link: Third Model

Datasets

  1. Dataset 1 : Brain Tumor Dataset

    • Description: A dataset containing MRI scans for training the tumor detection models.
    • Link: Dataset 1
  2. Dataset 2 : Tumor Types Dataset

    • Description: A dataset used for classifying tumor types.
    • Link: Dataset 2

Installation

To set up the project locally, follow these steps:

  1. Clone the Repository:
    git clone https://github.com/Abdelrahman-Kamel8886/Brain-Tumor-Detection-FastApi.git
    cd Brain-Tumor-Detection-FastApi
    
  2. Create a Virtual Environment:
    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install Dependencies:
    pip install -r requirements.txt
    
  4. Run the Application:
    uvicorn main:app --reload
    

Access the web application at http://127.0.0.1:8000.

Usage

  1. Open the application in your web browser.
  2. Use the provided interface to upload an MRI scan.
  3. The models will analyze the scan and display results regarding tumor presence, location, and type.

Configuration

  • Model Path: The pre-trained model files should be placed in the models directory.
  • Environment Variables: Set any required environment variables in a .env file for configuration.

Contributing

Contributions are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.

Acknowledgements

  • FastAPI: A modern, fast (high-performance) web framework for building APIs with Python 3.7+.
  • Deep Learning Models: Pre-trained models for various aspects of brain tumor detection.
  • Datasets: Essential for training and evaluating the models.

Team Memebrs

For any questions or inquiries, please contact:

brain-tumor-detection-fastapi's People

Contributors

abdokamel8886 avatar abdelrahman-kamel8886 avatar

Stargazers

Mustafa Elhendy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.