{
"image": "direktiv/imagerecognition",
"desc": "Checks an image to see if it is safe for work and responds with content is likely to be racy, adult or violence themed."
}
ImageRecognition
Checks an image to see if it is safe for work and responds with content is likely to be racy, adult or violence themed.
Direktiv
An example workflow of using the container on Direktiv.
id: check-image
functions:
- id: check
image: direktiv/imagerecognition:v1
description: "Evaluates an image using Google Vision API"
states:
- id: checkImage
type: action
action:
function: check
input: jq(.)
Input
The input needed to run the above workflow properly is the following: