Using fastai to distinguish between foreground and background in webcam videos. Then blur the background using OpenCV.
I published this project on my blog, if you want to read the tutorial it's best to do so on my blog. To just run the code, you can download these notebooks however.