feedback {clarifai} | R Documentation |
Provide Feedback on Tags of an Image
Description
Suggest tags, suggest removal of tags, suggest (dis)similar documents, or let clarifai know which tag was clicked on
Usage
feedback(file_path = "", feedback_type = "add_tags", feedback_value = "",
...)
Arguments
file_path |
image on which the feedback is being provided |
feedback_type |
must be one of the following types:
|
feedback_value |
what tags to add, remove etc. |
... |
Additional arguments passed to |
References
https://developer.clarifai.com/guide/
Examples
## Not run:
# Before calling the function, set API secret and id via secret_id(c("client_id", "secret"))
# and get token via get_token()
feedback(file_path="path_to_image", feedback_type="add_tags", feedback_value="suggested_tag")
## End(Not run)
[Package clarifai version 0.4.2 Index]