write_ocr_class_svmT_write_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmwrite_ocr_class_svm (Operator)

Name

write_ocr_class_svmT_write_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmwrite_ocr_class_svm — 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)

def write_ocr_class_svm(ocrhandle: HHandle, file_name: str) -> None

Description

write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvmwrite_ocr_class_svm writes the OCR classifier OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle to the file given by FileNameFileNameFileNameFileNamefileNamefile_name. If a file extension is not specified in FileNameFileNameFileNameFileNamefileNamefile_name, the default extension '.osc'".osc"".osc"".osc"".osc"".osc" is appended to FileNameFileNameFileNameFileNamefileNamefile_name. write_ocr_class_svmwrite_ocr_class_svmWriteOcrClassSvmWriteOcrClassSvmWriteOcrClassSvmwrite_ocr_class_svm is typically called after the classifier has been trained with trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvmtrainf_ocr_class_svm. The classifier can be read with read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvmread_ocr_class_svm.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control)  ocr_svm HOCRSvm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the OCR classifier.

FileNameFileNameFileNameFileNamefileNamefile_name (input_control)  filename.write HTuplestrHTupleHtuple (string) (string) (HString) (char*)

File name.

File extension: .osc

Result

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

Possible Predecessors

trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvmtrainf_ocr_class_svm

Possible Successors

clear_ocr_class_svmclear_ocr_class_svmClearOcrClassSvmClearOcrClassSvmClearOcrClassSvmclear_ocr_class_svm

See also

create_ocr_class_svmcreate_ocr_class_svmCreateOcrClassSvmCreateOcrClassSvmCreateOcrClassSvmcreate_ocr_class_svm, read_ocr_class_svmread_ocr_class_svmReadOcrClassSvmReadOcrClassSvmReadOcrClassSvmread_ocr_class_svm, write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmWriteClassSvmwrite_class_svm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvmread_class_svm

Module

OCR/OCV