read_training_components — Read a component training result from a file.
The operator read_training_components reads a component training result, which has been written with write_training_components, from the file FileName and returns it in ComponentTrainingID. The default HALCON file extension for the component training result is 'ct'.
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 extension: .ct
Handle of the training result.
If the file name is valid, the operator read_training_components returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.