read_bar_code_model — Read a bar code model from a file and create a new model.
The operator read_bar_code_model reads the bar code model from the file FileName and creates a new model that is an identical copy of the saved model. The parameter BarCodeHandle returns the handle of the new model. The model file FileName must have been created by the operator write_bar_code_model. The default HALCON file extension for bar code model is 'bcm'.
Name of the bar code model file.
Default value: 'bar_code_model.bcm'
File extension: .bcm
Handle of the bar code model.
The operator read_bar_code_model returns the value 2 (H_MSG_TRUE) if the named bar code file was found and correctly read. Otherwise, an exception is raised.