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
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.
Cropped and blurred:
Cropped with bg:
Video feed was displayed with ffplay. Runner-ups that I tried: