write_deep_ocrT_write_deep_ocrWriteDeepOcrWriteDeepOcrwrite_deep_ocr (算子)
名称
write_deep_ocrT_write_deep_ocrWriteDeepOcrWriteDeepOcrwrite_deep_ocr — 在文件中写入深度 OCR 模型。
签名
描述
write_deep_ocrwrite_deep_ocrWriteDeepOcrWriteDeepOcrWriteDeepOcrwrite_deep_ocr writes the Deep OCR model
DeepOcrHandleDeepOcrHandleDeepOcrHandleDeepOcrHandledeepOcrHandledeep_ocr_handle to the file given by FileNameFileNameFileNameFileNamefileNamefile_name.
Please note that the runtime specific parameters 'gpu'"gpu""gpu""gpu""gpu""gpu",
'runtime'"runtime""runtime""runtime""runtime""runtime", and 'runtime_init'"runtime_init""runtime_init""runtime_init""runtime_init""runtime_init" are not written.
The default HALCON file extension for Deep OCR models is
'.hdo'.
The Deep OCR model can be read with read_deep_ocrread_deep_ocrReadDeepOcrReadDeepOcrReadDeepOcrread_deep_ocr。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
DeepOcrHandleDeepOcrHandleDeepOcrHandleDeepOcrHandledeepOcrHandledeep_ocr_handle (输入控制) deep_ocr → HDlModelOcr, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
深度 OCR 模型的句柄。
FileNameFileNameFileNameFileNamefileNamefile_name (输入控制) filename.write → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Filename
File extension:
.hdo
结果
如果参数有效,算子 write_deep_ocrwrite_deep_ocrWriteDeepOcrWriteDeepOcrWriteDeepOcrwrite_deep_ocr 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
可能的前趋
create_deep_ocrcreate_deep_ocrCreateDeepOcrCreateDeepOcrCreateDeepOcrcreate_deep_ocr,
set_deep_ocr_paramset_deep_ocr_paramSetDeepOcrParamSetDeepOcrParamSetDeepOcrParamset_deep_ocr_param
可能的后继
clear_handleclear_handleClearHandleClearHandleClearHandleclear_handle
模块
光学字符识别/光学字符验证