write_template ( : : TemplateID, FileName : )

Writing a template to file.

The operator write_template writes a matching template to file which can be read again with read_template.


Parameters

TemplateID (input_control)
template -> integer
Template number.

FileName (input_control)
filename -> string
file name.


Result

If the file name is valid (permission to write), the operator write_template returns the value 2 (H_MSG_TRUE). If necessary an exception handling will be raised.


Parallelization Information

write_template is reentrant and processed without parallelization.


Possible Predecessors

create_template, create_template_rot


Module

Template matching



Copyright © 1996-2005 MVTec Software GmbH