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

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_modelWriteDeepCountingModelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model writes the Deep Counting model DeepCountingHandleDeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_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 Counting models is '.hdc'.

The Deep Counting model can be read with read_deep_counting_modelread_deep_counting_modelReadDeepCountingModelReadDeepCountingModelReadDeepCountingModelread_deep_counting_model.

Execution Information

Parameters

DeepCountingHandleDeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_handle (input_control)  deep_counting HDlModelCounting, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the Deep Counting model.

FileNameFileNameFileNameFileNamefileNamefile_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_modelWriteDeepCountingModelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

create_deep_counting_modelcreate_deep_counting_modelCreateDeepCountingModelCreateDeepCountingModelCreateDeepCountingModelcreate_deep_counting_model, set_deep_counting_model_paramset_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_param

Possible Successors

clear_handleclear_handleClearHandleClearHandleClearHandleclear_handle

Module

Matching