Realtime Greenscreen Keyer

For a Photo Booth application i was supposed to create a green screen key running in realtime. I used openframeworks and a glsl fragment shader for the keying. It is based on the difference color key and works pretty well in realtime with an hd videostream. The pictures show the original footage and the keyed result with an abstract background.

greenscreen01

greenscreen02

live keyed example

Link to the shader code.



Leave a Reply

Your email address will not be published. Required fields are marked *