View source: R/process_writing.R
processDocument | R Documentation |
Load a handwriting sample from a PNG image. Then binarize, thin, and split the handwriting into graphs.
processDocument(path)
path |
File path for handwriting document. The document must be in PNG file format. |
The processed document as a list
image_path <- system.file("extdata", "phrase_example.png", package = "handwriter")
doc <- processDocument(image_path)
plotImage(doc)
plotImageThinned(doc)
plotNodes(doc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.