ClassesClasses | | Operators

concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainf (Operator)

Name

concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainf — Concat training files.

Signature

concat_ocr_trainf( : : SingleFiles, ComposedFile : )

Herror concat_ocr_trainf(const char* SingleFiles, const char* ComposedFile)

Herror T_concat_ocr_trainf(const Htuple SingleFiles, const Htuple ComposedFile)

void ConcatOcrTrainf(const HTuple& SingleFiles, const HTuple& ComposedFile)

static void HMisc::ConcatOcrTrainf(const HTuple& SingleFiles, const HString& ComposedFile)

static void HMisc::ConcatOcrTrainf(const HString& SingleFiles, const HString& ComposedFile)

static void HMisc::ConcatOcrTrainf(const char* SingleFiles, const char* ComposedFile)

static void HOperatorSet.ConcatOcrTrainf(HTuple singleFiles, HTuple composedFile)

static void HMisc.ConcatOcrTrainf(HTuple singleFiles, string composedFile)

static void HMisc.ConcatOcrTrainf(string singleFiles, string composedFile)

Description

The operator concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfConcatOcrTrainf stores all characters which are contained in the files SingleFilesSingleFilesSingleFilesSingleFilessingleFiles into a new file with the name ComposedFileComposedFileComposedFileComposedFilecomposedFile. The file format can be defined by the parameter 'ocr_trainf_version'"ocr_trainf_version""ocr_trainf_version""ocr_trainf_version""ocr_trainf_version" of the operator set_systemset_systemSetSystemSetSystemSetSystem. If no file extension is specified in ComposedFileComposedFileComposedFileComposedFilecomposedFile, the extension '.trf' is appended to the file name. It is not possible to use any of the files in SingleFilesSingleFilesSingleFilesSingleFilessingleFiles as the new file ComposedFileComposedFileComposedFileComposedFilecomposedFile.

Execution Information

Parameters

SingleFilesSingleFilesSingleFilesSingleFilessingleFiles (input_control)  filename.read(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Names of the single training files.

Default value: '' "" "" "" ""

File extension: .trf, .otr

ComposedFileComposedFileComposedFileComposedFilecomposedFile (input_control)  filename.write HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the composed training file.

Default value: 'all_characters' "all_characters" "all_characters" "all_characters" "all_characters"

File extension: .trf

Result

If the parameters are correct, the operator concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfConcatOcrTrainf returns the value 2 (H_MSG_TRUE). Otherwise an exception will be raised.

Possible Predecessors

write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainf, append_ocr_trainfappend_ocr_trainfAppendOcrTrainfAppendOcrTrainfAppendOcrTrainf

Possible Successors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlp, trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvm, write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainf

Module

OCR/OCV


ClassesClasses | | Operators