Skip to content

Simple background blur for your webcam

License

Notifications You must be signed in to change notification settings

stwa/backgroundblur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backgroundblur

Simple background blur for your webcam.

This script will capture your webcams output, add a blur effect to the background and output the generated image to another (virtual) video device.

Installation (venv)

python -m venv venv
source venv/bin/activate

pip install -r requirements.txt

Setup video device

sudo modprobe v4l2loopback exclusive_caps=1 devices=1 video_nr=20 card_label=backgroundblur

There should now be a new video device under /dev/video20.

Run

./blur.py --input /dev/video0 --output /dev/video20

Tested with python 3.9.7

About

Simple background blur for your webcam

Topics

Resources

License

Stars

Watchers

Forks

Languages