How to use Google Street View Publish API to publish in video mode? - api

We are trying to develop a utility to upload GSV tours that consist of a series of 12K and 14K 360 photos shot along each route. The GPS data is recorded with a GPS logger. For efficiency, we would like to convert each tour/series into a video and upload it using the Google Street View Publish API. We've found where it explains the metadata track (camm) required for the video. However, We have searched the API documentation and cannot seem to find where it explains how to upload the actual videos. Can anyone help? Thank you.

Related

Get search terms keywords from traffic source of video using Youtube Data Api v3

I want to get search keywords from traffic source of video using Youtube Data Api.
I can already view 8-10 on the Dashboard, but most of the time, the video is in 1000 views and although I see 7-8, the api returns empty or only takes one. how can i solve this problem? I will be glad if you help.

How can I get the Views Per Hour stat for a YouTube video?

I checked the Youtube API and it's mainly to do with adding functionalities related to the YouTube app rather than getting analytics data about videos.
There is a chrome extension called VidIQ that shows the views per hours of a particular video when going to the video's page on YouTube, so I tried reading the source code for it, but it is all compressed and I can't easily find what I'm looking for.
Could someone explain to me how VidIQ chrome extension is getting the views per hour stat for YouTube? Maybe it's not an official stat from Youtube but a rough estimate calculated by VidIQ. How do they get this information?
I tried debugging the VidIQ chrome extension to search through the source code but adding a simple html tag made the file corrupted and disabled the extension until I repaired it again. I'm having difficulties deciphering the source code.
Most of what VidIQ gets is from the YouTube analytics api and not directly from the YouTube data api although i would be they use some combination of both.
If you create a report that extracts views and run it every hour you should get the results you are looking for.
However i would be willing to be that they cache a lot of the data and do some internal analytics on it. They would need to cache it as the YouTube analytics api only returns data for the last 90 days last i checked.
If your intent is to Reverse Engineer VidIQ you may need to accept that a lot of the data you are seeing is internally stored in their system and generated by them based upon the data that is avaliable in the YouTube Analytics API and the YouTube data apis.

API to clean scanned documents

I have a system in PHP, and i will receive photos from users, that are scanned photos of their personal documents... and i want to smart remove (auto crop) the boundaries of the photos, to leave ONLY the personal document (as a drivers license).
I spent hours looking, but were not able to find an API service that does that...i ll i can find was SDK for ios or android...
Any one has a suggestion?
I would want to replicate what dropbox did:
https://blogs.dropbox.com/tech/2016/08/fast-and-accurate-document-detection-for-scanning/
Thanks
Filestack provides these services. In particular, the Document Detection endpoint has the following description:
You can detect your document in the image, transform it to fully fit the image...

Best practice for bulk uploading to Street View Publish API?

We're currently in the process of recording 1fps time-lapsed 4k 360 photos of every island in the Bahamas, with embedded GPS EXIF data. An average hour of filming tends to produce around 600 image frames, which can easily expand to 2000-10,000 images per day on bigger routes. 2000 or so are approved on Google Maps already, but we're hitting a larger brick wall.
The Street View app is obviously the best way to upload when you have 50-100 image files, but it obviously struggles when it starts to hit over 500+ uploads in a batch (publishing doesn't start, or the app crashes), so we're left manually submitting collections. Add that to the standard 4000/day quota, and it's quite a challenge.
Having looked at the Publish API, it's rather tricky to leave a CLI tool running as it's designed with OAuth flow in mind with 1hr access tokens. The service account route seems to the way to go, but the PHP API client seems to have scant documentation for SV Publishing. Connecting photos is also tricky with that many images.
We ideally need a desktop uploader (like the backup tool), or a way to directly import from folders in Google Drive. The first seems discontinued, and there's no data on the second.
Can anyone explain or elucidate on the best practice for this kind of volume upload with the Street View publishing service?
Since you are only capturing 4K images, it will be much simpler to use video mode, depending on if your camera supports it at the desired framerate. You may check this documentation for more information.
Additional information:
You may also check out some of the desktop utilities at the bottom of the Street View website which may be able to help.
You may want to consider one of the Street View ready cameras (also listed on the above webpage) that is capable of recording and uploading 360 videos to Street View. Upon publication, the 360 photo frames are extracted from the video and used to create an automatically connected Street View experience on Google Maps.
Check these pages to learn more about this option:
Set up and connect 360 cameras
Capture and publish in Video mode with the Street View app
Tips for capturing 360 videos for Street View

Fetching owner-uploaded or user-uploaded photos from Google Maps

I would like to fetch user-uploaded or owner-uploaded photos of locations using some Google API.
For example:
In this place: http://g.co/maps/pxbse , you can see an owner-uploaded photo of this place in the place's popup window on the map. Additionally, if you click on this photo, you'll be taken to a more detailed page about this place where you can see a list of photos uploaded either by the owner or other google users.
Is there any way to fetch these photos by using the Google Maps API?
(Please note: I have checked out Panoramio and Google Street View API and these do not suit my needs)
There is no way to get that photo at this point. The Google Places API does not support retrieving the photo.
What you're looking at is a Google Place. You would access this data using the Google Places API.
Update: You're right. The API mentions an icon URL that's included in a place details response, but doesn't seem to indicate all the owner uploaded images.
What I recommend is attending the Google Maps API office hours on May 1, 2012 at 13:00 Pacific Time. There is a Google Moderator set up to post questions before hand. You can attend the hangout using Google Plus (make sure to follow +Google Maps API) or they stream them to YouTube live.