← All models · MODNet

use case · multi-model

Multi-model: matte → classify the subject

MODNet answers "which pixels are the subject?" ViT answers "what is it?" Chain them: matte the subject onto a clean backdrop, then classify only the cut-out. With the background removed, the classifier can't be swayed by the couch or the sky — recognition on the subject alone. Two models, one image, entirely on your device.

1 · Matte the subject (MODNet)

Two cats with fur A smiling woman with long flowing hair A woman with dark wispy bangs

2 · Classify the cut-out (ViT)

Cut-out fed to the classifier

Top labels (subject only)

← Wild · Back to MODNet