Chroma Key Composition
Chroma key compositing or chroma keying is a common technique to remove the background (typically green) from one or a sequence of images. The background is typically replaced with transparent pixels and then the images are composed with any other background.
Out[2]= | ![](HTMLImages.en/chroma-key-composition/O_16.png) |
RemoveBackground replaces green pixels of the image with fully transparent pixels.
Out[4]= | ![](HTMLImages.en/chroma-key-composition/O_17.png) |
Compose the foreground over a slightly blurred background to also get an out-of-focus effect.
Out[6]= | ![](HTMLImages.en/chroma-key-composition/O_18.png) |
Apply chroma key compositing to all frames of a video.