concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf (算子名称)
名称
concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf — Concat training files.
参数签名
描述
该算子 concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf stores all characters
which are contained in the files SingleFilesSingleFilesSingleFilesSingleFilessingleFilessingle_files into a new file
with the name ComposedFileComposedFileComposedFileComposedFilecomposedFilecomposed_file.
The file format can be defined by the parameter
'ocr_trainf_version'"ocr_trainf_version""ocr_trainf_version""ocr_trainf_version""ocr_trainf_version""ocr_trainf_version" of 该算子 set_systemset_systemSetSystemSetSystemSetSystemset_system. If no
file extension is specified in ComposedFileComposedFileComposedFileComposedFilecomposedFilecomposed_file, the extension '.trf'
is appended to the file name.
It is not possible to use any of the files in SingleFilesSingleFilesSingleFilesSingleFilessingleFilessingle_files as the
new file ComposedFileComposedFileComposedFileComposedFilecomposedFilecomposed_file.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
SingleFilesSingleFilesSingleFilesSingleFilessingleFilessingle_files (input_control) filename.read(-array) → HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the single training files.
Default:
''
""
""
""
""
""
File extension:
.trf, .otr
ComposedFileComposedFileComposedFileComposedFilecomposedFilecomposed_file (input_control) filename.write → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the composed training file.
Default:
'all_characters'
"all_characters"
"all_characters"
"all_characters"
"all_characters"
"all_characters"
File extension:
.trf
结果
If the parameters are correct, 该算子
concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf 返回值 2 (
H_MSG_TRUE)
.
Otherwise an exception will be raised.
可能的前置算子
write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainfwrite_ocr_trainf,
append_ocr_trainfappend_ocr_trainfAppendOcrTrainfAppendOcrTrainfAppendOcrTrainfappend_ocr_trainf
可能的后置算子
trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlpTrainfOcrClassMlptrainf_ocr_class_mlp,
trainf_ocr_class_svmtrainf_ocr_class_svmTrainfOcrClassSvmTrainfOcrClassSvmTrainfOcrClassSvmtrainf_ocr_class_svm,
write_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainfWriteOcrTrainfwrite_ocr_trainf
模块
OCR/OCV