get_dict_tuple (DLDataset, 'class_ids', ClassIDs) get_dict_tuple (DLDataset, 'class_names', ClassNames) set_dict_tuple (DLDataset, 'image_dir', ImageDir) set_dict_tuple (DLDataset, 'segmentation_dir', LabelDir) split_dl_dataset (DLDataset, 85, 15, []) create_dl_preprocess_param ...
get_dict_tuple (WordsRes, 'row', Rows) * 获取文字区域的列坐标 get_dict_tuple (WordsRes, 'col', Cols) * 获取文字区域的倾斜角度 get_dict_tuple (WordsRes, 'phi', Phis) * 获取文字区域的矩形长边 get_dict_tuple (WordsRes, 'length1', Length1s) * 获取文字区域的矩形短边 get_dict_tup...
Halcon Dict字典数据类型获取键的值 对于下面这个字典变量 要访问键‘classfication_class_ids’对应的值 不能使用传统写法:DLResultBatch['classfication_class_ids']直接访问 要使用get_dict_tuple函数来访问 例如: get_dict_tuple(DLResultBatch,'classification_class_names',name) 显示内容: disp_message(WindowHa...
set_dict_tuple (TrainParamAnomaly,'regularization_noise', RegularizationNoise) set_dict_tuple (TrainParamAnomaly,'error_threshold', ErrorThreshold) set_dict_tuple (TrainParamAnomaly,'domain_ratio', DomainRatio)*---创建训练参数 create_dl_train_param (DLModelHandle, MaxNumEpochs, [], EnableDisplay,73...
直接a:=candidate[0],然后再get_dict_tuple就好了
get_dict_tupleretrieves a tuple associated with theKeyfrom the dictionary denoted by theDictHandle. The tuple has to be previously stored to the dictionary usingset_dict_tuple. The operator returns the data in the parameterTuple. The data including strings is copied by the operation, the dictio...
get_dict_tuple (DLResult, 'bbox_class_id', BboxClasses) 6. 显示结果: dev_display (RectangleSelected) dev_disp_text (TextResults, 'window', 'top', 'left', BboxColorsResult***ox', 'false') 1.4.2 HALCON AI加速器接口 (AI²) MVTec...
可以通过操作 set_dict_object 和set_dict_tuple 函数来向字典里面存入数据,存入数报的时候需要值、键和字典句柄。这两个函数共有 3 个变量:第一个变量是存入的值,第一个变量是句柄,第三个变量是键值。 可以通过 get_dict_object 和get_dict_tuple 函数来查询字典里面的数据,这两个函数的第一个变量是字典的...
Vector和Tuple可以互相转换 convert_tuple_to_vector_1d convert_vector_to_tuple 字典 字典的特点: 键、值 存储方式 单个容器内,可以存储任意Iconic和Control数据和数组 越来越多地作为算子调用的参数 create_dict(InputFileDict1) set_dict_tuple(InputFileDict1,'image_file',ImageFile) ...
create_dict (WindowDict)get_dict_tuple (DLDataset, 'samples', DatasetSamples)for Index := 0 to 9 by 1 * 随机的实现过程 SampleIndex := round(rand(1) * (|DatasetSamples| - 1)) 随机的实现过程*从样本字典里面读取数据 read_dl_samples (DLDataset, SampleIndex, DLSample)*显示DL的数据的 ...