NeffCodes / retinopathy-risk-assessment-tool

MIT License
1 stars 0 forks source link

Retinopathy Risk Assessment Tool (RRAT)

Overview

The Retinopathy Risk Assessment Tool (RRAT) is a data visualization web application designed to assist clinics in the early detection and assessment of diabetic retinopathy. This tool allows medical professionals to upload patient images and input relevant patient data, receiving a detailed analysis from a machine learning model that predicts the likelihood of the patient developing diabetic retinopathy.

Planned Features

Features

Technology Stack

Battle Plan

Image Upload Securely upload patient retinal images for analysis.
Patient Data Input Add patient details such as name, date of birth, and medical history to enhance analysis accuracy.
Model-Driven Analysis Utilizes a trained machine learning model to assess the risk of diabetic retinopathy.
Display Results Presents a clear and concise prognosis, helping clinicians make informed decisions.
Additional Resources May add resources and next steps, such as links to Mayo Clinic or NIH, after prognosis.

Stretch Goal Ideas

Technology Stack

Please note that this is our idea for our tech stack going in. This is subject to change as we progress through development.

Machine Leaning Model

The Retinopathy Risk Assessment Tool (RRAT) uses a Convolutional Neural Network (CNN) for image classification, specifically trained to identify the risk of diabetic retinopathy from retinal images. The model is built using TensorFlow and Keras libraries, using the power of CNNs to automatically detect features in retinal images that may indicate the presence of diabetic retinopathy.The model code is housed in a separate repository.

Model Repository: EyeQ Diabetic Retinopathy Model

Type of Learning

This project employs supervised learning, where the model is trained on a labeled dataset of retinal images. Each image in the training set is associated with a label indicating the severity of diabetic retinopathy (e.g., No_DR, Mild, Moderate, Severe, Proliferative). The model learns to map input images to these labels, and once trained, it can predict the risk level for new, unseen images.

Setup and Installation

Prerequisites

Installation Steps

If you haven't already, go ahead and install python and django.

1. Clone the Repository :

git clone https://github.com/NeffCodes/retinopathy-risk-assessment-tool.git
cd retinopathy-risk-assessment-tool

2. Set up your virtual environment:

python -m venv env
#Mac Users
source env/bin/activate

#Windows Users
source env/Scripts/activate

3. Install the required Python packages:

 pip install -r requirements.txt

4. Set up the database:

python manage.py makemigrations
python manage.py migrate

5. Run the Django Development Server:

python manage.py runserver

4) Database Configuration :

Usage

Testing

Make sure the server is running. Then run unit tests with:

python manage.py test

And use Postman to test API endpoints.

Contributing

We welcome contributions! Please leave a comment in the issues tab or follow the standard GitHub flow for submitting pull requests:

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any other questions or inquiries, please contact us at Sumi Means or James Neff