powered by
input an image, provide the feature type and maxNumber of responses
getGoogleVisionResponse(imagePath, feature = "LABEL_DETECTION", numResults = 5)
path or url to the image
one out of: FACE_DETECTION, LANDMARK_DETECTION, LOGO_DETECTION, LABEL_DETECTION, TEXT_DETECTION
the number of results to return.
a data frame with results
# NOT RUN { f <- system.file("exampleImages", "brandlogos.png", package = "RoogleVision") getGoogleVisionResponse(imagePath = f, feature = "LOGO_DETECTION") # }
Run the code above in your browser using DataLab