| Table of Contents / OCR / Support Vector Machines | Operators |
get_support_vector_num_ocr_class_svm — Return the number of support vectors of an OCR classifier.
get_support_vector_num_ocr_class_svm( : : OCRHandle : NumSupportVectors, NumSVPerSVM)
get_support_vector_num_ocr_class_svm returns in NumSupportVectors the number of support vectors that are stored in the support vector machine (SVM) given by OCRHandle. get_support_vector_num_ocr_class_svm should be called before the labels of individual support vectors are read out with get_support_vector_ocr_class_svm, e.g., for visualizing which of the training data become a SV (see get_support_vector_ocr_class_svm). The number of SVs in each classifier is listed in NumSVPerSVM. The reason that its sum differs from the number obtained in NumSupportVectors is that SV evaluations are reused throughout different binary sub-SVMs.
OCR handle.
Total number of support vectors.
Number of SV of each sub-SVM.
If the parameters are valid the operator get_sample_num_class_svm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
get_support_vector_ocr_class_svm
OCR/OCV
| Table of Contents / OCR / Support Vector Machines | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |