As Google Developer Expert I was involed in tester program of this API during alpha stage. My GDE's friend +Riël Notermans inspired me to connect Vision API into my favorite Google Apps Script. I was thinking how to use it and suddenly I found out useful something-like smart city solution.
Intro
I'm living in Prague. The municipal transportation provides almost real-time records of traffic from webcams The images are available on web (http://www.dpp.cz/en/webcams/). Anyone could check traffic before heading out to work. I am able to connect, download and send these images to any API, because each image has own public URL
The maps of webcams in Prague
I have created Google Spreadsheet as a database with new a Google Apps Script project.
Next step was activated required API in Google Developer Console. OAuth 2.0 dance was managed by great cGoa library by +Bruce Mcpherson. Cloud Vision "client" library was generated from Cloud Endpoints by +Spencer Easton's code.
My script fetched the image from URL as a Blob, converted into base64 and sent to Cloud Vision API with parameter for LABEL_DETECTION (Label detection tutorial available here)
As a JSON response I received description of image as labels with confidence score (min 0 - max 1).
The last step was setup Trigger for automatic run Apps Script every 5 minutes.
The result
I have run my script on webcam at Argentinska street at February 17th between 12am-12pm. The all collected data is available as interactive visualization. http://data.kutil.org/visualization/analysis-of-traffic-by-cloud-vision-apiThe label "road" means, that higher value looks like only street without street, so traffic during lunch was low.
The chart for label traffic looks like inverse function of road label. The higher value means, that Google's recognizes traffic on the image with greater confidence.
It absolutely not 100% accurate, but it could inspire you how to use Google Cloud Vision API.
Are you interested in this topic? Follow me on Twitter, Google+ or subscribe RSS
Tweet |
Je pense que cela devrait être la meilleure montre de réplique que j'ai jamais acheté.Je partage ce site avec mes amis.Tout le monde loue ces sites pour leur facilité d'utilisation.
ReplyDeletecopier des montres
meilleures répliques de montres
copier des répliques de montres
This is really such a great article. I really enjoyed it. Thank you for sharing.
DeleteIEEE Projects on Cloud Computing 2019
JavaScript Training in Chennai
Final Year Projects for CSE
JavaScript Training in Chennai
U kunt er zeker van zijn dat u alleen het beste online horloge voor kopiëren krijgt. Vergeet niet dat het kopen van valse horloges erg lijkt op het kopen van een ander type,
ReplyDeleteGreat Article
DeleteIEEE final year projects on machine learning
JavaScript Training in Chennai
Final Year Project Centers in Chennai
JavaScript Training in Chennai
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post.
ReplyDeletebest-microsoft-lifecam
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks... Best Wireless Webcams Review
ReplyDeleteexact replica watches, combining elegant style and cutting-edge technology, a variety of styles of replica omega speedmaster watches, the pointer walks between your exclusive taste style.
ReplyDeleteIts an incredible delight perusing your post.Its brimming with data I am searching for and I want to post a remark that "The substance of your post is wonderful" Great work. blog comments
ReplyDeleteI have been reading your posts regularly about this Web Design topic. I need to say that you are doing a fantastic job. Please keep up the great work.
ReplyDeleteAbsolutely fantastic posting! Lots of useful information and inspiration, both of which we all need!Relay appreciate your work. https://www.surgeongate.org
ReplyDeletePretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. sea isle city restaurants open in winter
ReplyDeleteThank you very much for this useful article. I like it. how Much is a Google Reviews
ReplyDeleteNice Blog, keep it up for more updates about this type of blog. Visit for the best Website Designing Services at our website.
ReplyDeleteWebsite Designing Company in Delhi
Informative Blog, thank you so much for sharing with us. Get Shipping and Logistics Services by Y&H Cargo India.
ReplyDeleteLogistics Company in Delhi
This is such an amazing blog, thanks dear for sharing with us this informative blog. I’m really impressed with you and your things put in this blog.
ReplyDeleteMutual Fund Agent
Rice Bags Manufacturers
ReplyDeletePouch Manufacturers
wall putty bag manufacturers
Lyrics with music
we have provide the best ppc service.
ReplyDeleteppc services in gurgaon
website designing company in Gurgaon
PPC company in Noida
seo services in gurgaon
PPC company in Mumbai
we have provide the best fridge repair service.
ReplyDeletefridge repair in faridabad
Videocon Fridge Repair in Faridabad
Whirlpool Fridge Repair in Faridabad
Hitachi Fridge Repair In Faridabad
Washing Machine Repair in Noida
godrej washing machine repair in noida
whirlpool Washing Machine Repair in Noida
IFB washing Machine Repair in Noida
LG Washing Machine Repair in Noida
ReplyDeleteBali Honeymoon Packages From Delhi
Bali Honeymoon Packages From Chennai
Hong Kong Packages From Delhi
Europe Packages from Delhi
Bali Honeymoon Packages From Bangalore
Bali Honeymoon Packages From Mumbai
Maldives Honeymoon Packages From Bangalore
travel company in Delhi
Visit for the Commercial Vehicle Painting & Branding and School Bus Painting services in Delhi, India.
ReplyDeleteCommercial Vehicle Painting & Branding
Web Click India is one of the Web Design Company that successfully made themselves a brand in the fierce competition. Our aim and focus is on creating beautiful web designs that speak for your business and justify your actions to the audience. Start a discussion with our experts to know our services better.
ReplyDeleteWe are a part of the success story for many of our customer's successful cloud Migrations.
ReplyDeleteCloud Migration services
Aws Cloud Migration services
Azure Cloud Migration services
Thank you for the informative post about Security challenges in AWS , Found it useful . cloud migration services have now become secured and with no-risk
ReplyDeleteVmware Cloud Migration services
Database Migration services
I am really impressed with the way of writing of this blog. The author has shared the info in a crisp and short way.
ReplyDeleteLia Infraservices
We are a part of the success story for many of our customer's successful cloud Migrations.
ReplyDeleteCloud Migration services
Best Cloud Migration Tool
Pretty impressive description of Google Cloud Vision API application.
ReplyDelete