library(pliman)
# Basic use:
iris %>% head()
# use to apply several functions to an image
img <- image_pliman("la_leaves.jpg")
img %>%
image_resize(50) %>% # resize to 50% of the original size
object_isolate(id = 1) %>% # isolate object 1
image_filter() %>% # apply a median filter
plot() # plot
Run the code above in your browser using DataLab