write_ocr_class_mlp ( : : OCRHandle, FileName : )

Write an OCR classifier to a file.

write_ocr_class_mlp writes the OCR classifier OCRHandle to the file given by FileName. If a file extension is not specified in FileName the default extension '.fnt' is appended to FileName. write_ocr_class_mlp is typically called after the classifier has been trained with trainf_ocr_class_mlp. The classifier can be read with read_ocr_class_mlp.


Parameters

OCRHandle (input_control)
ocr_mlp -> integer
Handle of the OCR classifier.

FileName (input_control)
filename -> string
File name.


Result

If the parameters are valid, the operator write_ocr_class_mlp returns the value 2 (H_MSG_TRUE). If necessary an exception handling is raised.


Parallelization Information

write_ocr_class_mlp is reentrant and processed without parallelization.


Possible Predecessors

trainf_ocr_class_mlp


Possible Successors

clear_ocr_class_mlp


See also

create_ocr_class_mlp, read_ocr_class_mlp, write_class_mlp, read_class_mlp


Module

OCR/OCV



Copyright © 1996-2008 MVTec Software GmbH