Multi-model · 613.8 MB Combined CPU WASM · 2 Independent Web Workers · MIT + MIT

SegFormer-B0 Clothes → FashionCLIP 2.0 Style Scorer

Stage 1 — Xenova/segformer_b0_clothes (4.4 MB q8 WASM via Transformers.js 3.7.5, MIT) parses 18 clothing classes and isolates a clean garment crop. Stage 2 — patrickjohncyh/fashion-clip (609.4 MB decimal / 605.8 MB ONNX fp32 WASM, MIT, reusing built models/fashion-clip/worker.js) scores editable style & aesthetic prompts on the Full Outfit vs the Stage-1 Isolated Garment Crop so you can measure exact background/context distraction removal.

Loading starter wardrobe scene…

Full outfit vs Stage-1 isolated garment crop

Full outfit + Stage-1 mask

Stage-1 isolated garment crop

Run both stages to compare FashionCLIP 2.0 zero-shot scores on the full outfit vs the Stage-1 isolated garment crop.

FashionCLIP 2.0 zero-shot shift: Full Outfit vs Isolated Crop

Stage-2 FashionCLIP 2.0 probability and cosine similarity shift after Stage-1 garment isolation
Style / Aesthetic Prompt Full Outfit % Isolated Crop % Shift (Δ pp) Full → Crop Cos

Pipeline stage models (613.8 MB combined CPU WASM)

Stage 1 · SegFormer-B0 Clothes Segmentation

Xenova/segformer_b0_clothes · image-segmentation · 4.4 MB q8 · MIT

Waiting to initialise Stage 1…

Stage 2 · FashionCLIP 2.0 Zero-Shot Scorer

patrickjohncyh/fashion-clip · zero-shot-image-classification · 609.4 MB fp32 · MIT

Waiting to initialise Stage 2…

Show the code — Stage-1 isolated garment crop extraction (extractIsolatedGarmentRgba)
Show the code — FashionClipStageClient reusing built models/fashion-clip/worker.js with independent lifecycle