Operator Reference

deserialize_dl_classifierT_deserialize_dl_classifierDeserializeDlClassifierDeserializeDlClassifierdeserialize_dl_classifier (Operator)

deserialize_dl_classifierT_deserialize_dl_classifierDeserializeDlClassifierDeserializeDlClassifierdeserialize_dl_classifier — Deserialize a deep-learning-based classifier.

Warning

deserialize_dl_classifierdeserialize_dl_classifierDeserializeDlClassifierDeserializeDlClassifierdeserialize_dl_classifier is obsolete and is only provided for reasons of backward compatibility. The operator will be removed with HALCON 25.05. New applications should use the common CNN-based operator deserialize_dl_modeldeserialize_dl_modelDeserializeDlModelDeserializeDlModeldeserialize_dl_model.

Signature

deserialize_dl_classifier( : : SerializedItemHandle : DLClassifierHandle)

Herror T_deserialize_dl_classifier(const Htuple SerializedItemHandle, Htuple* DLClassifierHandle)

void DeserializeDlClassifier(const HTuple& SerializedItemHandle, HTuple* DLClassifierHandle)

void HDlClassifier::DeserializeDlClassifier(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeDlClassifier(HTuple serializedItemHandle, out HTuple DLClassifierHandle)

void HDlClassifier.DeserializeDlClassifier(HSerializedItem serializedItemHandle)

def deserialize_dl_classifier(serialized_item_handle: HHandle) -> HHandle

Description

deserialize_dl_classifierdeserialize_dl_classifierDeserializeDlClassifierDeserializeDlClassifierdeserialize_dl_classifier deserializes a deep-learning-based classifier, that was serialized by serialize_dl_classifierserialize_dl_classifierSerializeDlClassifierSerializeDlClassifierserialize_dl_classifier.

The operator acts the same as read_dl_classifierread_dl_classifierReadDlClassifierReadDlClassifierread_dl_classifier except that the input is a serialized item instead of a file. For a detailed description please refer to the documentation of read_dl_classifierread_dl_classifierReadDlClassifierReadDlClassifierread_dl_classifier.

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

SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandledlclassifier_handle (output_control)  dl_classifier HDlClassifier, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the deep-learning-based classifier.

Result

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_dl_classifierserialize_dl_classifierSerializeDlClassifierSerializeDlClassifierserialize_dl_classifier

Possible Successors

apply_dl_classifierapply_dl_classifierApplyDlClassifierApplyDlClassifierapply_dl_classifier, train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchtrain_dl_classifier_batch, set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamset_dl_classifier_param, get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamget_dl_classifier_param

Alternatives

deserialize_dl_modeldeserialize_dl_modelDeserializeDlModelDeserializeDlModeldeserialize_dl_model

See also

serialize_dl_classifierserialize_dl_classifierSerializeDlClassifierSerializeDlClassifierserialize_dl_classifier

Module

Deep Learning Enhanced