Skip to content

write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_modelT_write_deep_counting_model🔗

説明🔗

write_deep_counting_modelWriteDeepCountingModelWriteDeepCountingModelwrite_deep_counting_modelT_write_deep_counting_model — ファイルにDeep Countingモデルを書き込む。

書式🔗

write_deep_counting_model( deep_counting DeepCountingHandle, filename.write FileName )void WriteDeepCountingModel( const HTuple& DeepCountingHandle, const HTuple& FileName )static void HOperatorSet.WriteDeepCountingModel( HTuple deepCountingHandle, HTuple fileName )def write_deep_counting_model( deep_counting_handle: HHandle, file_name: str ) -> None

Herror T_write_deep_counting_model( 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)

void HDlModelCounting.WriteDeepCountingModel( string fileName )

説明🔗

write_deep_counting_modelWriteDeepCountingModelは、 FileNamefileNamefile_name で指定されたファイルに Deep Counting model DeepCountingHandledeepCountingHandledeep_counting_handle を書き込みます。 ただし、ランタイム固有のパラメータ 'gpu'"gpu" 、 'runtime'"runtime"、 および 'runtime_init'"runtime_init" は書き込まれません。

Deep Countingモデルにおける HALCON のデフォルトのファイル拡張子は、 '.hdc' です。

Deep Countingモデルは、 read_deep_counting_modelReadDeepCountingModel で読み込めます。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

DeepCountingHandledeepCountingHandledeep_counting_handle (input_control) deep_counting → (handle)HTuple (HHandle)HDlModelCounting, HTuple (IntPtr)HHandleHtuple (handle)

Deep Countingモデルのハンドル

FileNamefileNamefile_name (input_control) filename.write → (string)HTuple (HString)HTuple (string)strHtuple (char*)

ファイル名

ファイル拡張子: .hdc

結果🔗

パラメータが有効であれば、オペレーター write_deep_counting_modelWriteDeepCountingModel は 2 (H_MSG_TRUE) を返します。 必要に応じて、例外が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

create_deep_counting_modelCreateDeepCountingModel, set_deep_counting_model_paramSetDeepCountingModelParam

後処理の候補

clear_handleClearHandle

モジュール🔗

Matching