webcam-mods for Linux background blur & swap

webcam-mods is the best method I have found for webcam background blur/swap on Linux. I use this for my meetings on Google Meet and Webex.

Repo: https://github.com/hamidzr/webcam-mods

Install globally:

pip install git+https://github.com/hamidzr/webcam-mods@master

Original

Original webcam feed with the room visible in the background

Cropped: webcam_mods crop-cam. I was impressed with the interactive cropping mode which allowed me to crop to my profile pretty easily. The crop settings are saved to disk for future runs.

Webcam feed cropped around the speaker

Cropped and blurred: webcam_mods bg-blur

Cropped webcam feed with the room blurred

Cropped with bg: webcam_mods bg-swap

Cropped webcam feed with a replacement background

Video feed was displayed with ffplay.

Runner-ups that I tried:

  • Linux-Fake-Background-Webcam. I found its blur didn’t work quite as well (background and limbs pop in/out), so it was distracting in meetings.
  • fakecam. It was a bit difficult to install (see issue here).