Create a virtual background to spice up your online meetings.
Only works on Linux!
Install
- opencv
- v4l2loopback-dkms
sudo modprobe -r v4l2loopback
sudo modprobe v4l2loopback devices=1 video_nr=20 card_label="v4l2loopback" exclusive_caps=1
pip install --user virtualenv
python -m venv
source venv/bin/activate
pip install -r requirements.txt
cd bodypix/
npm install
First start node with node bodypix/app.js
then start python with python virtual_background.py
.
Based on this article