How to implement Google StreetView using Google CardBoard SDK?

We plan to create Google Cardboard for Google StreetView. Google has launched the Google Streetview API to capture images based on location and angle. If I use this API, I need to stitch images based on user movement. The user can watch the object 360 degrees horizontally and 180 degrees vertically. How to implement this based on the StreetView API and how often I need to make a request and how best to combine the images. Is there a way to use "com.google.android.gms.maps.StreetViewPanoramaView" directly inside com.google.vrtoolkit.cardboard.CardboardView? .. Thanks in Advance ..

+6
source share
1 answer

Good idea and good luck with that. However, for your question, you can use any panorama library to stitch all the images together and create a view. The next popular library, but I'm afraid she paid.

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

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

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

Hope this help!

+1
source

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


All Articles