write_deep_ocrT_write_deep_ocrWriteDeepOcrWriteDeepOcrwrite_deep_ocr (算子名称)
名称
write_deep_ocrT_write_deep_ocrWriteDeepOcrWriteDeepOcrwrite_deep_ocr — Write a Deep OCR model in a file.
参数签名
描述
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 (input_control) deep_ocr → HDlModelOcr, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the Deep OCR model.
FileNameFileNameFileNameFileNamefileNamefile_name (input_control) 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
模块
OCR/OCV