Description Usage Arguments Value Examples
upload image, a description of the image back
1 | getVisionResponse(img.path, key, visualFeature = "Tags")
|
key |
for the vision api |
path |
to local image |
Categories |
- categorizes image content according to a taxonomy defined in documentation. Tags - tags the image with a detailed list of words related to the image content. Description - describes the image content with a complete English sentence. Faces - detects if faces are present. If present, generate coordinates, gender and age. ImageType - detects if image is clipart or a line drawing. Color - determines the accent color, dominant color, and whether an image is black&white. Adult - detects if the image is pornographic in nature (depicts nudity or a sex act). Sexually suggestive content is also detected. |
data frame with image attributes
1 | getVisionResponse("out/snap00169.png", facekey)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.