How to automatically capture images as user moves down the iphone /ipad camera to make a panoroma like picture?
===

I have an app where i scan the forms means i take its pictures and upload them . Now if the form is long so that the iphone /ipad camera could not take picture of entire form clearly. In that case i want the user to slowly move the camera down , so that continous images are taken until the whole form is looked or scanned . After that create a picture stitching all the frames together. I know there can be various ways of doing this manually like i can let user chose when to take pictures ad after merge them together.

   But is there any way to do this automatically maybe some api etc. I mean automatically capture frames as user moves the camera down. After that i can merge the images together .