read_and_process: Read and Process

View source: R/BatchProcessing.R

read_and_processR Documentation

Read and Process

Description

[Superseded]

Development on read_and_process() is complete. We recommend using processDocument(). read_and_process(image_name, "document") is equivalent to processDocument(image_name).

Usage

read_and_process(image_name, transform_output)

Arguments

image_name

The file path to an image

transform_output

The type of transformation to perform on the output

Value

A list of the processed image components

Examples

# use handwriting example from handwriter package
image_path <- system.file("extdata", "phrase_example.png", package = "handwriter")
doc <- read_and_process(image_path, "document")


handwriter documentation built on Oct. 13, 2023, 5:10 p.m.