Capture images automatically like 360 ​​panorama

I am working on an application that is similar to the Panorama application. I want to automatically capture the image when the device has moved from left to right, how the application with 360 panorama works. After several studies, I found out that Sensor , and the flow can be useful for this, and I saw some examples of sensors here . But I could not understand how to use the sensor for my purpose. I also could not find a tutorial related to a sensor with a camera for automatic image capture. If anyone has any idea or example regarding this, then plz will offer me.

+3
source share
1 answer

I think that you are talking about event processing using the android accelerometer, you can record events like here How to detect a shake event using android? and then can turn on your camera and complete your events.

Also try http://www.techrepublic.com/blog/app-builder/a-quick-tutorial-on-coding-androids-accelerometer/472

Update:

You need to capture several images and then combine them using a special algorithm to view 360 panorama.

Update 2:

An algorithm similar to the image looks like this: http://en.wikipedia.org/wiki/Image_stitching

The most important thing: no one is going to reveal his algorithm in any open source forum (as far as I know)

See also this: http://www.cs.cornell.edu/courses/cs4670/2010fa/projects/final/results/group_of_acc269_ty244_yc563/cs4670_final.html

+6
source

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


All Articles