Skip to content

markbrouch/virtual-background-demo

Repository files navigation

virtual-background-demo

A simple Twilio Video app showing how to build a video processor that replaces the background of a video stream.

Try it out!

virtual-background-demo.markbrouch.com Demo

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

How it works

The virtual background video processor pipes video frames through Google's MediaPipe Selfie Segmentation model and then uses Canvas API to composite the virtual background layers.

Check out my upcoming talk at JSConf Budapest to learn more about how I built this!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published