L2 · Live demo · Colonoscopy

PolypShift: outline a polyp, on your device

A ResNet34 U-Net trained on Kvasir-SEG marks every pixel it thinks is polyp. It scores Dice 0.894 on held-out Kvasir images but 0.649 to 0.754 on other hospitals' equipment. Try an example or your own image and move the threshold.

Input

Example (Wikimedia Commons, no expert masks)
Loading…

Model output

Waiting for the model…

The area is a share of the picture, not a physical size: it changes with camera distance. An empty mask does not rule out a polyp. Every training image contained a polyp, so the model can also mark normal tissue.

Model: ONNX export of the shipped U-Net with its weights stored in 16-bit (49 MB, computed in 32-bit). Downloaded once, then cached by your browser.

Predicted polyp (blue)

Mask overlay at the chosen threshold
Raw probability map (256 × 256 model input)