A few weeks ago I mentioned a build script for easily building OpenCV and a precompiled OpenCV 2.3 binary. I received some feedback from those having issues using OpenCV 2.3.
Everything worked fine when used on OpenCV 2.2. However, if you tried to use the newer OpenCV 2.3 you ran into build problems due to a naming conflict. There are also some additional problems when compiling under Lion. Since quite a few of the newer OpenCV tutorials use OpenCV 2.3+ it’s likely the build you’ll want.
Fortunately, a sample project has been created including OpenCV 2.3.1 precompiled for iOS devices that you can run straight out, and use as a template for OpenCV apps. You can also take a look at the project and figure out how to get started with OpenCV on iOS.
You can find the sample on Github here:
https://github.com/BloodAxe/opencv-ios-template-project
You can read the full guide over on Computer Vision Talks about the technique used to get around the naming problem here.
A great sample so you can avoid any troubles when you need to use the newer OpenCV 2.3.1 within an app.
©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.