knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of forImage
is to facilitate foraminiferal test measurement and biomass estimation.
The package is proposed as an alternative to manual and/or multi-software dependent methods for biometry and biomass estimation.
The package requires Python >= 3.5.
You can install the release version from CRAN:
install.packages("forImage")
The current development version can be installed from GitHub:
remotes::install_github("ThaiseRF/forImage", build_vignettes = TRUE) # Using `build_vignettes = TRUE` will slow down the install, but is necessary if # you want to read the vignette, which is recommended
Use install_measure()
to install all Python modules dependencies (scipy
, imutils
, numpy
, pandas
, Pillow
and OpenCV
) at once in a virtual environment. This function is a wrapper of reticulate py_install() and requires a conda installation on Windows.
To install the Python modules via pip on Ubuntu:
sudo apt-get install python-pip sudo pip install pip --upgrade sudo pip install scipy
On Windows:
python -m pip install --upgrade pip pip install scipy
On macOs:
python3 -m pip install --upgrade pip pip3 install scipy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.