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

write_ocr_class_svm( : : OCRHandle, FileName : )

Herror T_write_ocr_class_svm(const Htuple OCRHandle, const Htuple FileName)

void WriteOcrClassSvm(const HTuple& OCRHandle, const HTuple& FileName)

void HOCRSvm::WriteOcrClassSvm(const HString& FileName) const

void HOCRSvm::WriteOcrClassSvm(const char* FileName) const

void HOCRSvm::WriteOcrClassSvm(const wchar_t* FileName) const   (Windows only)

static void HOperatorSet.WriteOcrClassSvm(HTuple OCRHandle, HTuple fileName)

void HOCRSvm.WriteOcrClassSvm(string fileName)

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

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