
Last chance! 50% off unlimited learning
Sale ends in
Development on read_and_process()
is complete. We recommend using processDocument()
.
read_and_process(image_name, "document")
is equivalent to processDocument(image_name)
.
read_and_process(image_name, transform_output)
A list of the processed image components
The file path to an image
The type of transformation to perform on the output
# use handwriting example from handwriter package
image_path <- system.file("extdata", "phrase_example.png", package = "handwriter")
doc <- read_and_process(image_path, "document")
Run the code above in your browser using DataLab