Learn R Programming

handwriter (version 3.1.1)

AddLetterImages: Add Letter Images

Description

Pulls out letterlist as its own object, and adds the image matrix as well

Usage

AddLetterImages(letterList, dims)

Value

letterList with a new matrix image value for each sublist.

Arguments

letterList

Letter list from processHandwriting function

dims

Dimensions of the original document

Examples

Run this code
twoSent_document = list()
twoSent_document$image = twoSent
twoSent_document$thin = thinImage(twoSent_document$image)
twoSent_processList = processHandwriting(twoSent_document$thin, dim(twoSent_document$image))

dims = dim(twoSent_document$image)
withLetterImages = AddLetterImages(twoSent_processList$letterList, dims)

Run the code above in your browser using DataLab