# Prediction of Cataract Severity Using Slit Lamp Images from a Portable Smartphone Device: A Pilot Study

**Authors:** David Z. Chen, Changshuo Liu, Junran Wu, Lei Zhu, Beng Chin Ooi

PMC · DOI: 10.3390/s26061954 · Sensors (Basel, Switzerland) · 2026-03-20

## TL;DR

This pilot study explores using a smartphone-based slit lamp and deep learning to predict cataract severity without dilation, achieving promising accuracy.

## Contribution

A portable smartphone-based slit lamp and deep learning model for predicting cataract severity without dilation is proposed and tested.

## Key findings

- The model achieved 81.25% accuracy for undilated and 74.38% for dilated eyes.
- Heat maps successfully identified anatomical areas of interest in some images.
- The technique shows potential for estimating cataract density without dilation.

## Abstract

Cataract diagnosis requires a comprehensive dilated examination by an ophthalmologist using a slit lamp; there is currently no effective means to objectively screen for cataracts in the community using portable devices without dilation. We hypothesized that it would be possible to predict cataract severity using deep learning on images taken using a portable smartphone-based slit lamp prototype, with and without dilation. In this prospective cross-sectional pilot study, slit lamp images were captured from eligible patients with cataracts in a tertiary clinic using a portable slit lamp prototype attached to a smartphone. The Pentacam nuclear staging score (PNS, Pentacam®, Oculus, Inc., Arlington, WA, USA) was taken from the dilated pupils and served as ground truth. A transformer prototypical network with the Swin transformer on the images was trained to assign the class label corresponding to the highest predicted probability. Heat maps were generated based on attribution masks to identify the anatomical areas of concern. A total of 1900 images from 198 eyes of 99 patients were captured. The average age was 65.3 ± 10.4 years (range, 41.0 to 88.0 years) and the average PNS score was 1.57 ± 0.81 (range, 0 to 4). The model achieved an average accuracy of 81.25% and 74.38% for undilated and dilated eyes, respectively. Heat map visualization using the integrated gradient method successfully identified the anatomical area of interest in certain images. This study suggests the possibility of estimating cataract density using a portable smartphone slit lamp device without dilation. Further work is under way to validate this technique in a larger and more diverse group of eyes with cataracts.

## Full-text entities

- **Diseases:** PNS (MESH:D062706), dilation (MESH:D002311), Cataract (MESH:D002386)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC13030526/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC13030526/full.md

## References

47 references — full list in the complete paper: https://tomesphere.com/paper/PMC13030526/full.md

---
Source: https://tomesphere.com/paper/PMC13030526