Ask Your Question

philouuuu's profile - activity

2013-01-30 01:29:50 -0600 asked a question iOS + Stitcher, include/import problem

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