Operator Reference

write_deep_counting_modelT_write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model (Operator)

write_deep_counting_modelT_write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model — Write a Deep Counting model in a file.

Signature

write_deep_counting_model( : : DeepCountingHandle, FileName : )

Herror T_write_deep_counting_model(const Htuple DeepCountingHandle, const Htuple FileName)

void WriteDeepCountingModel(const HTuple& DeepCountingHandle, const HTuple& FileName)

void HDlModelCounting::WriteDeepCountingModel(const HString& FileName) const

void HDlModelCounting::WriteDeepCountingModel(const char* FileName) const

void HDlModelCounting::WriteDeepCountingModel(const wchar_t* FileName) const   ( Windows only)

static void HOperatorSet.WriteDeepCountingModel(HTuple deepCountingHandle, HTuple fileName)

void HDlModelCounting.WriteDeepCountingModel(string fileName)

def write_deep_counting_model(deep_counting_handle: HHandle, file_name: str) -> None

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