All work

Surgical AI · VirtaMed · 2022 – now

Laparoscopic Skills Trainer

Computer vision that referees keyhole-surgery drills, running entirely in the browser.

2:05
Objects are counted as they cross mid-air from one side to the other and back.

A browser app that watches a laparoscopic box trainer through its camera, recognises the kit and the progress of the task in real time, and scores the exercise. All inference runs on the device.

The problem

Laparoscopic skills are built on box trainers: a camera, two instruments and a set of standard drills. Someone has to watch each attempt and judge it, and that someone is usually a surgeon.

What I built

A web application that turns the box trainer’s own camera into the examiner. Open a page, place the kit, and the app recognises it, walks the trainee through the task and scores the result.

  • It sees the task. Real-time vision models analyse the live camera feed: the kit, the instruments and the objects being manipulated.
  • It follows the steps. Each drill is a sequence of steps such as insert the instruments, cut the first half of the circle or tighten the loop on the black mark, and the checklist advances as they are completed.
  • It gives feedback as you go. Overlays show where the instruments should be, instruction banners and reference clips explain each step, and a timer and counters keep score.

How it works

The vision models are developed in PyTorch and deployed to the browser, where inference runs fully client-side on the trainee’s own device. The interactive gameplay is written in TypeScript, and I built custom evaluation metrics to track how the models and the system as a whole perform.

More videos

  • 1:25

    Precision cutting

    The cut is tracked against the printed circle, half by half.

  • 0:51

    Ligating loop

    Loop placement is checked against the mark on the foam organ.

  • 1:18

    Extracorporeal knot

    A simple suture through a penrose drain, timed and checked step by step.

  • 2:50

    Stratafix guidance · incision closure

    A continuous closure followed from first pass to final cut.

Open this page on your phone

Point your camera at the code.

demtsev.com/work/laparoscopic-skills-trainer

Open PDF(opens in a new tab)

Pages are shown as images. Open the PDF or the original for a text version.

Ask about Daniil

Loading…