getVisionResponse: image recognition and object identification

Description Usage Arguments Value Examples

Description

upload image, a description of the image back

Usage

1
getVisionResponse(img.path, key, visualFeature = "Tags")

Arguments

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.

Value

data frame with image attributes

Examples

1
getVisionResponse("out/snap00169.png", facekey)

flovv/Roxford documentation built on May 16, 2019, 1:24 p.m.