A very simple chroma keying addon using GLSL.
C++ Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
src
.gitignore
ofxaddons_thumbnail.png
readme.md
sample_image.jpg

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)