get_params_ocr_class_svm — Return the parameters of an OCR classifier.
get_params_ocr_class_svm returns the parameters of an OCR classifier that were specified when the classifier was created with create_ocr_class_svm. This is particularly useful if the classifier was read with read_ocr_class_svm. The output of get_params_ocr_class_svm can, for example, be used to check whether a character to be read is contained in the classifier. For a description of the parameters, see create_ocr_class_svm.
Handle of the OCR classifier.
Width of the rectangle to which the gray values of the segmented character are zoomed.
Height of the rectangle to which the gray values of the segmented character are zoomed.
Interpolation mode for the zooming of the characters.
Features to be used for classification.
Characters of the character set to be read.
The kernel type.
Additional parameters for the kernel function.
Regularization constant of the SVM.
The mode of the SVM.
Type of preprocessing used to transform the feature vectors.
If the parameters are valid the operator get_params_ocr_class_svm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.