Ask Your Question

harshi's profile - activity

2013-12-18 23:39:04 -0600 commented answer reading uncompressed video error

Hi I looked at the issues page on opencv's website (http://code.opencv.org/issues/2281), and the commit on GitHub (https://github.com/Itseez/opencv/pull/1516/commits)

But I am not sure how I should use these files to fix the uncompressed video problem. Do I just download all the files and replace my existing files in opencv? I am using OpenCV 2.4.3. Do you know if this bug has been fixed in later versions of OpenCV and if it would help if I just updated my version?

Thanks.

2013-12-18 23:38:34 -0600 answered a question reading uncompressed video error

Hi I looked at the issues page on opencv's website (http://code.opencv.org/issues/2281), and the commit on GitHub (https://github.com/Itseez/opencv/pull/1516/commits)

But I am not sure how I should use these files to fix the uncompressed video problem. Do I just download all the files and replace my existing files in opencv? I am using OpenCV 2.4.3. Do you know if this bug has been fixed in later versions of OpenCV and if it would help if I just updated my version?

Thanks.

2012-12-05 18:39:56 -0600 commented answer Cannot compile FaceDetectVideo example code

I thought this error might have something to do with the iOS versions of the base sdk of the app and deployment target not matching, but I just checked and they both are set to iOS 5.1

I just came across this: http://code.opencv.org/issues/2369

seems like it is an actual bug in the code and has to do with XCode 4.4.

I will try updating xcode and seeing how it goes.

Thank a lot for your help yuval :)

2012-12-05 18:31:15 -0600 commented answer Cannot compile FaceDetectVideo example code

okay I did as you instructed and also followed John's answer. It got rid of the 22 compile errors that I was getting. But now I get this new error:

Undefined symbols for architecture i386: "_objc_setProperty_nonatomic", referenced from: -[CvVideoCamera setCustomPreviewLawer:] in opencv2(cap_ios_video_camera.o).....and a bunch of other stuff.

I am running this on Xcode 4.4

2012-12-05 09:27:29 -0600 commented answer Cannot compile FaceDetectVideo example code

the FaceDetectSimple project that you linked me to uses the older OpenCV framework. I want to use the FaceDetectVideo sample because it uses the newer framework

2012-12-05 09:18:32 -0600 commented answer Cannot compile FaceDetectVideo example code

I got the code by using terminal on the mac and typed in "svn" followed by the link and it automatically did the downloading for me...

2012-12-05 02:22:16 -0600 received badge  Student (source)
2012-12-04 15:24:34 -0600 received badge  Editor (source)
2012-12-04 15:21:56 -0600 asked a question Cannot compile FaceDetectVideo example code

I am trying to compile the FaceDetectVideo sample code for iPhone made by Eduard and can be found on this online repository:

code.opencv.org/svn/gsoc2012/ios/trunk

I have downloaded the opencv framework which is the folder called "opencv2.framework". I also downloaded the "shared" folder found on the above mentioned repository. All the files are there in the xcode project except for the haarcascade files.

The haarcascade files are not in the opencv framework for iOS so I tried adding them to the project from the regular opencv (for PC) library. This did not work however.

I keep getting the compile error:

"directory not found for option '-F/Users/../FaceDetectVideo/.../.../ocv.build/ios

Undefined symbols for architecture i386: "cv::CascadeClassifier::load(std::string const&)", referenced from: -[CvFaceDetector loadCascade:] in CvFaceDetector.o"

There are a bunch of other errors that follow this but I think they are caused by a single problem which I am unable to identify.

If anyone has been able to successfully run Eduard's code on their Mac could you please tell me what steps were involved?

Thanks a lot!