Ask Your Question

Adwa's profile - activity

2013-08-01 15:58:26 -0600 received badge  Famous Question (source)
2013-06-17 06:25:30 -0600 commented answer CascadeClassifier VS. cvHaarCascadeClassifier

The same image I send it to both classifiers ! Thanks for replying

2013-06-16 03:25:10 -0600 asked a question "OpenCV for Linux/Mac" Download breakdown !

Blessing upon you all,

Please I wanted to download the prebuilt opencv frameworks for mac/linux, but all links can't complete the download ! I tried all versions from here

  • I was on mac_OSX version 10.7.5

Any help!
Thanks in advance

2013-06-16 03:06:03 -0600 asked a question CascadeClassifier VS. cvHaarCascadeClassifier

Peace and Blessing upon you,

Please, I want to know the difference between the cascade classifier for C++ and C API ?
I had a test code with both, and the one for C++ "CascadeClassifier" was very accurate while the other "cvHaarCascadeClassifier" got a very confusing detections and representations as well

Here are 2 sample images as a result for each classifier

The cvHaarCascadeClassifier - C API - :

image description

The CascadeClassifier - C++ API - :

image description

Note: I was working for mac_OSX on XCode , is there is a dependency that made the results differ !

  • I was on opencv version 2.4.2 , but it's not the main idea for sure ...
2013-06-07 13:28:44 -0600 received badge  Self-Learner (source)
2013-01-23 17:19:24 -0600 received badge  Popular Question (source)
2013-01-23 17:19:24 -0600 received badge  Notable Question (source)
2012-09-19 09:51:28 -0600 received badge  Student (source)
2012-08-26 14:16:20 -0600 answered a question installation steps opencv-2.4.2 (IOS)

There are 2 ways to install and link opencv-2.4.2 to XCode

  1. following the steps mentioned in the question to install, and following this to link XCode. But honestly this way didn't work with me !! it generated an armv7 architecture error !!!

  2. Just an easy, pure way :

    • Download opencv2.framework from opencv.org (it's a prebuilt framework -ready to use directly- )
    • Add it to xcode project as adding any library. if you don't know about that, don't worry :) read the content under the title "Adding the OpenCV Framework" here
    • Add headers >> Follow the steps under the title "Include the OpenCV headers" here
    • Write your test code and Run.

Enjoy :)

2012-08-09 08:50:34 -0600 commented answer installation steps opencv-2.4.2 (IOS)

Your way and mine, both generated a lot of warnings after the [84%] of "make -j4", but it built with no errors (just warnings) - Is that ordinary ?!

let me tell you my pain exactly,

There is an error appears in the XCode project after linking the generated libraries and just create a Mat object and Run : ignoring file /../../OpenCV-2.4.2WithDebug/MyBuildDebug/lib/libopencv_highgui.2.4.2.dylib, file was built for unsupported file format which is not the architecture being linked (armv7)

Do you know any idea?! Thanks in advance

2012-08-09 06:46:50 -0600 answered a question CMake build crash on Mac OS 10.8

I'm sorry I don't know about the error, but I'm replying to the PS.

Kindly, read this article : http://aptogo.co.uk/2011/09/opencv-framework-for-ios/

Good luck!

2012-08-09 06:28:49 -0600 commented answer OpenCV on Mac OS X 10.8 Mountain Lion

Yes, read the illustration under the ""Include the OpenCV headers"" title from : http://aptogo.co.uk/2011/09/opencv-framework-for-ios/ BTW : #include & #import both works as the file now called an objectiveC++ file.

2012-08-08 09:15:25 -0600 commented question OpenCV on Mac OS X 10.8 Mountain Lion

I don't know what IndexParams means, but try to take it->first in a separate line and return it's value and try to print it's fields firstly then if every thing is ok, So "cout << it->first" is illegal.

2012-08-08 05:25:27 -0600 answered a question OpenCV on Mac OS X 10.8 Mountain Lion

Firstly If you are using C++ APIs make sure your files are .mm and not .m and .hpp not .h when writing C++.

Also, the tricky part which I don't know why this works. I read that you need include opencv header BEFORE everything else so, look for your prefix.pch file and add #import "opencv/cv.h" before any #import

Now you can work with OpenCV as usual and #import "opencv2/opencv.hpp" in your .mm files if necessary.

Let me know if that helps!

2012-08-07 09:55:10 -0600 received badge  Organizer (source)
2012-08-06 01:02:31 -0600 received badge  Editor (source)
2012-08-06 00:51:27 -0600 asked a question installation steps opencv-2.4.2 (IOS)

Please say to me what steps i should follow for installing 2.4.2 correctly on ios

I downloaded 2.4.2 from here and I have cmake 2.8.8, then i made the following steps (from inside opencv-2.4.2 dirictory):

1- mkdir build

2- cd build

3- sudo cmake -G "Unix Makefiles" ..

4- sudo make -j8

5- sudo make install

RESULTING IN : install path = usr/local , but there were some warnings during building (sudo make -j8)

Then I followed the steps here to link opencv2.4.2 to XCode project

And still the project couldn't see any opencv method

Please any help ?!