GetFontInfo: Get the font information from the tesseract instance

GetFontInfoR Documentation

Get the font information from the tesseract instance

Description

This gets font information from an OCR document.

Usage

GetFontInfo(obj, level = 3L, ...)

Arguments

obj

a tesseract, Pix, or file path name of a scanned document

level

process the elements at the character, word, line, block level

...

additional arguments for the methods

Value

A data.frame with a row for each recognized element recognied in the page and colums

bold

logical

italic

logical

underlined

logical

monospace

logical

serif

logical

smallcaps

logical

pointsize

integer

fontId

integer

font

character

Author(s)

Duncan Temple Lang


duncantl/Rtesseract documentation built on Sept. 8, 2024, 8:38 a.m.