OpenCV tutorial project on Github ?

asked 2016-04-20 04:21:28 -0600

rajeshThevar gravatar image

updated 2016-04-20 15:35:48 -0600

I could not follow up much with openCV tutorials, Is there xCode, iOS project downloads available of those tutorials mentioned in the openCV tutorial link. So I could understand better ? Or any other materials to learn using openCV with xCode to create iOS apps ?

edit retag flag offensive close merge delete

Comments

Step 1. Do not build framework from scratch. Step 2. Download already built framework from here. Step 3. Add framework to project, but NOT binaries....dont ask me why. :o) Step 4. Add a C++ file to your project and import opencv files in the .hpp file with an ifdef.

#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif

Step 5. Change ViewController.m file to ViewController.mm. Step 6. Import C++ file that you created and opencv2/imgcodecs/ios.h into ViewController.h file. Start project. I havent tried it with Swift, since I refuse to learn Swift......just like I refuse to learn a language to post a tutorial here ;op but it should work with Swift.

jmbapps gravatar imagejmbapps ( 2016-04-20 15:03:15 -0600 )edit

All of that is outdated. iOS 5 I think and it is an older opencv framework. I have two apps in the App Store that use opencv. Find Edges and FindCircles. Take my advice, I spent 6 months, 12 to 16 hours a day trying to figure it out. Now I think I have it figured and I am willing to help. Email me if you wish. If you start a new Xcode project and use the Single View Application template, then follow my instructions, you should be good.

jmbapps gravatar imagejmbapps ( 2016-04-20 16:02:32 -0600 )edit

How to contact you, I could not find your email ID or LinkedIn.

rajeshThevar gravatar imagerajeshThevar ( 2016-04-20 23:27:06 -0600 )edit

It is located on my profile page under 'email'.

jmbapps gravatar imagejmbapps ( 2016-04-21 07:28:25 -0600 )edit