Last modified:
Contents
Returns a result character for building the string.
with
Splits the amount of grouped characters which has been detected in a textline to single words.
with
The Textline Objects keep a word list as an attribute which expects a list like this functions return value.
Gives a full text string as result.
with
The result of this function can be used as a final result as this is the full text string.
Check two glyphs for beeing grouped to one single character. This function is for unit connected-components like quotation marks.
with
There is returned an array with two elements. The first element keeps a list of characters (images that has been united to a single image) and the second image is a list of characters which has to be removed as these have been united to a single character.
Check two glyphs for beeing grouped to one single character. This function is for unit connected-components like i, j or colon.
with
There is returned an array with two elements. The first element keeps a list of characters (images that has been united to a single image) and the second image is a list of characters which has to be removed as these have been united to a single character.
Segmentates the glyphs which are included in every single textline with simple rules.
with
A Page Object has a list named textlines which should include Textline Objects. This list is filled within this function as it is called in a Page method.
Draws hollow rects in an copy of image based on the rects in the glyphs list. If the save parameter is set to 1 a file with the name of filename will be created.
with:
This function is usefull for debugging or for getting information about the segmentation process. The Page object useses this function in three methods for displaying the segmentation of textlines, all single characters and all detected words.