write_template
— Writing a template to file.
write_template
is obsolete and is only provided for
reasons of backward compatibility.
The operator will be removed with HALCON 25.11.
New applications should use the
shape-based or NCC-based operators instead.
write_template( : : TemplateID, FileName : )
The operator write_template
writes a matching template
to file which can be read again with read_template
.
The default HALCON file extension for a template is 'gvt'.
TemplateID
(input_control) template →
(handle)
Template number.
FileName
(input_control) filename.write →
(string)
file name.
File extension:
.gvt
If the file name is valid (permission to write), the operator
write_template
returns the value 2 (
H_MSG_TRUE)
.
If necessary an exception is raised.
create_template
,
create_template_rot
Matching