← all repositories

Volcomix/virtual-background

Browser-based demo applying virtual backgrounds to live video using ML person segmentation models.

522 stars TypeScript Computer Vision
virtual-background
Velocity · 7d
+0.3
★ / day
Trend
steady
star history

This demo showcases adding virtual backgrounds to a live video stream directly in the browser. It implements and compares three different ML-based person segmentation models: BodyPix (TensorFlow.js), MediaPipe Meet Segmentation (TFLite/WASM), and ML Kit Selfie Segmentation. The project supports multiple backends including Canvas 2D with CPU processing, WebGL 2 shaders, and WebAssembly for inference acceleration.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.