write_deep_counting_modelT_write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model (Operator)
Name
write_deep_counting_modelT_write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model
— Write a Deep Counting model in a file.
Signature
Description
write_deep_counting_modelwrite_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model
writes the Deep Counting model
DeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_handle
to the file given by FileNameFileNameFileNamefileNamefile_name
.
Please note that the runtime specific parameters 'gpu'"gpu""gpu""gpu""gpu",
'runtime'"runtime""runtime""runtime""runtime", and 'runtime_init'"runtime_init""runtime_init""runtime_init""runtime_init" are not written.
The default HALCON file extension for Deep Counting models is
'.hdc'
.
The Deep Counting model can be read with read_deep_counting_modelread_deep_counting_modelReadDeepCountingModelReadDeepCountingModelread_deep_counting_model
.
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
DeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_handle
(input_control) deep_counting →
HDlModelCounting, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the Deep Counting model.
FileNameFileNameFileNamefileNamefile_name
(input_control) filename.write →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Filename
File extension:
.hdc
Result
If the parameters are valid, the operator write_deep_counting_modelwrite_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model
returns the value 2 (
H_MSG_TRUE)
. If necessary, an exception is raised.
Possible Predecessors
create_deep_counting_modelcreate_deep_counting_modelCreateDeepCountingModelCreateDeepCountingModelcreate_deep_counting_model
,
set_deep_counting_model_paramset_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_param
Possible Successors
clear_handleclear_handleClearHandleClearHandleclear_handle
Module
Matching