Ask Your Question

SergeyOleynich's profile - activity

2017-03-24 03:05:21 -0600 received badge  Enthusiast
2017-03-22 10:13:58 -0600 asked a question Error while make stitch

Hi guys try to implement stitching in my xcode project. Download and create opencv framework from contrib.

Stitcher stitcher = Stitcher::createDefault(true); stitcher.setFeaturesFinder(makePtr<cv::detail::surffeaturesfinder>()); stitcher.setWaveCorrection(true); Stitcher::Status status = stitcher.stitch(images, result);

I receive such error libc++abi.dylib: libc++abi.dylib: terminating with uncaught exception of type cvflann::anyimpl::bad_any_cast

Also I receive this error when simple download opencv 3.2 framework.

Could anybody explain me what it maybe?

2017-03-22 09:22:49 -0600 asked a question Could not launch open-cv contrib in xcode for iOS?

Hi I download archive from here http:// github.com/bcomeau/opencv/releases/download/3.2.0/opencv-3.2.0-ios-framework.zip also I create my own framework with opencv extra modules https:// github.com/opencv/opencv_contrib but when I insert it in my project I receive such error

#import < opencv2/opencv.hpp >

file not found. But I see this file in the project

http:// joxi.ru/eAOYBpkIxG6KXm

What is wrong and shy I did not see this files?

Also I create empty project and have such error

enum { NO, FEATHER, MULTI_BAND }; - Expected identifier What does it mean?

2017-03-14 15:20:52 -0600 commented question Hi, I have the error while try to create panorama.

Ok thanks you)

2017-03-14 10:26:10 -0600 commented question Hi, I have the error while try to create panorama.

Please can you explain what this parametr do? Also I have a memory issue when try to make pano on iPhone6. Maybe you can get me some advice?

2017-03-14 08:36:53 -0600 commented question Hi, I have the error while try to create panorama.

Sometimes it works but sometimes not.

2017-03-14 03:28:40 -0600 asked a question Hi, I have the error while try to create panorama.

I try to create panorama with 3 images in this way

Stitcher stitcher = Stitcher::createDefault(true);

stitcher.setBundleAdjuster(cv::makePtr<NoBundleAdjuster>());
stitcher.setRegistrationResol(1);

Stitcher::Status statusTransform = stitcher.estimateTransform(images);
if (statusTransform != Stitcher::OK) {
    if (statusTransform == Stitcher::ERR_NEED_MORE_IMGS) {
        string strMytestString1("Transform need more images");
        cout << strMytestString1;
    }
}

Stitcher::Status status = stitcher.composePanorama(images, result);

and receive such error. Please can anybody help me?

OpenCV Error: Assertion failed (imgs.size() == imgs_.size()) in composePanorama, file /Users/kyle/code/opensource/opencv/modules/stitching/src/stitcher.cpp, line 132 libc++abi.dylib: terminating with uncaught exception of type cv::Exception:

2017-02-01 09:58:57 -0600 received badge  Editor (source)
2017-02-01 09:53:38 -0600 asked a question Stitch process failed on iPhone6s

Hi. I try to create stitch for photos. I use this functions

    Mat result;
    Ptr<Stitcher> stitcher = Stitcher::create(Stitcher::PANORAMA, true);
    Stitcher::Status status = stitcher -> stitch(images, result);

for iPhone5(iOS 8) it is ok. But for iPhone6S(iOS 10.2.1) I got the error

    libc++abi.dylib: terminating with uncaught exception of type cvflann::anyimpl::bad_any_cast

Please can anybody help me?

2017-02-01 04:10:48 -0600 commented question How can I create 360 pano image?

I try to compress images but it also fails. Maybe I should use some additional settings on images or set some values (properties filters blender) to stitcher?

2017-01-30 10:00:15 -0600 asked a question How can I create 360 pano image?

Hi. Please can you help me with stitch method? I try to implement stitch 360 pano image using iPhone. I have implemented yet simple stitch method from Stitcher class. But When I try to set 24 images to it I got out of memory warning. Please can somebody give the advise how I can create 360 pano image? I think that I should use open cv camera for it? I also implement it but I did not know what to do next. Please give me the details.

I use such code

Mat result;    
Ptr<Stitcher> stitcher = Stitcher::create(Stitcher::PANORAMA, true);//Stitcher::createDefault(true);
Stitcher::Status status = stitcher -> stitch(images, result);

Its for simple stitching. If I try to stitch 5 or 6 images it works fine.