Turning endoscopy video into a shape a clinician can read.
Clinicians wanted a faster, more consistent way to characterize esophageal motility. We built the vision pipeline that gets them from raw video to a classifiable shape.
- Client
- Clinicians at an academic medical center
- Status
- Completed, August–September 2025 · pro bono
- Stack
- DINO-MedSAM · Airflow · Python
Reading motility by eye, one video at a time.
Characterizing esophageal motility from endoscopy video meant watching it and forming a judgment. That is slow, and it varies between reviewers—two clinicians can watch the same study and describe it differently.
Segment the lumen, then measure its shape.
We built a computer vision pipeline that localizes and segments the esophageal lumen across the frames of a study, then computes contraction and shape metrics from those segmentations—so the characterization comes from measurement rather than impression.
An Airflow workflow runs the pipeline end to end, and we built a review demo so clinicians could look at the output against the source video and say where it was right and where it wasn't.
- 01 Localize and segment the lumen across frames
- 02 Compute contraction and shape metrics
- 03 Run it end to end in Airflow
- 04 A clinician-review demo
The pipeline produces a "shape funnel" artifact that lets clinicians classify motility patterns faster than reviewing the video directly. The engagement was completed and handed over; we did it pro bono.
Have video nobody has time to review?
Bring the footage and the judgment you're trying to make from it.