opencvConfig {ROpenCVLite} | R Documentation |
C/C++ configuration options
Description
This function returns the configuration options for compiling
C/C++-based packages against OpenCV installed by ROpenCVLite
.
Usage
opencvConfig(output = "libs", arch = NULL)
Arguments
output |
Either 'libs' for library configuration options or 'cflags' for C/C++ configuration flags. |
arch |
architecture relevant for Windows. If |
Value
A concatenated character string (with cat
) of the
configuration options.
Author(s)
Simon Garnier, garnier@njit.edu
Examples
## Not run:
if (isOpenCVInstalled()) {
opencvConfig()
opencvConfig(output = "cflags")
opencvConfig(arch = R.version$arch)
}
## End(Not run)
[Package ROpenCVLite version 4.90.1 Index]