O'Reilly logo

Pro iOS 5 Augmented Reality by Kyle Roche

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter  6

Camera and Video Capture

Augmented reality applications typically share one common element: they are built on top of the live video feed.

In this chapter, we’ll start with basic concepts of using the camera, and quickly move on to more advanced examples of video capture, and analyzing the video frame by frame.

In the later chapters, we will be using these concepts to build applications that overlay the video feed.

Quick Review

In Chapter 2, we discussed the importance of checking for the presence and the availability of a sensor or hardware component before trying to access it in your code.

You can programmatically detect what camera is available on your device using the UIImagePickerController class. There is a method called isSourceTypeAvailable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required