A very simple chroma keying addon using GLSL.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example add visual studio project files Feb 8, 2016
src update Feb 8, 2016
.gitignore initial commit Feb 8, 2016
ofxaddons_thumbnail.png initial commit Feb 8, 2016
readme.md fix keyColor scale Feb 8, 2016
sample_image.jpg initial commit Feb 8, 2016

readme.md

ofxChromaKey

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.

usage

ofxChromaKey chromaKey;

chromaKey.keyColor = ofColor(0, 255, 0);
chromaKey.threshold = 0.8;

chromaKey.begin();
// draw something
chromaKey.end();

License

The MIT License (MIT)