Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement Google StreetView Using Google CardBoard SDK?

We are planning to create Google Cardboard experience for Google StreetView. Google has exposed Google Streetview API to fetch images based on the location and angle. If I use this API, I need to stitch the images based on the User head movement. User can watch the object in 360 degree horizontally and 180 degree vertically. How do I implement this based on the StreetView API and How often I need to make the request and what is the best way to combine the images. Is there is any way we can use the "com.google.android.gms.maps.StreetViewPanoramaView" directly inside the com.google.vrtoolkit.cardboard.CardboardView ?.. Thanks in Advance..

like image 782
sreekumar Avatar asked Mar 23 '15 07:03

sreekumar


People also ask

Is Street View API free?

All use of Google Street View Publish API is free of charge.

What is Street View API?

The Street View Static API embeds a static (non-interactive) Street View panorama or thumbnail into a web page without the use of JavaScript. Define the viewport with URL parameters sent through a standard HTTP request. The request returns a static image.


1 Answers

Nice idea and good luck with that. However for your question you can use any panorama stitching library to stitch all the images together and create a view. Following is a popular library but I afraid its paid.

http://www.cloudburstresearch.com/image-stitching-sdk/

For some awesome open source stuff here it is however I am not sure about the performance https://code.google.com/p/android-opencv-panorama/

https://www.dermandar.com/SDK/

Hope this help!

like image 143
theJango Avatar answered Sep 27 '22 20:09

theJango