Almost every chapter of the book describes a separate project. There are 15
Xcode projects for 17 chapters in the book. Chapter 16 extends the project of
Chapter 14, and for Chapter 17 you need only OpenCV source code.
First of all you will need a computer with Mac OSX and Xcode. An iOS device
is also helpful, since not all samples can be executed on Simulator.
Install OpenCV v2.4.6 or newer. You can go to http://opencv.org, click on
Downloads, and download the latest OpenCV framework for iOS. Copy it to the
folder with this code.
Now you can import sample projects to Xcode and run them on Simulator or a
real device.
For detailed instructions and explanations please refer to the book.
Chapters
Getting Started with iOS helps you to setup your development environment
and run your first "Hello World" iOS application.
Displaying Image from Resources introduces you to basic GUI concepts on
iOS, and covers loading of an image from resources and displaying it on the
display.
Linking OpenCV to iOS Project explains how to link OpenCV library and
call any function from it.
Detecting Faces with Cascade Classifier shows how to detect faces using
OpenCV.
Printing Postcard demonstrates how a simple photo effect can be
implemented.
Working with Images in Gallery explains how to load and save images
from/to Gallery.
Applying Retro Effect demonstrates another interesting photo effect,
which makes photos look old.
Taking Photos From Camera shows how to capture static images with camera.
Creating Static Library explains how to create a Static Library project
in Xcode.
Capturing Video from Camera shows how to capture video stream from
camera.
Control Advanced Camera Settings explains how to control advanced camera
settings, like exposure, focus and white balance.
Applying Effects to Live Video shows how to process captured video
frames on the fly.
Saving Video from Camera explains how to save video stream to the device
with hardware encoding.
Optimizing Performance with ARM NEON explains how to use SIMD
instructions to vectorize you code and improve performance.
Detecting Facial Features presents a simple facial feature detection
demo.
Using Accelerate Framework explains how to link the framework, and how
to use it for performance optimization.
Building OpenCV for iOS from sources explains where to get and how to
build the latest OpenCV sources.
请发表评论