Operators |
read_class_train_data — Read the training data for classifiers from a file.
read_class_train_data( : : FileName : ClassTrainDataHandle)
read_class_train_data reads the saved training data for classifiers from the file FileName (see write_class_train_data). The default HALCON file extension for training data for a classifier is 'ctd'.
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.
File name of the training data.
File extension: .ctd
Handle of the training data.
read_class_train_data returns 2 (H_MSG_TRUE). An exception is raised if it was not possible to open the file FileName or the file has the wrong format.
create_class_train_data, write_class_train_data
Foundation
Operators |