In this chapter, we will focus on building a basic photo capture app, which uses OpenCV to capture the frames of camera input. Our app will enable the user to preview, save, edit, and share photos. It will interface with the other apps on the device, via Android's MediaStore
and Intent
classes. Thus, we will learn how to build bridges between OpenCV and standard Android. In subsequent chapters, we will expand our app, using more functionality from OpenCV.
Note
The complete Eclipse project for this chapter can be downloaded from the author's website. The project has two versions:
A version for OpenCV 3.x is located at http://nummist.com/opencv/4598_02.zip.
A version for OpenCV 2.x is located at http://nummist.com/opencv/5206_02.zip.