Description Usage Arguments Value Examples
Add image to Pastec index
1 | add_image(image_path, image_id, server)
|
image_path |
Path to the image file |
image_id |
Integer. Unique image id. |
server |
Pastec server |
On successful addition, silently returns list with server response.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
erasmus1 <- system.file("img", "RP-P-1906-1485.jpg", package = "PastecR")
ps <- open_pastec_server()
str(add_image(erasmus1, 1, ps))
#> List of 3
#> $ image_id : int 1
#> $ nb_features_extracted: int 1721
#> $ type : chr "IMAGE_ADDED"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.