简体   繁体   中英

Capture image automatically like 360 Panorama

我正在开发类似于Panorama应用程序的应用程序。我希望在设备从左到右移动时自动捕获图像,就像360全景应用程序一样。经过一些研究,我才知道传感器和线程对此有用。我在这里看到了传感器的一些例子。但我无法理解如何将传感器用于我的目的。我也找不到任何与传感器相关的教程,用于自动捕捉图像。如果有人有任何想法或示例这就是plz建议我。

I think you are talking about the event handling using accelerometer of the android , you can capture the events like here How to detect shake event with android? , and then can possibly turn on your camera and perform your events.

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

Update :

You need to capture the multiple images and then combine them by using specific algorithm to have the Panoram 360 view on it.

Update 2 :

The algorithm like Image stitching like this : http://en.wikipedia.org/wiki/Image_stitching

Most Important Thing : No one is going to reveal their algorithm on any opensource forum (As per I know)

Have a look at this too : http://www.cs.cornell.edu/courses/cs4670/2010fa/projects/final/results/group_of_acc269_ty244_yc563/cs4670_final.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM