SafeSearchDetection Activity
When to use the SafeSearchDetection Activity
Use this activity when you want to detect if the input contains adult, racy or violent content.
Figure 1
Drag and drop a SafeSearchDetection activity from the GoogleCognitive package into the GoogleVisionScope drop zone. Fill in all fields in the property window. Refer Figure 4.
Drag and drop a write Log activity from the Notification package to the Workflow and provide the Input String and the Log Level.
Execute.
Figure 2
The Output returns the adult and racy content if present in the given image, along with medical and violent content.
Given Image
Figure 3
Output
Figure 3.1
Technical Reference
Figure 4
Note: Skip on Error field accepts Boolean variable type.