![]() | OcrResultIterator Class |
Namespace: Patagames.Ocr
The OcrResultIterator type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChoiceIterator |
Gets instance of OcrChoiceIterator class.
|
![]() | Handle |
Handle to internal tesseract iterator
|
![]() | PageIterator |
Gets instance of OcrPageIterator class.
|
![]() | SymbolIsDropcap |
Returns true if the current symbol is a dropcap.
If iterating at a higher level object than symbols, eg words, then
this will return the attributes of the first symbol in that word.
|
![]() | SymbolIsSubscript |
Returns true if the current symbol is a subscript.
If iterating at a higher level object than symbols, eg words, then
this will return the attributes of the first symbol in that word.
|
![]() | SymbolIsSuperscript |
Returns true if the current symbol is a superscript.
If iterating at a higher level object than symbols, eg words, then
this will return the attributes of the first symbol in that word.
|
![]() | WordFontId |
Gets the font id.
|
![]() | WordFontName |
Gets a font name of the word
|
![]() | WordIsBold |
Check whether a font of the word is bold.
|
![]() | WordIsFromDictionary |
Returns true if the current word was found in a dictionary.
|
![]() | WordIsItalic |
Check whether a font of the word is italic.
|
![]() | WordIsMonospace |
Check whether a font of the word is monospace.
|
![]() | WordIsNumeric |
Returns true if the current word is numeric.
|
![]() | WordIsSerif |
Check whether a font of the word is a serif font.
|
![]() | WordIsSmallCaps |
Check whether a font of the word have a small caps
|
![]() | WordIsUnderlined |
Check whether a font of the word is underlined.
|
![]() | WordPointSize |
Gets the point size of the font. Pointsize is returned in printers points (1/72 inch.)
|
![]() | WordRecognitionLanguage |
Return the name of the language used to recognize this word.
|
Name | Description | |
---|---|---|
![]() | Copy |
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.
|
![]() | Dispose |
Releases all resources used by this OcrResultIterator
|
![]() | GetConfidence |
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)
|
![]() | GetUtf8Text |
Get the UTF-8 encoded text string for the current object at the given level.
|
![]() | Next |
Moves to the start of the next object at the given level in the page hierarchy in the appropriate reading order.
|
![]() | WordFontAttributes |
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.
|
![]() |
---|
This class points to data held within the OcrApi class, and therefore can only be used while the OcrApi class still exists and has not been subjected to a call of Init, SetImage, Recognize, Clear, Release or anything else that changes the internal PAGE_RES. |