Skip to content

Instantly share code, notes, and snippets.

View johnnydecimal's full-sized avatar

Johnny ‘Decimal’ Noble johnnydecimal

View GitHub Profile
@johnnydecimal
johnnydecimal / README.md
Last active November 11, 2026 00:37
bgblur: blur the background behind the person in a video (macOS, Apple Silicon)

Written by Claude.

bgblur

bgblur blurs the background behind the person in a video. It runs on your Mac, with no cloud service.

Robust Video Matting (ResNet50) creates a mask of the person, and a Core Image lens blur blurs everything outside the mask. The original audio is copied to the output unchanged.

Requirements