write_ocr_net ( : : NetId, FileName : )

Writing an OCR network into a file.

The operator write_ocr_net writes the OCR network NetId into the file FileName. As the data of the network will be lost when the program is finished, the data has to be stored after the training if the user wants to use them again at a later execution of the program. The data can then be read with the help of the operator read_ocr_net. The extension will be added automatically to the parameter FileName.


Attention

The output file FileName must be indicated without extension.


Parameters

NetId (input_control)
integer -> integer
ID of the OCR network.
Default value: 'integer'

FileName (input_control)
filename.named -> string
Name of the file for the OCR network (without extenion).
Default value: 'my_net'


Result

If the parameter NetId is valid and if the indicated file can be written, the operator write_ocr_net returns the value TRUE. Otherwise an exception will be raised.


Possible Predecessors

traind_ocr_net, trainf_ocr_net


Possible Successors

do_ocr_b, do_ocr_m


See also

read_ocr_net, do_ocr_b, traind_ocr_net, trainf_ocr_net



Copyright © 1996-1997 MVTec Software GmbH