Image Recognition and Object Detection with R/Shiny and Google Vision

May 1, 2016
By

(This article was first published on Florian Teschner, and kindly contributed to R-bloggers)

Image recognition and object detection has been around for some years. However, usage and adoption was limited due to quality and ease of development.
With the release of Microsoft’s Project Oxford, and Google’s Vision API, the accessibility and applicability has massively improved.
Both APIs use REST API access and provide an excellent opportunity for the average developer to augment their apps with fancy -state of the art- machine learning features.
In a previous post I discussed Microsoft’s offering. In this post I give the Google’s Vision API a shot, especially the object detection functionality.

To give you an example how this looks like:

Street Sign Detected

The API detect that there is a street sign and/or a traffic sign in the picture with a confidence score of 93 (92) out of 100.

Let’s take a look at a more complex (and ridiculous) example; an elephant sitting on a car.

Elephant sitting on a car

The API gets the elephant/wildlife right with high confidence, it misses the car entirely though.

To come back to my previous post, let’s have a look at Arnold Schwarzenegger and his wife:

Schwarzenegger tagged

In case you want to try it yourself, head over to my minimalistic R/shiny implementation; upload an image with (objects) and wait a bit.

To sum up; giving the complexity of object detection in images, I find it pretty amazing (and scary!) how easy it is.
Given the potential I various business contexts, I expect a number of services using such APIs.

To leave a comment for the author, please follow the link and comment on their blog: Florian Teschner.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)