Ask Your Question
0

iOS + Stitcher, include/import problem

asked 2013-01-30 01:29:50 -0600

Hi,

I have been using OpenCV in iOS for about 20 days now. I have done some basic operation. However, now I would like to test the stitcher. To use cv::Stitcher, I guess that I have got to somehow include or import the stitcher.hpp file.

I have tried: #include "opencv2/stitching/stitcher.hpp" in my .mm file.

At compilation, the line enum { NO, GAIN, GAIN_BLOCKS }; throw an error in exposure_compensate.hpp as well as the line enum { NO, FEATHER, MULTI_BAND }; in blenders.hpp

I am not the only one to have had this error (http://stackoverflow.com/questions/13222662/opencv-compiler-error-when-using-stitcher-under-ios) but I did not find any answer.

A link to an xcode project that uses the stitcher would be fantastic.

Cheers

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-14 02:36:14 -0600

iEng gravatar image

If you're still having this problem, I have posted a workaround here: http://stackoverflow.com/questions/14127431/strange-unmatched-curly-brace-in-opencv/14870697#14870697

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-30 01:29:50 -0600

Seen: 1,907 times

Last updated: Feb 14 '13