I am trying to do green screen subtraction in real time on iOS. I have included openCV in my project and I can get the raw data from the camera using this tutorial: http://www.benjaminloulier.com/articles/ios4-and-direct-access-to-the-camera
Then after I convert from CGImageRef to IplImage.
What I am stuck at is, using openCV, how can I do this green screen subtraction? Or is there a simpler image library I can use for iOS to achieve this?
Thanks
For those looking for an answer to this, I ended up using openCV. It’s works great (for an iPhone app). Take a look at the source code in the description of this video: http://www.youtube.com/watch?v=aE0F4F5WIuI