Learn R Programming

ROpenCVLite (version 4.90.2)

installOpenCV: Install OpenCV

Description

This function attempts to download, compile and install OpenCV on the system. This process will take several minutes.

Usage

installOpenCV(install_path = defaultOpenCVPath(), batch = FALSE)

Value

A boolean.

Arguments

install_path

A character string indicating the location at which OpenCV should be installed. By default, it is the value returned by defaultOpenCVPath.

batch

A boolean indicating whether to skip (TRUE) or not (FALSE, the default) the interactive installation dialog. This is useful when OpenCV needs to be installed in a non-interactive environment (e.g., during a batch installation on a server).

Author

Simon Garnier, garnier@njit.edu

Examples

Run this code
if (FALSE) {
 installOpenCV()
}

Run the code above in your browser using DataLab