image_load {colocr} | R Documentation |
Load images from files
Description
A wrap around image_read
and
magick2cimg
to load one or more images from files.
Usage
image_load(image_file)
Arguments
image_file |
A |
Value
A cimg
object or a list
of cimg
objects when
multiple files are passed to image_file
.
Examples
# load image
fl <- system.file('extdata', 'Image0001_.jpg', package = 'colocr')
img <- image_load(fl)
[Package colocr version 0.1.1 Index]