RMBG BRIA Lite | 中文文档
Minimal web UI for BRIA RMBG 1.4 (ONNX + WebAssembly). Runs entirely in the browser—no image upload.
modified from zhbhun/rmbg
index.html/styles.css/app.js: simple UI and interaction logic.scripts/: model definition, download, and inference helpers (trimmed from the main repo).models/: BRIA ONNX shards (5 files, ~44 MB).README_zh.md: Chinese version of this guide.
- Serve
rmbg_briaas a static site, e.g.:python3 -m http.server 8000- or
npx serve(requires Node locally)
- Open the served URL (e.g.
http://localhost:8000). - Choose an image, click “Remove Background”, wait for completion, preview or download the result.
- ONNX Runtime WASM is loaded from the default unpkg URL. For offline use, change
defaultONNXPublicPathinscripts/config.jsto a local path and place the corresponding.wasmfiles there. - Model files are the BRIA RMBG 1.4 ONNX shards; use within their license terms.