install_measure {forImage} | R Documentation |
Install python packages dependencies for measure function
Description
The function is a wrapper to install all python packages dependencies for measure
function at once.
It will install the following packages:
numpy
, scipy
, imutils
, Pillow
, pandas
,
and opencv-python
.
If the latest versions of these packages are already installed, there is no need to run this function.
Usage
install_measure(
method = "auto",
conda = "auto",
envname = NULL,
extra_packages = NULL,
pip = F
)
Arguments
method |
Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows. |
conda |
Path to conda executable (or "auto" to find conda using the PATH and other conventional install locations). |
envname |
Name of environment to install packages into. |
extra_packages |
Additional packages if needed. |
pip |
Install from pip, if possible. |
Details
On Linux and OS X the "virtualenv" method will be used by default ("conda" will be used if virtualenv isn't available). On Windows, the "conda" method is always used. For more information check the 'reticulate' package documentation: https://rstudio.github.io/reticulate/
Value
No return value. The function is only called to install the required packages.