Google’s documentation says: “Google Cloud Vision API enables developers to understand the content of an image”. Thank you so much; what would we do without you?! I thought that teaching Slack to interpret pictures might be a little more exciting, though. Here’s how I did that by developing my own bot.
Nowadays, visual content is a major part of most websites. This means that every time we, at Netguru, build a Rails application for our client, we have to think about how to make visual content both awesome and safe. Every picture uploaded to the server should be appropriate to the idea behind the application. We’ve recently found out about Google Cloud Vision API and thought that this might be just the right tool for the job. And indeed it is.