Name
create_lexiconT_create_lexiconCreateLexiconcreate_lexiconCreateLexiconCreateLexicon — Create a lexicon from a tuple of words.
create_lexiconcreate_lexiconCreateLexiconcreate_lexiconCreateLexiconCreateLexicon creates a new lexicon based on a tuple of
WordsWordsWordsWordsWordswords. By specifying a unique textual NameNameNameNameNamename, you
can later refer to the lexicon from syntax expressions like those
used, e.g., by do_ocr_word_mlpdo_ocr_word_mlpDoOcrWordMlpdo_ocr_word_mlpDoOcrWordMlpDoOcrWordMlp.
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.
- Multithreading type: exclusive (runs in parallel only with independent operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Unique name for the new lexicon.
Default value:
'lex1'
"lex1"
"lex1"
"lex1"
"lex1"
"lex1"
Word list for the new lexicon.
Default value:
['word1','word2','word3']
["word1","word2","word3"]
["word1","word2","word3"]
["word1","word2","word3"]
["word1","word2","word3"]
["word1","word2","word3"]
do_ocr_word_mlpdo_ocr_word_mlpDoOcrWordMlpdo_ocr_word_mlpDoOcrWordMlpDoOcrWordMlp,
do_ocr_word_svmdo_ocr_word_svmDoOcrWordSvmdo_ocr_word_svmDoOcrWordSvmDoOcrWordSvm
import_lexiconimport_lexiconImportLexiconimport_lexiconImportLexiconImportLexicon
lookup_lexiconlookup_lexiconLookupLexiconlookup_lexiconLookupLexiconLookupLexicon,
suggest_lexiconsuggest_lexiconSuggestLexiconsuggest_lexiconSuggestLexiconSuggestLexicon
OCR/OCV