write_shape_model ( : : ModelID, FileName : )

Write a shape model to a file.

The operator write_shape_model writes a shape model to the file FileName. The model can be read again with read_shape_model.


Parameters

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

FileName (input_control)
filename -> string
File name.


Result

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


Parallelization Information

write_shape_model is reentrant and processed without parallelization.


Possible Predecessors

create_shape_model


Module

Template matching



Copyright © 1996-2005 MVTec Software GmbH