Compositing node
Remove Background
Uses Apple's on-device Vision framework to cut a subject or person cleanly out of a live camera feed — no green screen required. Runs fast enough for live performance, with adjustable feather, threshold, and contrast on the cut edge.

What it does
Remove Background is a compositing node: it layers, masks and routes pictures. It takes picture in and gives picture out.
Try it
Drop yourself into a rotating 3D starfield with nothing but a webcam.
WebcamRemove Background3D Starfield
Inputs and outputs
Inputs
- picture input
Outputs
- picture out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| detect | Subject (macOS 14+), Person (macOS 12+) | 0 |
| output | Cutout, Mask only, Background only | 0 |
| feather | 0 to 4 | 0 |
| threshold | 0 to 1 | 0.5 |
| edge contrast | 0.5 to 8 | 1 |
| auto refresh (video) | on or off | off |
| bg opacity | 0 to 1 | 0 |
Example patch
This patch wires Remove Background to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Remove Background: a starting patch for the Remove Background node
node 1 Compositing Remove Background
id node
pos 520 300
end
node 2 Source Ramp
id in0
pos 0 300
end
node 3 Utility Output
id out
pos 1080 300
end
cable node 0 in0
cable out 0 node