This zipped folder contains an Xcode project demonstrating real-time video green screen effects.
Video productions ranging from feature films to the TV weather forecasts apply green screen effects. The idea is simple. You shoot a video with a solid colored backdrop. Video processing replaces the backdrop color wherever it can be seen with something else like the image of a weather map. When viewing the final result, action in the foreground appears to take place in front of a weather map that was never there.
The demonstration app has been tested with an iPad 2 and an iPod Touch with retina display. It should run well on any iOS device with a camera. The demo doesn’t work in the simulator because the simulator doesn’t provide camera support.
See the companion article at InformIT http://www.informit.com/articles/article.aspx?p=1946398