set_data_code_2d_param(DataCodeHandleQR, ['module_size_min','module_size_max'], [12,40])*如果GenParamNames, GenParamValues不填,那么默认只找一个二维码,将'stop_after_result_num'设置为3指最多找3个*find_data_code_2d (Image2, SymbolXLDs, DataCodeHandleQR, [], [], ResultHandles, Decod...
find_data_code_2d(Image, SymbolXLDs, DataCodeHandle, ‘train’, ‘all’, \ ResultHandles, DecodedDataStrings)*清除模型clear_data_code_2d_model(DataCodeHandle)create_data_code_2d_model('Data Matrix ECC200', [], [], DataCodeHandle) 2 解码升级——解码参数的设置 在解码入门之后,下面介绍的就...
* decode_bar_code_rectangle2 (Image, BarCodeHandle, ['Code 128','Code 39'], Row1, Column1, Phi, Length1, Length2, DecodedDataStrings) * ['Code 128','Code 39']这么写表示既可以解128码,也可以解39码 find_bar_code (Image, SymbolRegions1, BarCodeHandle, ['Code 128','Code 39'], B...
create_data_code_2d_model('Data Matrix ECC 200', [], [], DataCodeHandle) *寻找二维码轮廓与解析二维码数据 find_data_code_2d(Image_rectified, SymbolXLDs, DataCodeHandle, [], [], ResultHandles, DecodedDataStrings) * * Display result dev_display(Image_slanted) dev_display(Image_rectified) d...
二维码识别中,create_data_code_2d_model创建二维码模型,通过set_data_code_2d_param设置二维码参数,再通过find_data_code_2d查找二维码的内容,最后clear_data_code_2d_model清空数据模型,同样,在这里没有做图像预处理工偶,halcon通过set_data_code_2d_param参数,强大的算法就可以解码了。 总结一点,识别类应用主要是...
This value is used for results that refer to the last find_data_code_2d call in general but not to a specific candidate. 'all_candidates': All candidates (including the successfully decoded symbols) that were investigated during the last call of find_data_code_2d. 'all_results': All ...
'datacode/ecc200/ecc200_cpu_007') * train the model with the symbol in the image find_data_code_2d (Image, SymbolXLDs, DataCodeHandle, 'train', 'all', \ ResultHandles, DecodedDataStrings) * Request the current settings of the (now trained) model get_data_code_2d_param(DataCodeHandle...
find_data_code_2d 功能:检测和读取一副图像或测试的二维数据编码模式中的二维数据编码符号。 get_data_code_2d_objects 功能:查询搜索二维数据编码符号过程中创建的对象的图标。 get_data_code_2d_param 功能:获取一个或多个描述二维数据编码模型的参数。 get_data_code_2d_results 功能:获取字母数字混合编码的结...
find_data_code_2d(GrayImage,\ SymbolXLDs,\ DataCodeHandle,'train','all',\ ResultHandles,DecodedDataStrings) *参数依次是 *参数一:输入的图像 *参数二:XLD轮廓包围成功解码后的数据代码符号。就是如果找到二维码所在的区域, *就将那个区域的XLD返回,注意可能输组 *参数三:所使用的模板句柄 *参数四...
find_data_code_2d(Image : SymbolXLDs : DataCodeHandle, GenParamNames, GenParamValues : ResultHandles, DecodedDataStrings) 其中,Image是输入的二维码图像。 SymbolXLDs是解码成功后找到并输出的二维码边缘。 DataCodeHandle是create_data_code_2d_model创建的二维码模型句柄。 GenParamNames是解码函数的属性名,默认...