For now, we have some basic framework for testing image processing and computer vision algorithms. Now it's time to add OpenCV to your project and add your first call to the library. You will learn how to convert
cv::Mat, and make a call to the C++ library using Objective-C code.
First you should download the OpenCV framework for iOS from the official website at http://opencv.org. In this book, we will use Version 2.4.6. You can use the iOS Simulator to work on this recipe. Source code for this recipe can be found in the
Recipe03_LinkingOpenCV folder in the code bundle that accompanies this book.
The following are the main steps to accomplish the task: