vision / background-removal
Background removal
Separates the subject from the rest of the frame as a full-resolution alpha mask. Quality is judged at hair and edge level, where small matting errors are most visible; the HD mode runs a dedicated matting network per image.
2 entries
Catalog comparison
Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.
| Entry | Entry type | Framework | Resources | License | Browser evidence | Links |
|---|---|---|---|---|---|---|
The @imgly/background-removal library with its two ISNet builds: isnet_quint8 for speed and isnet_fp16 for quality. Weights are fetched from IMG.LY’s CDN at run time, so the download is not a file in the npm package. Tasks: Background removal | Tool / library | ONNX Runtime Web | isnet_quint8: Not verified isnet_fp16: Not verified | Code license: Custom Weight license: Not verified | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
BiRefNet-lite at 512x512, the HD background-removal path: a dichotomous segmentation model that keeps hair and thin edges the ISNet models lose. Loaded as fp16 on WebGPU, so it falls back to nothing on devices without WebGPU fp16 support. Tasks: Background removal | Model | Transformers.js | fp16: 93.9 MiB fp32: 183.0 MiB | Code license: Apache-2.0 Weight license: MIT | Upstream browser example Reference ↗Source review is not a browser execution test. | |
Sources and comparison details
Deployment variants
Performance and compatibility measurementsCompare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size. Not measured
| ||||||
Application workflows
About Background removal
Background removal under Vision holds 2 catalogue entries: 1 models, 1 tools or libraries.
2 of them carry browser evidence, all from upstream browser examples.
The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to ONNX Runtime Web and Transformers.js, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.
To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.
At a glance
- Entries
- 2 in total
- Main runtime
- ONNX Runtime Web and Transformers.js
- Smallest known weights
- 93.9 MiB
- Browser evidence
- 2 of 2 verified
Background removal: common questions
- Can Background removal run directly in a browser?
- Yes. 2 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
- How large is the model for Background removal?
- The smallest weight on record here is 93.9 MiB; the other entries in this task have no verified size yet. Browser builds usually ship int8 or 4-bit quantised variants, downloaded once and reused from the HTTP cache or Cache Storage.
- Which devices suit Background removal?
- Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
- Does running a model here upload my data?
- The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.