Prosthetic Vision
Phosphene vision simulator
- Timeline
- 2025-26
- Role
- Team lead
- Team
- Three people, capstone
- Award
- CITRIS Tech for Social Good
The mission
Deciding what a retinal implant should show when every point of light has to count.
Retinal implants have very little bandwidth. A camera frame has to be reduced to a sparse pattern of phosphenes, the small spots of light a wearer sees. This workbench turns images and video into those percepts, so different ways of choosing what to keep can be compared on the same scene.
I led the three-person team that built it. We built seven encoders, compared them against a CNN baseline, and chose a mixture-of-experts design.
Results, in simulation
- −41%total loss against a CNN baseline
- −43%boundary loss
- ~200active sites on a 60 × 60 grid
- 10–30frames per second on a CPU
Loss figures are my evaluation on 960 held-out sequences, run with the repository's evaluation script.
Problem
A camera captures more than an implant can show.
With a fixed stimulation budget, giving a site to an object's texture can leave fewer sites for its outline or a nearby obstacle. The design choice is which visual information to keep for the task at hand.
Solution
A workbench that puts two encoders on the same scene.
Load an image or a clip, pick an encoder and a renderer, and the workbench shows the percept beside the maps that produced it. Two setups run side by side, so a change in the percept can be traced to the stage that caused it.

How it works
Five stages from a camera frame to a percept.
- SeeDetection, segmentation, saliency, edges and optical flow mark objects, regions and motion.
- EncodeAn encoder turns those signals into a stimulation map.
- ConstrainThe map must fit a 60 × 60 grid with about 200 active sites.
- RenderA retinal or cortical renderer shows the percept those sites produce.
- TrainEncoder, simulator and decoder train together, end to end.
- Encoders
- Semantic, depth, saliency, edge, motion, CNN and mixture-of-experts
- Renderers
- Retinal and cortical, built on pulse2percept and Dynaphos
- Built with
- Python, PyTorch, OpenCV, YOLO, DeepLabV3, Streamlit

Research
What published studies measured, and what that asks of this one.
| Reference | What the source establishes | What it means for the project |
|---|---|---|
| Simple visual cues | In a simulated-vision mobility experiment, depth cues supported better obstacle avoidance than edge information alone. About half of participants preferred a switchable mode. | Compare against depth-only and edge-only modes on the same task. |
| Personalized encoding | Sighted participants preferred human-in-the-loop optimized stimuli over the naive and deep-encoder baselines tested. | Record preference separately from response time and correct localization. |
| Clinical translation | PRIMA investigators measured visual acuity in implant recipients. Their endpoint and hardware differ from my team's simulator. | Keep simulation loss, simulated task performance and clinical benefit as three distinct claims. |
What I learned
A 41% lower loss is one result. Whether a person can find the doorway is a different one.
The evaluation runs on 960 five-frame clips of two moving digits, and its objective combines reconstruction, edge, phosphene, flicker and sparsity penalties. Real video brings clutter and camera motion that moving digits do not have.
The lesson
Simulation loss, simulated task performance and clinical benefit are three separate claims.
What's next
Run the comparison on real scenes, then with people.
- Pair the models on identical clips.Repeat the comparison on the same saved scene bank and keep the outputs of both models.
- Test the task.Ask participants to locate a target in cluttered simulated scenes. Measure accuracy, latency, response time and failures by scene type.
- Freeze a benchmark.Publish the clips, simulator settings and electrode cap, so disagreements between methods can be reproduced.
Sources

















