read_template — Reading a template from file.
read_template is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
shape-based or NCC-based operators instead.
read_template reads a matching template
from file which has been written with
The default HALCON file extension for a
template is 'gvt'.
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: .
If the file name is valid, the operator
read_template returns the value 2 (H_MSG_TRUE).
If necessary an exception is raised.