Skip to content

james4388/webcam-background-removal

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

webcam-background-removal

Mimic Zoom webcam background feature run on browser

DEMO

  1. Read image from webcam

  2. Run bodyPix.segmentPerson to get estimate person segments

  3. Turn segments into mask bodyPix.toMask

  4. Clip webcam image with mask using offscreenCanvas

  5. Draw background image

  6. Draw offCanvas on top of background

  7. Done

No compile needed, from the folder, run:


# python 3

python -m http.server

# python 2

python -m SimpleHTTPServer

then access


http://localhost:8000

About

Mimic Zoom webcam background feature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published