write_ocr_class_svmT_write_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvm (Operator)
Name
write_ocr_class_svmT_write_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvm
— Write an OCR classifier to a file.
Signature
Description
write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvm
writes the OCR classifier
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle
to the file given by FileNameFileNameFileNameFileNamefileName
. If a
file extension is not specified in FileNameFileNameFileNameFileNamefileName
, the default
extension '.osc'".osc"".osc"".osc"".osc" is appended to FileNameFileNameFileNameFileNamefileName
.
write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvm
is typically called after the classifier
has been trained with trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm
. The classifier
can be read with read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvm
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandle
(input_control) ocr_svm →
HOCRSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension: .osc
Result
If the parameters are valid the operator write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvm
returns the value 2 (H_MSG_TRUE). If necessary, an exception is
raised.
Possible Predecessors
trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm
Possible Successors
clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvm
See also
create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvm
,
read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvm
,
write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvm
,
read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvm
Module
OCR/OCV