concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf (算子)
名称
concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf — 连接训练文件。
签名
描述
算子 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 the operator 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 (输入控制) filename.read(-array) → HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the single training files.
默认值:
''
""
""
""
""
""
File extension:
.trf, .otr
ComposedFileComposedFileComposedFileComposedFilecomposedFilecomposed_file (输入控制) filename.write → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the composed training file.
默认值:
'all_characters'
"all_characters"
"all_characters"
"all_characters"
"all_characters"
"all_characters"
File extension:
.trf
结果
如果参数正确,算子
concat_ocr_trainfconcat_ocr_trainfConcatOcrTrainfConcatOcrTrainfConcatOcrTrainfconcat_ocr_trainf 返回值 2 ( H_MSG_TRUE )。否则将抛出异常。
可能的前趋
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
模块
光学字符识别/光学字符验证