To get the current development version from GitHub:
# install.packages("devtools")
devtools::install_github("soodoku/clarifai")
library(clarifai)
Start by setting Client ID and secret, which you can get from https://developer.clarifai.com/
secret_id(c("client_id", "secret"))
Next, get the token (the function also sets it):
get_token()
Get information about your application:
get_info()
## Status message: All images in request have completed successfully.
feedback(file_path="path_to_image", feedback_type="add_tags", feedback_value="suggested_tag")