Skip to content
A very simple chroma keying addon using GLSL.
C++ Makefile
Branch: master
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
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)

You can’t perform that action at this time.