Man illustrationFlower illustration

Explicit content detection

Estimated reading: 1 minute 161 views

Explicit content detection activity detects explicit content such as adult content or violent content within an image. This feature uses five categories (adult, spoof, medical, violence and racy) and returns likelihood that each is present in a given image.

You can find detailed information and documentation about Google Cloud Vision detect explicit content (SafeSearch) features.

*Api keyGoogle Cloud Vision API Key
*Image path/urlImage Google Cloud Storage url
*Base64Image file’s Base64 String
*Response variable nameVariable name to store the http response

Note: You can either use Image path/url or Base64 field in your process.

You can use the Api key as shown in the example.

bb3c53c6-8515-4e34-97c8-8281de60972d

You can use the Image path/url as shown in the example.

gs://cloud-samples-data/vision/ocr/sampleimage.jpg

You can use the Base64 as shown in the example.

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUF……………./58x/8BX+R/9k=

You can use the Response variable name fileas shown in the example.

getRespone
Share this Doc

Explicit content detection

Or copy link

CONTENTS
Chat Icon Close Icon