Coder Social home page Coder Social logo

alzheimer-s-disease-classification's Introduction

Alzheimer's Disease Detection Web Application

Introduction

This repository contains the code for an Alzheimer's Disease (AD) detection web application. The goal of this project is to utilize deep learning techniques to detect Alzheimer's disease using Magnetic Resonance Imaging (MRI) data.

Features

  • Clinicians can upload MRI images for analysis based on the trained VGG-16 model.
  • The web application raises awareness for Alzheimer's disease by providing a user-friendly interface for image analysis.

Frontend to Backend Communication

Upon image upload, the frontend of the web application sends a POST request to the backend API endpoint, transmitting the image data for analysis. This communication between the frontend and backend initiates the analysis process using the VGG-16 CNN model.

Backend

  • The endpoint receives the image file through a GET request and verifies that the uploaded image is in the correct format, typically DICOM format, ensuring it meets quality standards.
  • Resizing the image to a standardized resolution of 224x224 pixels, as required by the VGG-16 model for efficient analysis.
  • Converting the image to an array format compatible with the input shape expected by the VGG-16 model.
  • The pre-trained VGG-16 CNN model, stored in H5 format, is loaded into the backend.
  • The H5 format preserves the architecture and weights of the neural network, allowing it to be easily loaded and used for image classification.

Technologies Used

  • Frontend: React Vite
  • Backend: Flask
  • Deep Learning Model: VGG-16

Installation

  1. Clone the repository:

git clone https://github.com/chocolatecupcake2002/Alzheimer-s-Disease-Classification.git

  1. Install dependencies:
  • pip install flask
  • pip install tensorflow
  • pip install numpy
  • pip install pillow
  • pip install scikit-learn
  • npm install @vitejs/plugin-react
  • npm install @vitejs/plugin-vue
  • npm install @vitejs/plugin-vue-jsx
  • npm install @vitejs/plugin-legacy
  • npm install react
  • npm install react-dom
  • npm install react-router-dom
  • npm install @mui/material
  • npm install @emotion/react
  • npm install @emotion/styled
  • npm install axios

Usage

  1. Start the backend server: run detect.py

  2. Start the frontend server: npm run dev

  3. Open your web browser and go to http://localhost:3000 to access the web application.

Contributors

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.