| Table of Contents / OCR / Lexica | Operators |
create_lexicon — Create a lexicon from a tuple of words.
create_lexicon( : : Name, Words : LexiconHandle)
create_lexicon creates a new lexicon based on a tuple of Words. By specifying a unique textual Name, you can later refer to the lexicon from syntax expressions like those used, e.g., by do_ocr_word_mlp.
Note that lexicon support in HALCON is currently not aimed at natural languages. Rather, it is intended as a post-processing step in OCR applications that only need to distinguish between a limited set of not more than a few thousand valid words, e.g., country or product names. MVTec itself does not provide any lexica.
Word list for the new lexicon.
Default value: ['word1','word2','word3']
Handle of the lexicon.
do_ocr_word_mlp, do_ocr_word_svm
lookup_lexicon, suggest_lexicon
OCR/OCV
| Table of Contents / OCR / Lexica | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |