write_deep_ocrT_write_deep_ocrWriteDeepOcrWriteDeepOcrwrite_deep_ocr (Operator)
Name
write_deep_ocrT_write_deep_ocrWriteDeepOcrWriteDeepOcrwrite_deep_ocr
— Write a Deep OCR model in a file.
Signature
Description
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
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
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
Result
If the parameters are valid, the operator write_deep_ocrwrite_deep_ocrWriteDeepOcrWriteDeepOcrWriteDeepOcrwrite_deep_ocr
returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
Possible Predecessors
create_deep_ocrcreate_deep_ocrCreateDeepOcrCreateDeepOcrCreateDeepOcrcreate_deep_ocr
,
set_deep_ocr_paramset_deep_ocr_paramSetDeepOcrParamSetDeepOcrParamSetDeepOcrParamset_deep_ocr_param
Possible Successors
clear_handleclear_handleClearHandleClearHandleClearHandleclear_handle
Module
OCR/OCV