As we mentioned in the Project overview section, we will use the Google Cloud Vision API to detect explicit content. This feature is also called SafeSearch. It estimates the likelihood that any given image includes adult content, violence, and so on.
The Google Cloud Vision API allows you to easily add machine learning-based vision detection to your applications. The vision detection features you can include are image labeling, face and landmark detection, optical character recognition (OCR), and tagging explicit content. We will be using the last feature, called SafeSearch, for moderation purposes here. Visit https://cloud.google.com/vision/ for more details.
Let's set up the Google Cloud Vision API services so that we can use its explicit content detection (SafeSearch) feature.Â