Operator Reference

clear_dl_classifier_resultT_clear_dl_classifier_resultClearDlClassifierResultClearDlClassifierResultclear_dl_classifier_result (Operator)

clear_dl_classifier_resultT_clear_dl_classifier_resultClearDlClassifierResultClearDlClassifierResultclear_dl_classifier_result — Clear a handle containing the results of the deep-learning-based classification.

Warning

clear_dl_classifier_resultclear_dl_classifier_resultClearDlClassifierResultClearDlClassifierResultclear_dl_classifier_result is obsolete and is only provided for reasons of backward compatibility. The operator will be removed with HALCON 25.05.

Signature

clear_dl_classifier_result( : : DLClassifierResultHandle : )

Herror T_clear_dl_classifier_result(const Htuple DLClassifierResultHandle)

void ClearDlClassifierResult(const HTuple& DLClassifierResultHandle)

static void HDlClassifierResult::ClearDlClassifierResult(const HDlClassifierResultArray& DLClassifierResultHandle)

void HDlClassifierResult::ClearDlClassifierResult() const

static void HOperatorSet.ClearDlClassifierResult(HTuple DLClassifierResultHandle)

static void HDlClassifierResult.ClearDlClassifierResult(HDlClassifierResult[] DLClassifierResultHandle)

void HDlClassifierResult.ClearDlClassifierResult()

def clear_dl_classifier_result(dlclassifier_result_handle: MaybeSequence[HHandle]) -> None

Description

clear_dl_classifier_resultclear_dl_classifier_resultClearDlClassifierResultClearDlClassifierResultclear_dl_classifier_result releases the memory used to store the deep-learning-based classification results given in DLClassifierResultHandleDLClassifierResultHandleDLClassifierResultHandleDLClassifierResultHandledlclassifier_result_handle. After calling clear_dl_classifier_resultclear_dl_classifier_resultClearDlClassifierResultClearDlClassifierResultclear_dl_classifier_result, the results can no longer be queried. The handle DLClassifierResultHandleDLClassifierResultHandleDLClassifierResultHandleDLClassifierResultHandledlclassifier_result_handle becomes invalid.

For an explanation of the concept of deep-learning-based classification see the introduction of chapter Deep Learning / Classification. The workflow involving this legacy operator is described in the chapter Legacy / DL Classification.

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

DLClassifierResultHandleDLClassifierResultHandleDLClassifierResultHandleDLClassifierResultHandledlclassifier_result_handle (input_control)  dl_classifier_result(-array) HDlClassifierResult, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the deep learning classification results.

Result

If the parameters are valid, the operator clear_dl_classifier_resultclear_dl_classifier_resultClearDlClassifierResultClearDlClassifierResultclear_dl_classifier_result returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

get_dl_classifier_resultget_dl_classifier_resultGetDlClassifierResultGetDlClassifierResultget_dl_classifier_result, apply_dl_classifierapply_dl_classifierApplyDlClassifierApplyDlClassifierapply_dl_classifier

Module

Deep Learning Enhanced