The iPhone SDK4 brought a lot of interesting features. Among them the direct access to the camera is a real asset for AR (Augmented reality) applications or in a more general way for all applications processing the image/video to modify it or extract informations. I played around with the new related APIs so I'm going to tell you more about it and share some snippets showing how to use these APIs. If you want to know more about the AVFoundation framework, AVCaptureDeviceInput, AVCaptureVideoDataOutput and AVCaptureSession this article is for you.
Augmented reality can be qualified as a "hot topic" in IT, especially since the arrival of all the phone on steroids (iPhone, Android ...) as I like to call them. I'm working on a small application which uses ARToolKitPlus and the new camera APIs of the iPhone SDK4 to display 3D objects in augmented reality. You'll find in this post a video showing how it looks like for now and some explanations about augmented reality. Also I'll release the code under GPL (as ARToolKitPlus is) soon , so stay tuned !
For those who have been waiting for the code of the virtual reality application for iOS, here it is. Note that it has been released under GPL license.