ropensci / opencv

R bindings for OpenCV
https://docs.ropensci.org/opencv
Other
137 stars 27 forks source link

Mac Install: No OpenCV 3 or newer? #28

Closed dcaud closed 4 years ago

dcaud commented 4 years ago

On a mac, I do:

install.packages("opencv")
library(opencv)
mona <- ocv_read('https://jeroen.github.io/images/monalisa.jpg')
ocv_stylize(mona)

which returns

Error in cvmat_stylize(image) : stylization requires OpenCV 3 or newer

Any ideas?

jeroen commented 4 years ago

Oops that looks like a bug, one sec...

dcaud commented 4 years ago

I still get the same error -- presumably because CRAN doesn't have your most recent push. Can you share code on how to install from github?

jeroen commented 4 years ago

Yes, getting built as we speak, one sec...

jeroen commented 4 years ago

Can you try with:

install.packages("opencv", repos = "https://dev.ropensci.org")