Name
get_features_ocr_class_knnT_get_features_ocr_class_knnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnn — Compute the features of a character.
get_features_ocr_class_knnget_features_ocr_class_knnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnn computes the features of the
character given by CharacterCharacterCharacterCharactercharacter with the k-NN classifier
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle and returns them in FeaturesFeaturesFeaturesFeaturesfeatures. In
contrast to do_ocr_single_class_knndo_ocr_single_class_knnDoOcrSingleClassKnnDoOcrSingleClassKnnDoOcrSingleClassKnn and
do_ocr_multi_class_knndo_ocr_multi_class_knnDoOcrMultiClassKnnDoOcrMultiClassKnnDoOcrMultiClassKnn, the character is passed as a single
image object. Hence, before calling
get_features_ocr_class_knnget_features_ocr_class_knnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnn, reduce_domainreduce_domainReduceDomainReduceDomainReduceDomain must
typically be called. The parameter TransformTransformTransformTransformtransform determines
whether the feature transformation specified with
Preprocessing in create_ocr_class_knncreate_ocr_class_knnCreateOcrClassKnnCreateOcrClassKnnCreateOcrClassKnn for the
classifier should be applied (TransformTransformTransformTransformtransform =
'true'"true""true""true""true") or whether the untransformed features should be
returned (TransformTransformTransformTransformtransform = 'false'"false""false""false""false").
get_features_ocr_class_knnget_features_ocr_class_knnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnn can be used to inspect the
features that are used for the classification.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Handle of the k-NN classifier.
Should the feature vector be transformed with
the preprocessing?
Default value:
'true'
"true"
"true"
"true"
"true"
List of values: 'false'"false""false""false""false", 'true'"true""true""true""true"
Feature vector of the character.
If the parameters are valid, the operator
get_features_ocr_class_knnget_features_ocr_class_knnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnnGetFeaturesOcrClassKnn returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
trainf_ocr_class_knntrainf_ocr_class_knnTrainfOcrClassKnnTrainfOcrClassKnnTrainfOcrClassKnn
create_ocr_class_knncreate_ocr_class_knnCreateOcrClassKnnCreateOcrClassKnnCreateOcrClassKnn
OCR/OCV