I am trying to achieve these 4 lines of R-code in Python:
library(imager)
file <- system.file('extdata/parrots.png',package='imager')
im <- load.image(file)
plot(im)
Essentially, I want to be able to run all of these R-functions in Python: https://dahtah.github.io/imager/imager.html (the above code is the first example)
Thanks!