Guide

Live Camera Background Removal

Real-time virtual backgrounds in the browser — no install, no Zoom plugin, no green screen.

How it works

The tool requests webcam access via getUserMedia, runs every frame through RMBG-1.4 in a Web Worker, and composites the masked subject onto a virtual background (solid colour, blur, or your uploaded image). Inference happens at ~10–15 fps; the canvas composite renders at 60 fps for smooth output.

GPU requirements

For best performance use a browser + device combo that supports WebGPU:

  • Chrome 113+ or Edge 113+ on Windows/macOS with a dedicated GPU — 15+ fps inference
  • Chrome on Android (with WebGPU enabled) — 8–12 fps on flagship phones
  • Firefox / older Chrome — falls back to WASM. ~3–5 fps. Still works but noticeably choppier.
  • Safari (any platform) — WASM fallback. WebGPU support is rolling out gradually.

Lighting tips

  • Soft, even lighting on your face — the model handles complex backgrounds well but struggles with harsh shadows on the subject.
  • Avoid strong backlighting — a bright window behind you turns the subject into a silhouette the model can't mask cleanly.
  • Distance from background — sit at least 1 metre from the wall. Tight spaces make edge separation harder.
  • Don't wear colour matching your background — green shirt against green wall is a worst case.

Using with Zoom / Meet / OBS

This tool runs in a browser tab — it produces a virtual background but doesn't directly inject into Zoom or Meet. To use it with video conferencing:

  1. Install OBS Studio (free) and add a Browser Source pointing to this page.
  2. Install OBS Virtual Camera output.
  3. In Zoom / Meet / Teams, select "OBS Virtual Camera" as your camera input.

For just recording, use the built-in record button to save a WebM clip directly from the browser.

Troubleshooting

"Camera AI started but produced no output within 60 seconds" — usually a transient CDN issue (the model file is downloading). The tool auto-retries every 2 seconds and forces CPU fallback on the third attempt. If it persists, refresh once — after the first download, the model is cached and starts instantly on subsequent visits.

Stuttering / low fps — close other GPU-intensive tabs (video editors, 3D web apps, AI chat tools). The model competes with them for VRAM.