Name
do_ocr_single_class_svmT_do_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvm — Classify a single character with an SVM-based OCR classifier.
do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvm computes the best NumNumNumNumnum
classes of the character given by the region CharacterCharacterCharacterCharactercharacter and
the gray values ImageImageImageImageimage with the OCR classifier
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle and returns the classes in ClassClassClassClassclassVal.
Because multiple classes may be returned by
do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvm, CharacterCharacterCharacterCharactercharacter may only contain
a single region (a single character). If multiple characters should
be classified in a single call, do_ocr_multi_class_svmdo_ocr_multi_class_svmDoOcrMultiClassSvmDoOcrMultiClassSvmDoOcrMultiClassSvm must
be used. Before calling do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvm, the
classifier must be trained with trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Character to be recognized.
Gray values of the character.
Handle of the OCR classifier.
Number of best classes to determine.
Default value: 1
Suggested values: 1, 2, 3, 4, 5
Result of classifying the character with the
SVM.
If the parameters are valid the operator
do_ocr_single_class_svmdo_ocr_single_class_svmDoOcrSingleClassSvmDoOcrSingleClassSvmDoOcrSingleClassSvm returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm,
read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvm
do_ocr_multi_class_svmdo_ocr_multi_class_svmDoOcrMultiClassSvmDoOcrMultiClassSvmDoOcrMultiClassSvm
create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvm,
classify_class_svmclassify_class_svmClassifyClassSvmClassifyClassSvmClassifyClassSvm
OCR/OCV