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.
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