powered by
This function plots a basic black and white image.
plotImage(doc)
ggplot plot
A document processed with processDocument() or a binary matrix (all entries are 0 or 1)
processDocument()
csafe_document <- list() csafe_document$image <- csafe plotImage(csafe_document) if (FALSE) { document <- processDocument('path/to/image.png') plotImage(document) }
Run the code above in your browser using DataLab