I Built My Own Free Background Remover
说明与用途
一个免费的、无需账号、在浏览器中本地运行的背景去除工具,支持HEIC/HEIF,使用BiRefNet-lite和WebGPU,无需后端GPU。
问题
Existing free background removal tools had limits, required login, or lacked support for HEIC/HEIF images from iPhones.
结果
The tool achieves good quality background removal for a variety of objects, including hair and products, without server‑side processing and supports HEIC/HEIF images directly.
工作流
- 1. User uploads an image (JPG, PNG, WebP, HEIC, HEIF).
- 2. The browser loads the BiRefNet‑lite ONNX model via ONNX Runtime Web.
- 3. If WebGPU is available, inference runs on the client GPU; otherwise WebGL fallback is used.
- 4. The model outputs a mask and the background is removed locally.
- 5. User downloads the resulting PNG with transparent background.
证据
I wanted to keep the whole thing simple: Free, No account, No download limits, Supports JPG, PNG, WebP, HEIC and HEIF, Background removal happens locally in the browser
For the model, I went with BiRefNet-lite and converted it to ONNX so I could run inference with ONNX Runtime Web.
It uses WebGPU when available, so the model can run directly on the user's machine.
- 记录日期: 2026-09-21T08:15:24.612Z