Skip to contents

1.1 - Before installing

1.1.1 - Devtools

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")

1.1.2 - ROpenCVLite

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.


1.2 - Installing Rvision

You can install the latest development version of Rvision as follows:

devtools::install_github("swarm-lab/Rvision")

1.3 - Loading Rvision