Ask Your Question

iOS + Stitcher, include/import problem

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


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 ( but I did not find any answer.

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


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-02-14 02:36:14 -0500

iEng gravatar image

If you're still having this problem, I have posted a workaround here:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


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

Seen: 1,624 times

Last updated: Feb 14 '13