Barcode读取之set_bar_code_param_specific.hdev

本文档通过示例详细介绍了如何使用set_bar_code_param_specific和get_bar_code_param_specific算子来初始化一维码读取器,设置解码参数,包括条码类型、允许角度和角度偏差,以便在特定角度下读取EAN-13和Code 39条码。
摘要由CSDN通过智能技术生成

*本例子介绍了如何使用set_bar_code_param_specific算子和get_bar_code_param_specific算子

  • Example program for the usage of the operators
  • set_bar_code_param_specific and get_bar_code_param_specific.
  • 本例子中,目的是想要同时解码两个一维码。但是想要的是EAN-13这个码大概是垂直方向而Code 39是水平方向
  • In this example we want to decode two bar codes in one
  • image simultaneously but we demand that the EAN-13 code
  • is approximately vertical whereas the Code 39 code is
  • approximately horizontal.
  • 初始化
  • Initialization
    *关闭更新
    dev_update_off ()
    *关闭窗体
    dev_close_window ()
  • 创建一维码读取器
  • Create bar code reader model
    create_bar_code_model ([], [], BarCodeHandle)
  • 定义要用的图像
  • Define example images to use
    ExampleImage := ‘barcode/mixed/barcode_mixed_02’
  • 读取图像并设置几个显示参数
  • Read and show the image, set a few display parameters
    *显示图像
    read_image (Image, ExampleImage)
    *打开适合图像尺寸的窗体
    dev_ope
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值