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.
The output file FileName must be indicated without extension.
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' |
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.
traind_ocr_net, trainf_ocr_net
read_ocr_net, do_ocr_b, traind_ocr_net, trainf_ocr_net