PageIteratorLevel-class: Class '"PageIteratorLevel"'

PageIteratorLevel-classR Documentation

Class "PageIteratorLevel"

Description

An R-level mapping of the C++-enumerate constants that identify which terms to process in an OCR analysis of an image. These are block, para (for paragraph), textline (for a line of text), word and symbol (for an individual character). We can use the names of these values or the corresponding integer values in PageIteratorLevel.

Objects from the Class

Objects can be created by calls of the form new("PageIteratorLevel", ...). However, we typically use a character or integer value and functions coerce these to a PageIteratorLevel instance and validate and verify the value.

Slots

.Data:

Object of class "integer" ~~

Extends

Class "integer", from data part. Class "numeric", by class "integer", distance 2. Class "vector", by class "integer", distance 2. Class "data.frameRowLabels", by class "integer", distance 2.

Methods

coerce

signature(from = "character", to = "PageIteratorLevel"): ...

coerce

signature(from = "numeric", to = "PageIteratorLevel"): ...

Author(s)

Duncan Temple Lang

References

Tesseract documentatation - http://zdenop.github.io/tesseract-doc/namespacetesseract.html#aa26c22b65cc9765a0e747120f4287fd7

See Also

lapply

Examples

showClass("PageIteratorLevel")

duncantl/Rtesseract documentation built on March 25, 2022, 5:50 a.m.