MedSAM2 3D Video Tracking —
custom_ops
WASM + WebGPU runs in an ES module worker. The page owns interaction and rendering; the worker owns model weights, NIfTI preprocessing, and tracking.
Controls
1. Load models
2. Run tracker
Clear all
idle
Progress
Objects
+ Add Object
1 object (single-object mode)
No boxes. Draw on any slice -> key for the active object. Draw on another slice -> correction key.
Volume
loading default demo...
Window C/W (HU)
soft tissue = 40/400, lung = -600/1500, bone = 500/1800
Slice
3 / 7
fill_hole_area
(0 = off, 8-16 typical clinical)
binarize from pts
(interactive point correction)
auto-stop after
consec. obj_score<=0 frames (0 = run all)
non_overlap
mem-enc sees per-pixel winners only (multi-obj clinical)
Canvas — draw box with mouse
Tip: draw on any slice for the initial key; draw again on a drifted slice to add a correction key.
Status
Total
-
Key slice
-
Avg prop
-
Slices
-
Range
-
All slices (click to jump)