write_ocr_class_mlpT_write_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp (Operator)

Name

write_ocr_class_mlpT_write_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp — Write an OCR classifier to a file.

Signature

write_ocr_class_mlp( : : OCRHandle, FileName : )

Herror T_write_ocr_class_mlp(const Htuple OCRHandle, const Htuple FileName)

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

void HOCRMlp::WriteOcrClassMlp(const HString& FileName) const

void HOCRMlp::WriteOcrClassMlp(const char* FileName) const

void HOCRMlp::WriteOcrClassMlp(const wchar_t* FileName) const   (Windows only)

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

void HOCRMlp.WriteOcrClassMlp(string fileName)

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

Description

write_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp 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 '.omc'".omc"".omc"".omc"".omc"".omc" is appended to FileNameFileNameFileNameFileNamefileNamefile_name. write_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp is typically called after the classifier has been trained with trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp. The classifier can be read with read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp.

Execution Information

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle (input_control)  ocr_mlp HOCRMlp, 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: .omc

Result

If the parameters are valid, the operator write_ocr_class_mlpwrite_ocr_class_mlpWriteOcrClassMlpWriteOcrClassMlpWriteOcrClassMlpwrite_ocr_class_mlp returns the value TRUE. If necessary, an exception is raised.

Possible Predecessors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp

Possible Successors

clear_ocr_class_mlpclear_ocr_class_mlpClearOcrClassMlpClearOcrClassMlpClearOcrClassMlpclear_ocr_class_mlp

See also

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlpCreateOcrClassMlpcreate_ocr_class_mlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlpReadOcrClassMlpread_ocr_class_mlp, write_class_mlpwrite_class_mlpWriteClassMlpWriteClassMlpWriteClassMlpwrite_class_mlp, read_class_mlpread_class_mlpReadClassMlpReadClassMlpReadClassMlpread_class_mlp

Module

OCR/OCV