The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN_Status_Badge R-CMD-check

Image annotation using free drawing.

annotator provides functions to create image annotations through polygon outlining. Annotator has the same function as graphics::locator() but achieves its purpose through drawing, rather than multiple mouse clicks.

annotator is based on fabric.js, a Javascript HTML5 canvas library and htmlwidgets, a package that provides a framework for creating R bindings to JavaScript libraries.

The main function of the package is annotate(path_to_image). Polygons can be outlined on the image and polygon’s coordinates are returned after each draw.

annotate widget

annotator makes it easy to create annotation pipelines in shiny. A minimal Shiny app demonstrating a simple pipeline can be found on shinyapps.io.

annotate widget

Installation

Stable version from CRAN:

install.packages("annotator")

Developement version from GITHUB:

remotes::install_github("valcu/annotator")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.