Advanced chroma selection key code

I'm working on an application that needs to highlight the background from an image taken by a webcam in front of a green screen. I figured this would be a very common task, but to my surprise, I was having trouble finding code samples for anything more advanced than a simple color threshold, and they didn't quite cut its quality.

I found some pdf documents, but I am having a hard time translating these rather lofty concepts into real implementations, I would rather look at some code.

The focus here is on quality, having a second or more processing time is not an issue.
I'll be using actioncript 3 (and possibly pixel bender) to implement this, but I'd love to look at other languages ​​as well.

If you have any good samples that do this, the whole process or parts, please post them!

+2


source to share


1 answer


If you don't have a high requirement for the quality of flowers, perhaps this ( http://www.quasimondo.com/archives/000615.php ) will be ok. But for high quality video (i.e. 720 * 576 video) this is not an easy task. I spent a lot of time researching the high quality Chemokei algorithm, finally I figured out one algorithm (implemented with c / C ++) for live video that can be used in a non linear video editing system as a plugin or standalone application. I have posted some demo static images on voicethread.com websites, anyone can comment on text or voice there. http://voicethread.com/share/801789/



-1


source







All Articles