read_shape_model — Read a shape model from a file.
The operator read_shape_model reads a shape model, which has been written with write_shape_model, from the file FileName. The default HALCON file extension for the shape model is 'shm'.
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: .shm
Handle of the model.
If the file name is valid, the operator read_shape_model returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.
find_shape_model, find_scaled_shape_model, find_aniso_shape_model, find_shape_models, find_scaled_shape_models, find_aniso_shape_models
create_shape_model, create_scaled_shape_model, create_aniso_shape_model, clear_shape_model