read_shape_model ( : : FileName : ModelID )

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.


Parameters

FileName (input_control)
filename -> string
File name.

ModelID (output_control)
shape_model -> integer
Handle of the model.


Result

If the file name is valid, the operator read_shape_model returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.


Parallelization Information

read_shape_model is processed completely exclusively without parallelization.


Possible Successors

find_shape_model, find_scaled_shape_model, find_shape_models, find_scaled_shape_models


See also

create_shape_model, clear_shape_model


Module

Matching



Copyright © 1996-2008 MVTec Software GmbH