Hi everyone,
Does anyone know how I can create Panorama images on iOS?
I actually want to give users the ability to create a 360 photo. Is there anyone that has done something like this or even point me in the right direction. I have done a lot of research, but haven’t found anything on how to actually implement this on iOS.
Any help would really be appreciated.
Well, the short answer is that Apple doesn’t allow you to use the neat panorama built into the iOS 10 camera app.
The long answer is yes you can do it.
I have seen a hardware/software solution that attaches a mirror shaped a little like a funnel above a camera lens, it shoots straight up, catches the light bouncing off the mirror and captures the scene all around all at once. The drawback is it looks like nothing much as a plain photo, you need to apply a filter to un-bend the image before it looks like a panorama. Perhaps not so practical.
The good news is that iOS camera gives you a lot of control. You could roll your own panorama by taking multiple images as you rotate the camera (time or delta-motion based) and then stitching them together. This isn’t easy of course but if you choose not to do the stitching you could use OpenCV (BSD license, yay) which includes panorama stitching. Not the easiest thing in the world to integrate but very powerful.
There are a fair few third-party libraries to do panorama images and I’m going to leave them up to you to research because they vary widely in quality and license. This is probably the best option if you want to be up and running quickly.
Thank you aeberbach.
I’m already busy with OpenCV at the moment. Really not a simple task when it comes to capturing panorama
I’m definitely going to need a to put in a lot of hours to get this working.
Really appreciate the reply. Apologies for responding so late, I never received a notification that someone replied to question.
No bother. I think this is a really interesting topic and perhaps of interest to a lot of people. If you achieve some good results you might even think about turning making a panorama into a tutorial for the site?
Hello aeberbach. I’m trying to develop a panoramic app of my own and I came across your post. Can you tell me how you’ve progressed and if you managed to create the panoramic app yet?
martinjbt is the one doing the project - I hope he can post an update?
Hi all,
Apologies for the late reply.
I haven’t worked on this project for some time, but I did end up using OpenCV for matching features in images and stitching them.