getChars: Sweep each line of text in a text cavas to estimate character...

Description Usage Arguments Details Value Author(s)

View source: R/textCanvas.R

Description

None yet

Usage

1
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.

Details

None yet

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.

Author(s)

Dave Braze <[email protected]>


davebraze/FDBeye documentation built on Nov. 21, 2017, 11:23 a.m.