Overview

Google Cloud Vision API Safe Search Detection feature search for any explicit contents based on these five categories – adult, spoof, medical, violence, and racy and return the likelihoods.

In this tutorial we are going to learn how to use Google Vision API to detect explicit content in Python.

Documentation

https://cloud.google.com/vision/docs/detecting-safe-search

Python Code Snippet