Learn R Programming

handwriter (version 3.2.4)

read_and_process: 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)

Value

A list of the processed image components

Arguments

image_name

The file path to an image

transform_output

The type of transformation to perform on the output

Examples

Run this code
# 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