Tool

Remove background

Drop a photo. Processing stays in this tab. Default model: ormbg (Apache-2.0), downloaded only when you run.

Runs ormbg locally via ONNX Runtime Web (Transformers.js). First run fetches the quantized ONNX (~42 MB, q8) from Hugging Face; later runs use the browser cache. When Cloudflare R2 is enabled we will switch to a self-hosted URL (see MODEL.r2Url).
Drop an image here

or click to choose · PNG, JPEG, WebP

Waiting for an image. No model download until you run.
Original
Result

How it works

  1. You choose a file — it stays in memory in this tab (not uploaded to LocalPix servers).
  2. On run, the site downloads ormbg q8 (~42 MB) from Hugging Face if not already cached, and shows progress.
  3. Inference uses WebGPU only when a GPU adapter is available; otherwise it uses CPU/WASM directly. Output is a transparent PNG.

Model hosting: primary source is Hugging Face onnx-community/ormbg-ONNX. MODEL.r2Url in assets/bg-remove.js is reserved for Cloudflare R2 self-hosting once R2 is enabled on the account. Weights are never committed to git.

FAQ

Do you upload my photo?

No product upload endpoint receives your image for this tool. The only network fetches are the model/runtime from Hugging Face and jsDelivr (CDN).

Why ormbg?

Commercially clear Apache-2.0 default. See licenses. RMBG, BiRefNet, and BEN2 are not used.

Known limits

Large images are resized to 1024×1024 for the model. First load needs ~42 MB free download + runtime memory; low-memory phones (especially older iOS Safari) may fail — try a smaller photo or a desktop browser. WebGPU support varies by OS/browser.