tag_images(file_paths = NULL, meta = FALSE, simplify = TRUE)status_code OK or not
status_msg Successful or not
meta Named list of 1 containing another list named tag
Sublist tag has three elements: timestamp, model and config
results is a data.frame of length 6 and 1 row. Column names are:
docid, status_code, status_msg, local_id and
a data.frame named tag which has a data.frame result which contains two columns:
labels and probabilities
If meta is FALSE and simplify is TRUE,
a data.frame with three columns: file_paths, labels and probs returned
If meta is FALSE and simplify is FALSE,
a data.frame with two columns carrying a vector of labels, vector of probs is returned
for each imagetag_image_urlstag_images(file_paths="path_to_image")Run the code above in your browser using DataLab