Click or drag to resize

OcrResultIterator Methods

The OcrResultIterator type exposes the following members.

Methods
 NameDescription
Public methodCopy ResultIterators may be copied! This makes it possible to iterate over all the objects at a lower level, while maintaining an iterator to objects at a higher level.
Public methodDispose Releases all resources used by this OcrResultIterator
Public methodGetConfidence Returns the mean confidence of the current object at the given level. The number should be interpreted as a percent probability. (0.0f-100.0f)
Public methodGetUtf8Text Get the UTF-8 encoded text string for the current object at the given level.
Public methodNext Moves to the start of the next object at the given level in the page hierarchy in the appropriate reading order.
Public methodWordFontAttributes Get the font attributes of the current word. If iterating at a higher level object than words, eg textlines, then this will return the attributes of the first word in that textline.
Top
See Also