Skip to the content.

Chroma Key (Greenscreen)

Back to OpenCV

https://en.wikipedia.org/wiki/Chroma_key

Write a function that applies a background to an image with a green screen.

My Solution (has a bit of extra stuff since it applies a background to every image in a directory)

Starting Images

image

Download Image

image

Download Image

Example Solution

image

My Solution