write_deep_counting_modelT_write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model (算子)

名称

write_deep_counting_modelT_write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model — 在文件中写入深度计数模型。

签名

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

描述

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

执行信息

参数

DeepCountingHandleDeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_handle (输入控制)  deep_counting HDlModelCounting, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

深度计数模型的句柄。

FileNameFileNameFileNameFileNamefileNamefile_name (输入控制)  filename.write HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Filename

File extension: .hdc

结果

如果参数有效,算子 write_deep_counting_modelwrite_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_model 返回值 2 ( H_MSG_TRUE )。如有必要,则抛出异常。

可能的前趋

create_deep_counting_modelcreate_deep_counting_modelCreateDeepCountingModelCreateDeepCountingModelCreateDeepCountingModelcreate_deep_counting_model, set_deep_counting_model_paramset_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_param

可能的后继

clear_handleclear_handleClearHandleClearHandleClearHandleclear_handle

模块

匹配