Before installing Rvision
, you will need to install the latest version of the
devtools
package. You can
install devtools
from CRAN
as follows:
if (!require(devtools)) install.packages("devtools")
You will also need to install the ROpenCVLite
package. Installation instructions for ROpenCVLite
can be found at
https://swarm-lab.github.io/ROpenCVLite/articles/install.html.
This step may take some time as it will download, compile and install
OpenCV
for you. I suggest you go out for a cup of tea or
coffee while ROpenCVLite
is being installed (compilation time will depend on
your computer).
Note that you can skip this step and Rvision
will attempt to install it in the
next step. However it might fail if your system is missing one of the external
dependencies required by ROpenCVLite
.
You can install the latest development version of Rvision
as follows:
devtools::install_github("swarm-lab/Rvision")
library(Rvision)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.