write_class_box — Save a classifier in a file.
write_class_box writes the classifier ClassifHandle to the file given by FileName. The classifier can be read with read_class_box. The default HALCON file extension for the box classifier is 'gbc'.
If a file with this name exists, it is overwritten without a warning. The file can not be edited.
Handle of the classifier.
Name of the file which contains the written data.
File extension: .gbc
write_class_box returns 2 (H_MSG_TRUE). An exception is raised if it was not possible to open file FileName.
create_class_box, enquire_class_box, learn_class_box, test_sampset_box