I'm trying to find out how to implement spherical mode for the camera app, especially I'm interested in part of placing dots on a sphere and displaying them on camera preview. For instance, these apps have such feature:
Google Camera
Street View - click on the floating button
Panorama 360
Gallery 3D - old version of Gallery app
I was thinking about ARCore, but for sure it's not used in one of the mentioned apps, because these apps work on the devices that don't support ARCore (supported devices).
I also found similar questions
Create spherical camera app like google camera
How to implement Camera functionality with extra options (like Panorama)?
But they're old and lack of any clues.
Any hints would be appreciated.
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
You need to capture the multiple images and then combine them by using specific algorithm to have the Panoram 360 view on it.
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 : math explanations
http://www.cs.cornell.edu/courses/cs4670/2010fa/projects/final/results/group_of_acc269_ty244_yc563/cs4670_final.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With