Description Usage Arguments Value Examples
input an image, provide the feature type and maxNumber of responses
1 2 | getGoogleVisionResponse(imagePath, feature = "LABEL_DETECTION",
numResults = 5)
|
imagePath |
path or url to the image |
feature |
one out of: FACE_DETECTION, LANDMARK_DETECTION, LOGO_DETECTION, LABEL_DETECTION, TEXT_DETECTION |
numResults |
the number of results to return. |
a data frame with results
1 2 | f <- system.file("exampleImages", "brandlogos.png", package = "RoogleVision")
getGoogleVisionResponse(imagePath = f, feature = "LOGO_DETECTION")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.