License credits

SI Background Remover uses these open source models and libraries. Thank you to their authors.

ComponentWhat it does hereLicense
BiRefNet LiteGeneral subjects (the default)MIT
MODNetPortraitsApache 2.0
U²-NetpLightweightApache 2.0
IS-NetEarlier fallback, credited for completenessApache 2.0
ONNX Runtime WebRuns the models in your browserMIT
PyMatting (adapted)Cleans colour at soft edgesMIT
fflateWrites your PNGMIT
ViteSmall loader in the pageMIT

ONNX Runtime also ships third-party notices. The example photos are public domain or CC0, and each example result is real output from this tool.

Full attribution record
# Shipped licenses

This file records third-party models, runtime libraries, and assets. No BRIA model or @imgly/background-removal code is included.

## Models

Fix round1 model entries identify the selected general-subject replacement. Model hashes/configuration, not the historical initial release, identify each artifact.
- MODNet (explicit Portraits mode; people only): Apache-2.0, https://github.com/ZHKKKe/MODNet/blob/master/LICENSE . Authors: Zhanghan Ke et al. Pinned ONNX conversion Xenova/modnet at fa2fa546052fba4c08921230a26cc69a333fca12, https://huggingface.co/Xenova/modnet . Commercial redistribution permitted with the Apache license and notices.
- U²-Netp: Apache-2.0, https://github.com/xuebinqin/U-2-Net/blob/master/LICENSE . Authors: Xuebin Qin et al. The small public ONNX conversion (optional Lightweight mode) is pinned in apps/background-remover/src/model-config.js. The pinned conversion is served from this Pages site with its SHA-256 verified at build time.
- BiRefNet Lite (general subjects on WebGPU desktop): MIT, Copyright (c) 2024 ZhengPeng. https://github.com/ZhengPeng7/BiRefNet/blob/main/LICENSE . Pinned browser-tuned float32 ONNX export: https://huggingface.co/CoderViking/birefnet-lite-onnx at revision dc06453148f01ef4131f17e9b791345e32e8ee78; its model card declares MIT and records the original BiRefNet_lite weights revision 7838f1c3472f827cd8ce13ab5ccc2ce48077360f. This export uses a numerically validated GridSample decomposition of deformable convolution, fixed 1024 px input, ImageNet normalization and sigmoid logits. SHA-256: 50a57872cc739192446da2a934159f957c81af8b5a161dfda8e3daa51660ca67. The unchanged model bytes are served in 16 MiB Pages parts. Its MIT text is included in quality/licenses/BiRefNet-MIT.txt and public credits. The earlier 512 fp16 candidate measurements do not describe this export.

- BiRefNet Lite 768 MatMul-only q8 with decoder projection rewrites (phones and CPU-only browsers): MIT, same upstream checkpoint and license as BiRefNet above. The proper static768 PyTorch export is independently checked against the original pinned checkpoint. Parent dynamic QInt8 quantizes only constant-weight MatMul and leaves all381 original convolution initializer arrays unchanged. Two named group1 pointwise decoder convolutions are subsequently partitioned into their exact source-weight slices; eligible linear Resize operations commute with those projections. This preserves the mathematical operation within measured floating-point roundoff and does not alter the trained checkpoint. Recipes/source hashes/export versions and independent native/browser proofs are in quality/fix-round-1/static-768-provenance.json, static-768-matmul-q8-provenance.json, decoder-linear-provenance.json and decoder-attention-provenance.json. Final generated artifact SHA-256: 53e39ef1e94788c56f31a7f2de4e7f16a6a92b5ed5e085e553239ae900d3f24f, 109,854,167 bytes. Seven immutable16MiB-or-smaller Pages parts redistribute this derived MIT artifact. A fresh cache bootstrap verifies the real first published parts and combined SHA; no invented upstream download URL is assigned.

- IS-Net general use (evaluated1024 CPU fallback in earlier previews): Apache-2.0, Xuebin Qin et al., https://github.com/xuebinqin/DIS/blob/main/LICENSE.md . Quantized ONNX conversion Ko033/isnet-general-use-onnx, revision 5349b617911fd60c619b52f32e2b593517b78df3, declares Apache-2.0. Its card records a rembg ONNX export with auxiliary outputs stripped and Transformers.js dynamic-int8 conversion; no rembg or Transformers.js code ships. SHA-256 5039225b9a4ac3df55f185d24b7a92d640c86cc4747002d7f23351e394de03a6. The unchanged model was served as three Pages parts in earlier verification previews; it is not the current portable candidate. Full Apache text is included in quality/licenses/ISNet-Apache-2.0.txt and public credits. DIS5K dataset terms differ from the model license; DIS5K is not redistributed or used for this commercial-site evaluation.

## Browser libraries
- onnxruntime-web 1.30.0: MIT, Copyright Microsoft Corporation. https://github.com/microsoft/onnxruntime/blob/main/LICENSE . Third-party notices: https://github.com/microsoft/onnxruntime/blob/main/ThirdPartyNotices.txt . Runtime ships JavaScript, WebAssembly and WebGPU implementations.
- fflate 0.8.2: MIT, Copyright Arjun Barrett. https://github.com/101arrowz/fflate/blob/master/LICENSE . Used for streaming PNG compression.

- PyMatting 1.1.14 foreground/background estimation algorithm: MIT, Copyright (c) 2020 Thomas Germer, Tobias Uelwer, Stefan Conrad, and Stefan Harmeling. https://github.com/pymatting/pymatting/blob/master/LICENSE . The bounded JavaScript foreground-color implementation is adapted from its multilevel estimation method. No Python runtime, NumPy or SciPy ships in the browser. The original complete notice is retained in verification/fix-round-2/PyMatting-MIT.txt and served with the public license credits when this implementation is bundled. Experimental closed-form alpha routines are evaluated separately; their evaluation does not imply that automatic alpha refinement is enabled.

- Vite 8.3.4 browser modulepreload shim: MIT, Copyright VoidZero Inc. and Vite contributors; https://github.com/vitejs/vite/blob/main/LICENSE . The small generated shim ships with the built app; its full installed license is served with the credits.
- Cloudflare Web Analytics beacon: hosted service script, loaded unmodified from static.cloudflareinsights.com rather than redistributed in this repository. Service terms: https://www.cloudflare.com/terms/ ; service documentation: https://developers.cloudflare.com/web-analytics/ .

## Build and verification
- Vite 8.3.4 build tool: MIT; same license as the browser shim above.
- Playwright 1.64.0: Apache-2.0; https://github.com/microsoft/playwright/blob/main/LICENSE.
- Lighthouse 13.4.0: Apache-2.0; https://github.com/GoogleChrome/lighthouse/blob/main/LICENSE.
- sharp 0.34.5: Apache-2.0; https://github.com/lovell/sharp/blob/main/LICENSE. libvips LGPL-2.1-or-later, https://github.com/libvips/libvips/blob/master/COPYING.
- Wrangler 4.81.0: MIT/Apache-2.0; https://github.com/cloudflare/workers-sdk/blob/main/LICENSE-MIT, https://github.com/cloudflare/workers-sdk/blob/main/LICENSE-APACHE.

## Assets
Native system fonts; no font files redistributed. Example photo sources and transformations are recorded in ASSETS.md and quality/example-ledger.json. Benchmark-only assets are excluded from the public bundle unless their redistribution licenses have been verified.

License texts for the shipped model families are included in quality/licenses/ and made available on the credits page.

Full installed dependency license texts are available under node_modules/<package>/LICENSE and captured in the lockfile's dependency graph.

# Public example assets

OBSERVED 2026-10-10. The published before/after pairs are made from CC0 or public-domain sources. Each `after.webp` is an actual computed output, with transparency, rather than the source cutout reused as a claimed result.

- `product-*`: Ficus plant alpha cutout composited over a CC0 photographed desk/glass scene, then actual browser BiRefNet Lite 1024 inference and PNG export.
- `pet-*`: photographic cat alpha cutout over a public-domain mountain photo, then actual browser BiRefNet Lite 1024 inference and PNG export.
- `portrait-*`: public-domain U.S. government portrait cutout over the desk scene, then actual browser BiRefNet Lite 1024 inference and PNG export.
- `signature-*`: public-domain historical signature over white, then alpha = 1 − min(R,G,B)/255 with white color decontamination.

Pairs use the same 720×540 center crop. Source thumbnail resolution is below that for some subjects; do not use these as evidence of full-resolution edge accuracy. Processing provenance is recorded in `quality/example-ledger.json`; upstream metadata and hashes in `quality/source-ledger.json`.

| Source id | Source and license page | License | Original attribution |
|---|---|---|---|
| plant | [File:Ficus lyrata indoor house second floor Transparent - July 2026.png](https://commons.wikimedia.org/wiki/File:Ficus_lyrata_indoor_house_second_floor_Transparent_-_July_2026.png) | CC0 | Ranch9613 |
| glass-review | [File:Glass of water refracting light.jpg](https://commons.wikimedia.org/wiki/File:Glass_of_water_refracting_light.jpg) | CC0 | MarshyBoardwalk |
| cat | [File:Cat Stretch.png](https://commons.wikimedia.org/wiki/File:Cat_Stretch.png) | CC0 | Lisafern |
| mountain2-bg | [File:Mount McKinley (5300913481).jpg](https://commons.wikimedia.org/wiki/File:Mount_McKinley_(5300913481).jpg) | Public domain | Denali National Park and Preserve |
| blanton | [File:Lewis M. Blanton, U.S. Magistrate Judge (transparent background).png](https://commons.wikimedia.org/wiki/File:Lewis_M._Blanton,_U.S._Magistrate_Judge_(transparent_background).png) | Public domain | United States District Court for the Eastern District of Missouri |
| signature | [File:Vladimír Remek - podpis (transparent).png](https://commons.wikimedia.org/wiki/File:Vladim%C3%ADr_Remek_-_podpis_(transparent).png) | Public domain | Harold |

CC0 and public-domain status was read from the individual file metadata/license page, not from the license covering Wikimedia structured metadata. BiRefNet is MIT; its complete notice is in `quality/licenses/BiRefNet-MIT.txt`. The previous MODNet example outputs were replaced in fix round 1; the source licenses remain unchanged.

Round 2 adds two public, noindex diagnostic photographs. They are excluded from the offline shell preload and are not claimed as exact-alpha ground truth or unchanged remove.bg comparison inputs. `/bench-12mp-hair.jpg` is a 3000×4000 top-aligned crop/resample of [Airam Dato-on's windblown-hair photograph](https://www.pexels.com/photo/woman-posing-while-the-wind-blowing-her-long-hair-9649562/), under the [Pexels License](https://www.pexels.com/license/). `/bench-12mp-glass.jpg` is a 4000×3000 crop/resample of [congerdesign's bottle and glass photograph](https://commons.wikimedia.org/wiki/File:Bottle_and_glass_of_red_wine.jpg), CC0. Both use JPEG quality92. The exact original bytes, source dimensions and hashes are frozen in `quality/fix-round-2/real-review/manifest.json`; generated benchmark hashes are recorded with the deployed measurements. The original `/bench-12mp.jpg` remains the disclosed 4000×3000 resized product example used by the round-1 memory test.