powered by
Load a handwriting sample from a PNG image. Then binarize, thin, and split the handwriting into graphs.
processDocument(path)
The processed document as a list
File path for handwriting document. The document must be in PNG file format.
image_path <- system.file("extdata", "phrase_example.png", package = "handwriter") doc <- processDocument(image_path) plotImage(doc) plotImageThinned(doc) plotNodes(doc)
Run the code above in your browser using DataLab