Operators |
write_class_train_data — Save the training data for classifiers in a file.
write_class_train_data( : : ClassTrainDataHandle, FileName : )
write_class_train_data writes the training data for classifiers ClassTrainDataHandle to the file given by FileName. The classifier can be read again with read_class_train_data. The default HALCON file extension for the training data is 'ctd'.
Handle of the training data.
Name of the file in which the training data will be written.
File extension: .ctd
write_class_train_data returns 2 (H_MSG_TRUE). An exception is raised if it was not possible to open file FileName.
create_class_train_data, read_class_train_data
Foundation
Operators |