Foundry crashes
Hi, I cloned your project and have tried running it and it worked fine. I then added my images in the extension JPG and it stitched perfectly too. So I copied the pod file, the classes and all the necessary files to my project which takes the image from the camera and saves it in gallery. I temporarily save the images taken in an array of UIImage and feed it instead of the asset images and then I get a crash in the line, Stitcher::Status status = stitcher->stitch(imgs, pano);
I thought the problem may be in the camera images extension or orientations. But I guess it has been corrected already in the latest PR in GIT. So I copied the images that was present already in the OpenCVSwiftStitch Assets and which was working fine into my project and still I got the same crash. I could run any images in your example code and it works fine but when I do the same in mine, it fails. Is there anything that I have to add in my project to make it work?
Thanks in advance.
I have exactly the same issue. My error is:
terminating with uncaught exception of type cvflann::anyimpl::bad_any_cast
I've tried using the images in the demo project and they fail too. I've tried running in development and release mode but it crashes every time.
Though it does work in the simulator. Is there a conflict with the camera, which is already using the GPU?
I had same problems.
I can fix the problem by adding Custom compiler Flags.
After I added "Other C Flags", I can run the app in my device.
I attached images too.
Hope this solve your problem.
Note: Other C Flags. (Not Other C++ Flags)
I am still facing the issue. Can anyone help me to run this app