Operators |
read_class_svm — Read a support vector machine from a file.
read_class_svm reads a support vector machine (SVM) that has been stored with write_class_svm. Since the training of an SVM can consume a relatively long time, the SVM is typically trained in an offline process and written to a file with write_class_svm. In the online process the SVM is read with read_class_svm and subsequently used for classification with classify_class_svm. The default HALCON file extension for the SVM classifier is 'gsc'.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
SVM handle.
If the parameters are valid the operator read_class_svm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
classify_class_svm, create_class_lut_svm
create_class_svm, write_class_svm
Foundation
Operators |