Skip to content

ANGJustinl/rmbg_lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Contents

  • 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.

Usage

  1. Serve rmbg_bria as a static site, e.g.:
    • python3 -m http.server 8000
    • or npx serve (requires Node locally)
  2. Open the served URL (e.g. http://localhost:8000).
  3. Choose an image, click “Remove Background”, wait for completion, preview or download the result.

Notes

  • ONNX Runtime WASM is loaded from the default unpkg URL. For offline use, change defaultONNXPublicPath in scripts/config.js to a local path and place the corresponding .wasm files there.
  • Model files are the BRIA RMBG 1.4 ONNX shards; use within their license terms.

About

remove background with onnxruntime in browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published