read_ocr_net ( : : FileName : NetId )

Reading of a OCR-network from a file.

The operator read_ocr_net reads an OCR network from a file FileName. This file will hereby be searched in the directory (HORUSROOT/ocr/) as well as in the currently used directory. If too many networks have been loaded, an error message will be displayed.


Parameters

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

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


Result

If the indicated file is available and the format correct, the operator read_ocr_net returns the value TRUE. Otherwise an exception will be raised.


Possible Predecessors

init_horus


Possible Successors

do_ocr_b, do_ocr_m, traind_ocr_net, trainf_ocr_net


See also

write_ocr_net, do_ocr_b, traind_ocr_net, trainf_ocr_net



Copyright © 1996-1997 MVTec Software GmbH