This little project aims to implement virtual background on live video stream using MediaPipe library.
We use Image Segmentation feature and Selfie Segmentation model to detect background and person.
References:
- Codepen Demo https://codepen.io/mediapipe-preview/pen/xxJNjbN
- Image Segmentation Doc https://ai.google.dev/edge/mediapipe/solutions/vision/image_segmenter
- Web Implementation Doc https://ai.google.dev/edge/mediapipe/solutions/vision/image_segmenter/web_js
- Github Demo https://github.com/google-ai-edge/mediapipe-samples/tree/main/examples/image_segmentation/js