GithubHelp home page GithubHelp logo

africanbiotech / pulstrat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xosteve26/pulstrat

0.0 0.0 0.0 217.95 MB

A Web Application that predicts the presence of Pneumonia from X-Ray Images using a DenseNet Neural Network model. Tech Stack: React as frontend , Python Flask as backend and Mongo DB.

Home Page: http://pulstrat.me/

JavaScript 83.60% Python 13.21% CSS 0.35% HTML 2.31% Dockerfile 0.54%

pulstrat's Introduction

Pulstrat - A Pneumonia Detecting Platform

A Pneumonia Detecting Web Application Built Using Python Flask(Backend server), React Js(Frontend UI), Tailwind CSS, Mongo DB(Database) & SendGrid

Features

  • Upload service for x-ray images
  • Instant delivery of results
  • User Authentication
  • Dashboard to display user's history of scans
  • Send reports to registered email
  • Caching system logic embedded to obtain history of scans quickly
  • Downloadable reports in pdf format

System Architecture

architecture diagram

Replication & Usage

Clone the repository

git clone https://github.com/xosteve26/PULSTRAT.git

Creating Environmental Variables

Create a .env file in then frontend & backend folder and add the following

Backend
MONGO_URI = Your Mongo DB ATLAS URI [ Mongo DB connection string ]
SECRET_KEY = Your Flask Secret Key
SENDGRID_API_KEY = Your SendGrid API key [ For email functionality ] [Optional]
Frontend

Frontend env consists of the base url, which is the endpoint of the flask server #For local environment

REACT_APP_BASE_URL=http://localhost:5000 

Install Dependencies (Frontend)

cd frontend
npm install 

Install Dependencies (Backend)

cd backend
pip install -r requirements.txt

Run

# Run frontend (:3000) 
cd frontend
npm run start

# Run backend (:5000)
cd backend
python app.py

Test Dataset

This test dataset consists of a total of 624 images, out of which 234 images belong to the NORMAL class and the remaining 390 belong to the PNEUMONIA class. Kindly download the dataset through this link and feel free to test it out.

Build & Deploy

# Create frontend production build [serve static build]
cd frontend
npm run build
serve -s build

pulstrat's People

Contributors

aquamanranda avatar deepsourcebot avatar syed-saif avatar xosteve26 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.