None yet

getChars(canvas, lines)

Arguments

canvas

A N dimensional matrix (product of png::readPNG()) corresponding to bitmap image.

lines

Data.frame generated by applying guessLines() to canvas.

Value

A data frame containing 1 row for each character in each line of canvas, and the following columns:

  1. line: Integer indicating line number, counting from the top of the canvas.

  2. char: Integer indicating the character number, counting from the left most.

  3. left: Integer indicating left-most extent of character in pixels.

  4. right: Integer indicating right-most extent of character in pixels.

Details

None yet

Author

Dave Braze <davebraze@gmail.com>