Stitch 360 panoramas using OpenCv

I tried to stitch 360 panoramic images using opencv inside the ios application (we also tried this code in an Android application). I implemented a simple stitch method from the Stitcher class. But when I try to install more than 8 images, the ios system killed the application due to incorrect memory (due to a memory error in android). Can someone give some advice on how I can create 360 ​​panoramic images? I am using code like this:

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

And I tried this method

But I have the same result.

+5
source share

Source: https://habr.com/ru/post/1264993/


All Articles