find_data_code_2d(Operator) Name find_data_code_2d— Detect and read 2D data code symbols in an image or train the 2D data code model. Signature Description The operatorfind_data_code_2ddetects 2D data code symbols in the input image (Image) and reads the data that is encoded in the ...
find_data_code_2d— Detect and read 2D data code symbols in an image or train the 2D data code model. Signature Description The operatorfind_data_code_2ddetects 2D data code symbols in the input image (Image) and reads the data that is encoded in the symbol. Before callingfind_data_code...
find_data_code_2d (Image2, SymbolXLDs, DataCodeHandle,'stop_after_result_num', 3, ResultHandles, DecodedDataStrings) 5、如果对于质量很差的二维码,可以模拟日常手机扫码时的操作,即多次改变曝光,多次解码的方式,参考文章: https://www.cnblogs.com/xh6300/p/9809692.html 6、通过set_data_code_2d_para...
从文件中读取一张图像后,调用算子create_data_code_2d_model产生一个数据码模型。作为仅仅要求的参数值,码名‘Data Matrix ECC 200’被指定。 然后,用算子find_data_code_2d去读取数据码。 在程序的最后,用算子clear_data_code_2d_model去毁掉创建的码模型。 数据码识别的效果图为:...
1)find_data_code_2d() Image:输入的图像 SymbolXLDs:被成功解码的二维码周边的XLD轮廓 DataCodeHandle:二维码模型句柄 GenParamName:可设置的通用参数的名称 stop_after_result_num:需要检测条码的最大数量 ... GenParamValue:可设置通用参数的设置值
find_data_code_2d(Image : SymbolXLDs : DataCodeHandle, GenParamNames, GenParamValues : ResultHandles, DecodedDataStrings) 其中,Image是输入的二维码图像。 SymbolXLDs是解码成功后找到并输出的二维码边缘。 DataCodeHandle是create_data_code_2d_model创建的二维码模型句柄。
find_data_code_2d (Image, SymbolXLDs, DataCodeHandle, [], [], ResultHandles, DecodedDataStrings) *清除模型 clear_data_code_2d_model (DataCodeHandle) 1. 2. 3. 4. 5. 6. 7. 8. 运行: 代码导出 在Halcon编辑器的菜单栏依次选择 “文件 — 导出”; ...
'QR Code'(输入参数):输入二维码类型 DataCodeHandle(输出参数):输出二维码句柄 搜索二 维码,并解码 find_data_code_2d 算子:find_data_code_2d( : : , , : , ) 示例:find_data_code_2d (GrayImage2, SymbolXLDs, DataCodeHandle, [], [], ResultHandles, DecodedDataStrings1) ...
find_data_code_2d :查找二维码 clear_data_code_2d_model :清除二维码模型 还有几个算子也值得注意一下: set_data_code_2d_param :设置解码时的参数 get_data_code_2d_param :获取解码时的参数(如果没有设置过,则获得的是默认值) get_data_code_2d_results :获得解码后的一些结果 ...
Malcon支持多种二维码类型,QR Code,DataMatrix ,PDF 417,RSS等等; 下边讲解一下步骤: 1、读取图片ReadImage 2、创建相对应的条码类型的句柄CreateDataCode2dModel 3、设置条码参数SetDataCode2dParam 4、查找条码:输出条码信息FindDataCode2d 5、设置显示字体SetDisplayFont ...