read_descriptor_modelT_read_descriptor_modelReadDescriptorModelReadDescriptorModelread_descriptor_model (Operator)
Name
read_descriptor_modelT_read_descriptor_modelReadDescriptorModelReadDescriptorModelread_descriptor_model
— Read a descriptor model from a file.
Signature
def read_descriptor_model(file_name: str) -> HHandle
Description
The operator read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelread_descriptor_model
reads a descriptor
model, which has been written with write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model
,
from the file FileNameFileNameFileNamefileNamefile_name
. The default HALCON file extension
for the descriptor model is 'dsm'.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Parameters
FileNameFileNameFileNamefileNamefile_name
(input_control) filename.read →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension:
.dsm
ModelIDModelIDModelIDmodelIDmodel_id
(output_control) descriptor_model →
HDescriptorModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the model.
Possible Successors
find_uncalib_descriptor_modelfind_uncalib_descriptor_modelFindUncalibDescriptorModelFindUncalibDescriptorModelfind_uncalib_descriptor_model
,
find_calib_descriptor_modelfind_calib_descriptor_modelFindCalibDescriptorModelFindCalibDescriptorModelfind_calib_descriptor_model
See also
create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model
,
create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model
Module
Matching