I was recently invited to the first alpha release of Google Cloud Vision, which is a game changing new API from Google. I can programmatically upload any picture and get this kind of stuff back:
Face detection, with pixel annotations of the corner of the mouth etc, plus unexpected values like sorrowLikelihood
Landmark detection, with LatLon polygon boundaries to real world landmarks
Safe search detection, which can detect medical, nude and violent content
I wanted to dig right in, and decided to build a really silly little game. I call it Game Of Cats, and has nothing to do with Game of Thrones at all.
A user logs in using their Instagram credentials. My game engine starts polling all recent pictures from the people the user follows, and awards a point for every cat picture that occurs. The game goes on forever, without any interaction.
I won’t bore you with details about how Instagram handles OAUTH, but you might be interested in how Google Cloud Vision wants to talk to an app like this? I built this quick and dirty as it should be, in PHP.
I would love to have the energy to build a WordPress plugin that adds a taxonomy to the media library, and automatically tags all uploaded images using Google Cloud Vision, but I don’t. Someone else will, and they write better code than I do anyway.
Note: I can’t post the URL to the actual game, yet. The alpha’s terms and conditions prohibits me from deploying to production.
Today we’ve added a new feature to our EP Hashimage WordPress plugin.
You can now (from version 3) choose which networks you want to include in your search for images with a specific hashtag.
For example – if you want to print images tagged with #cat but only from the instagram network. That is now possible.
This has been on our todo list for a while, but since we only develop and maintain our plugins between projects it sometimes take a while before new features are added.
We hope you’ll find our plugin even more useful with this new feature.
Just use the one you want to display in your post/page and give it a link. The RSS option only need a 1 as value if you want that displayed. Remove any network completely to remove it from the post/page.
From the start we always felt that we needed to do something about the slow loading of the hashimage plugin. Today we have updated it with the option to use async loading, letting all the heavy work to be done after initial page load. See the settings page for this new option.
In this update we have also integrated support for pic.twitter.com and images in the lightbox are no longer cropper and cut, say hallo to the whole image scaled down.
As usual, you find this amazing plugin in the WordPress Plugin Directory and please leave a comment if you have any suggestions or just like the plugin.
It currently works with twitpic, instagram, yfrog, plixi, flickr. Adding more services is quite easy and can be done on request. URL’s are being curled and cached for 10-12 minutes using the built-in WP_Cache.
The plugin, when enabled, exposes a template tag which you can add to your theme:
some days ago, my wife attended some kind of social media event, called ssmx. during the event my twitter feed was packed with twitpics, yfrog and instagrams, and i decided to make a quick hack. here it is:
the idea is simple – you just feed it a hashtag and it will scour the twitter api for images, extract them and present them to you. granted, some design would be awesome. if any fellow co-workers read this – feel free to take a stab at it (site is hosted on our usual box).