Ask Your Question

yuval's profile - activity

2013-01-14 12:39:01 -0500 received badge  Student (source)
2013-01-14 10:39:09 -0500 received badge  Editor (source)
2013-01-14 10:37:33 -0500 asked a question OpenCV 2.4.3 iOS framework processing time (debug/release)

Using OpenCV 2.4.3 iOS framework, cvSobel (and maybe with more functions) gave me very high processing time (x5), compared to an old opencv 2.1 lib compiled with release configuration (I use the same code & release configuration but checking on different OpenCV lib version).

Using the old 2.1 lib with debug build configuration gave me the same high processing time, so my direction on this matter is with the build configuration of the framework.

So my question: I saw that the build_framework.py script build the framework with the release configuration, is the framework optimized for release configuration? why do I get those high processing time while using the same code and configuration but different libs versions, maybe I miss something?

I am familiar with the ticket/bug #2232 and I'm using the latest 2.4.3 framework.

Any help would be appreciated.

2012-12-05 16:21:30 -0500 commented answer Cannot compile FaceDetectVideo example code

Ok, after downloading the code from the svn link you provided and using OpenCV 2.4.3 (download from this site - didn't used a compiled one) it seems that you should update the project settings.

  1. Go to build settings -> framework search path and remove unused frameworks paths (from your error you have the path for "Users/../FaceDetectVideo/.../.../ocv.build/ios" and i think you don't have this path on your system)
  2. You should change the target Compiler language, see here the John answer
  3. I needed to re-insert the XMLs for the ocv data, also i needed to change their path to be "relative for the SDK" in the file location settings)

The project runs with xCode4.5 and iPod5

2012-12-05 06:46:37 -0500 answered a question Cannot compile FaceDetectVideo example code

I didn't manage to grab the code from code.opencv.org/svn/gsoc2012/ios/trunk (can you tell me how?)

But you can use the next FaceDetectSimple project from the next gsoc2012 Git repository https://github.com/Duffycola/gsoc2012

2012-12-04 14:06:37 -0500 commented question iOS: goodFeaturesToTrack, calcOpticalFlowPyrLK, findHomography 6 times slower in global queue than on main thread

Thanks, when you say you run it on the main thread do you mean that you use the same code/GCD implementation with using dispatch_get_main_queue() ? also do you have UI stuff that run on the background ?

2012-12-03 07:07:00 -0500 commented question iOS: goodFeaturesToTrack, calcOpticalFlowPyrLK, findHomography 6 times slower in global queue than on main thread

Can you supply more details on the background/global queue you use ?