A very simple chroma keying addon using GLSL. You can set two parameters.
- keyColor : set background (keying) color.
- threshold : set threshold of the range of key color.
ofxChromaKey chromaKey;
chromaKey.keyColor = ofColor(0, 255, 0);
chromaKey.threshold = 0.8;
chromaKey.begin();
// draw something
chromaKey.end();
The MIT License (MIT)