View source: R/process_writing.R
processHandwriting | R Documentation |
The main driver of handwriting processing. Takes in an image of thinned
handwriting created with thinImage()
and splits the the handwriting into
shapes called graphs. Instead of processing the entire document at once,
the thinned writing is separated into connected components and each component
is split into graphs.
processHandwriting(img, dims)
img |
Thinned binary image created with |
dims |
Dimensions of thinned binary image. |
A list of the processed image
twoSent_document <- list()
twoSent_document$image <- twoSent
twoSent_document$thin <- thinImage(twoSent_document$image)
twoSent_processList <- processHandwriting(twoSent_document$thin, dim(twoSent_document$image))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.