← Back

Retinitis Pigmentosa (RP) Detector — Mobile ML App

Tags: Mobile ML · React Native · Expo · TensorFlow.js · Computer Vision · Healthcare AI

This project explores automated detection of Retinitis Pigmentosa (RP) from retinal images using deep learning, with a focus on low-cost, accessible screening. The trained model is deployed inside a cross-platform mobile app that runs inference on user-provided images.

RP diagnosis typically requires access to specialized equipment (e.g., ERG, visual field testing, genetic testing, and/or clinical retinal photography). This project investigates whether an image-based model can provide a fast, inexpensive signal that could be useful for triage or screening workflows (research/educational use only).

What I Built

Model + Results (from the accompanying write-up)

How the App Works

The app allows users to either take a photo or select one from the gallery, then runs the following pipeline:

  1. Convert the input image to JPEG (ensures decoding works reliably across formats).
  2. Decode to a tensor and resize to 224×224.
  3. Normalize pixels to [0, 1] and add a batch dimension.
  4. Run inference with TensorFlow.js and display RP Present / No RP + confidence.

Repository Contents

Links

Disclaimer

This project is for research and educational purposes only. It is not a medical device and is not intended for clinical diagnosis or treatment decisions.