Artwork segmentation

Raw-mask diagnostic
Choose a photo or sample. Nothing is uploaded.
Tap the original image to choose a different subject after running.

Original · tap to select

No image

Detected subject

No mask

Raw MediaPipe confidence mask · black = 0, white = 1

No mask

Transparent cutout · thresholded

No mask
Raw mask statistics will appear here after segmentation.
0.48
0.08

The raw mask shows MediaPipe’s actual pixel confidences, independent of the sliders. If most of it is white, the model selected nearly the whole image; if the subject is white and the background black but the cutout is wrong, our transparency rendering is at fault. Uses your existing ../artwork-focal/ detection module and its local ../vendor/ assets. Only the new MediaPipe runtime, WASM, and MagicTouch model download from the internet for this experiment. Your images, subject coordinates, masks, and cutouts are processed in the browser and are not uploaded by this test page. Processing can briefly block the screen on mobile.