Detecting adult content in an image can be useful in many cases, such as moderating user-uploaded content into your website, maybe you want to automatically hide images from users that haven’t confirmed their age by logging in, or you want to classify the image and treat it differently. In all these scenarios you don’t need to reinvent the wheel and create your own image classifier that is trained to identify adult content, this is the perfect use case for Google Vision.
Google Cloud Vision API enables developers to understand the content of images by leveraging Google’s machine learning models in an easy to use REST API. It quickly classifies images into thousands of categories, detects individual objects and faces within images, and finds and reads printed words contained within images. You can build metadata on your image catalog, moderate offensive content, or enable new marketing scenarios through image sentiment analysis.
You can see quickly that identifying adult content is just one of the many things you can achieve with Google Vision, and what’s best, it’s as simple as integrating with a REST API. You can test Google Vision for free and without any coding through the Google Vision page.
Google Vision rates the image and returns the likelihood of adult content being in it, for instance:
Based on the information provided by Google, you can then have your application make a decision as to whether this content needs moderating/meets standards or not. All done through a simple API integration.
Computer Vision in itself is a broad topic and look forward to exploring it over the next few posts!