CN111539233A - 一种避免误扫条码的方法及避免误扫条码的解码器 - Google Patents

一种避免误扫条码的方法及避免误扫条码的解码器 Download PDF

Info

Publication number
CN111539233A
CN111539233A CN202010193114.8A CN202010193114A CN111539233A CN 111539233 A CN111539233 A CN 111539233A CN 202010193114 A CN202010193114 A CN 202010193114A CN 111539233 A CN111539233 A CN 111539233A
Authority
CN
China
Prior art keywords
code scanning
bar code
module
button
aiming light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010193114.8A
Other languages
English (en)
Inventor
殷剑
朱奇
张建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Mobi Inton Intelligent System Co ltd
Original Assignee
Suzhou Mobi Inton Intelligent System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Mobi Inton Intelligent System Co ltd filed Critical Suzhou Mobi Inton Intelligent System Co ltd
Priority to CN202010193114.8A priority Critical patent/CN111539233A/zh
Publication of CN111539233A publication Critical patent/CN111539233A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Studio Devices (AREA)

Abstract

本发明提供一种避免误扫条码的方法及避免误扫条码的解码器,通过按下触发按键时仅射出瞄准光,而在瞄准光对准条码后释放触发按键时才进行扫码的设计,能够做到100%的精准扫码,有效地解决了二维扫码引擎误扫条码的问题,从而保证了解码的精度。

Description

一种避免误扫条码的方法及避免误扫条码的解码器
技术领域
本发明涉及条码扫描技术领域,尤其涉及一种避免误扫条码的方法及避免误扫条码的解码器。
背景技术
目前主流二维码解码器的组成主要包括三个部分:感光成像的camera模组、照明模组以及瞄准光模组。其中,瞄准光主要用于对准目标条码,使条码成像能够居于camera中心位置,从而提高解码成功率;感光成像的camera主要用于条码的图像采集,然后把抓到的图像传递给解码库,解码库扫描图像,把图像中的条码根据条码规则转换成对应的内容。因为图像的采集是通过拍照的形式,当图像中出现多个密集条码,解码库就很难精确地解码。
目前针对这个问题,主要的处理方法有两种。第一种方法是在解码库中设定一个中心窗口,感光camera抓取一幅图片,解码库只会去解码在中心窗口位置的条码,这种方法能在一定程度上提高解码精度,但是误扫的几率还是很高;第二种方法是记录每一个二维解码引擎上瞄准光的位置,然后解码库只是解出瞄准光的位置所覆盖的条码,这种方法可以极大地提高解码精度。
然而,以上两种方法都不能解决用户第一次开启扫码的误扫情况。比如,用户想扫图中第三个条码,用户拿着扫码设备对准了第三个条码,然后用户触发扫码,但是当用户按下扫码按键触发扫码时,瞄准光或者中心窗口并不一定在用户想扫码的条码上面,这就依旧会造成误扫。
发明内容
本发明的目的是为了解决现有技术中存在的二维扫码引擎误扫条码的问题,而提出的一种避免误扫条码的方法及避免误扫条码的解码器。
为实现上述目的,本发明采用了如下技术方案:一种避免误扫条码的方法,包括以下步骤:
S1.用户按下扫码按键;
S2.二维扫码引擎射出瞄准光;
S3.用户将瞄准光对准条码;
S4.用户释放扫码按键,触发扫码;
S5.扫码成功。
较佳地,步骤S1中用户按下扫码按键后触发Button_down事件,该Button_down事件为控制二维扫码引擎射出瞄准光而不进行扫码操作。
较佳地,步骤S4中用户释放扫码按键后触发Button_up事件,该Button_up事件为控制二维扫码引擎进行扫码操作。
本发明还提供了一种避免误扫条码的解码器,该解码器包括camera模块、瞄准光模块、触发模块和控制模块,触发模块包括触发按键,触发按键的输出端与控制模块的输入端电性连接,控制模块的输出端分别与camera模块和瞄准光模块电性连接;触发按键处于第一状态时,控制模块控制瞄准光模块射出瞄准光,触发按键由第一状态转换为第二状态时,控制模块控制camera模块进行条码图像的采集。
较佳地,触发按键的第一状态为按下状态,触发按键的第二状态为释放状态。
较佳地,该解码器还包括解码模块,解码模块的输入端与camera模块的输出端电性连接。进一步地,解码模块的输出端与控制模块的输入端电性连接。
与现有技术相比,本发明的有益效果为:通过按下触发按键时仅射出瞄准光,而在瞄准光对准条码后释放触发按键时才进行扫码的设计,能够做到100%的精准扫码,有效地解决了二维扫码引擎误扫条码的问题,从而保证了解码的精度。
附图说明
图1为本发明一实施例的一种解码器的结构示意图。
具体实施方式
为使对本发明的目的、构造、特征、及其功能有进一步的了解,兹配合实施例详细说明如下。
本发明的一种避免二维扫码引擎误扫条码的方法,包括以下步骤:
S1.用户按下扫码按键;
S2.二维扫码引擎射出瞄准光;
S3.用户将瞄准光对准条码;
S4.用户释放扫码按键,触发扫码;
S5.扫码成功。
其中,步骤S1中用户按下扫码按键后触发Button_down事件,该Button_down事件为控制二维扫码引擎射出瞄准光而不进行扫码操作;步骤S4中用户释放扫码按键后触发Button_up事件,该Button_up事件为控制二维扫码引擎进行扫码操作。Button_down事件和Button_up事件均为软件控制事件,当按下扫码按键触发Button_down事件时,软件部分控制二维扫码引擎射出瞄准光而不进行扫码操作;当释放扫码按键触发Button_up事件时,软件部分控制二维扫码引擎进行扫码操作。
请参见图1,本发明还提供了一种避免误扫条码的解码器,该解码器包括camera模块1、瞄准光模块2、触发模块3和控制模块4,触发模块3包括触发按键31,触发按键31的输出端与控制模块4的输入端电性连接,控制模块4的输出端分别与camera模块1和瞄准光模块2电性连接;触发按键31处于第一状态时,控制模块4控制瞄准光模块2射出瞄准光,触发按键31由第一状态转换为第二状态时,控制模块4控制camera模块进行条码图像的采集。在一优选的实施方式中,触发按键31的第一状态为按下状态,触发按键31的第二状态为释放状态,以使用户操作简便。
优选地,该解码器还包括解码模块5,解码模块5的输入端与camera模块1的输出端电性连接,以接收camera模块1传送的条码图像。进一步地,解码模块5的输出端与控制模块4的输入端电性连接,以向控制模块4发送解码成功信息,从而使得控制模块4控制camera模块1停止条码图像的采集。
本发明的一种避免误扫条码的方法及避免误扫条码的解码器,通过按下触发按键时仅射出瞄准光,而在瞄准光对准条码后释放触发按键时才进行扫码的设计,能够做到100%的精准扫码,有效地解决了二维扫码引擎误扫条码的问题,从而保证了解码的精度。
本发明已由上述相关实施例加以描述,然而上述实施例仅为实施本发明的范例。必需指出的是,已揭露的实施例并未限制本发明的范围。相反地,在不脱离本发明的精神和范围内所作的更动与润饰,均属本发明的专利保护范围。

Claims (7)

1.一种避免误扫条码的方法,其特征在于,包括以下步骤:
S1.用户按下扫码按键;
S2.二维扫码引擎射出瞄准光;
S3.用户将瞄准光对准条码;
S4.用户释放扫码按键,触发扫码;
S5.扫码成功。
2.如权利要求1所述的一种避免二维扫码引擎误扫条码的方法,其特征在于,步骤S1中用户按下扫码按键后触发Button_down事件,所述Button_down事件为控制二维扫码引擎射出瞄准光而不进行扫码操作。
3.如权利要求1所述的一种避免二维扫码引擎误扫条码的方法,其特征在于,步骤S4中用户释放扫码按键后触发Button_up事件,所述Button_up事件为控制二维扫码引擎进行扫码操作。
4.一种避免误扫条码的解码器,其特征在于,包括camera模块、瞄准光模块、触发模块和控制模块,所述触发模块包括触发按键,所述触发按键的输出端与所述控制模块的输入端电性连接,所述控制模块的输出端分别与所述camera模块和所述瞄准光模块电性连接;所述触发按键处于第一状态时,所述控制模块控制所述瞄准光模块射出瞄准光,所述触发按键由第一状态转换为第二状态时,所述控制模块控制所述camera模块进行条码图像的采集。
5.如权利要求4所述的一种避免误扫条码的解码器,其特征在于,所述触发按键的第一状态为按下状态,所述触发按键的第二状态为释放状态。
6.如权利要求4或5所述的一种避免误扫条码的解码器,其特征在于,还包括解码模块,所述解码模块的输入端与所述camera模块的输出端电性连接。
7.如权利要求6所述的一种避免误扫条码的解码器,其特征在于,所述解码模块的输出端与所述控制模块的输入端电性连接。
CN202010193114.8A 2020-03-18 2020-03-18 一种避免误扫条码的方法及避免误扫条码的解码器 Pending CN111539233A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010193114.8A CN111539233A (zh) 2020-03-18 2020-03-18 一种避免误扫条码的方法及避免误扫条码的解码器

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010193114.8A CN111539233A (zh) 2020-03-18 2020-03-18 一种避免误扫条码的方法及避免误扫条码的解码器

Publications (1)

Publication Number Publication Date
CN111539233A true CN111539233A (zh) 2020-08-14

Family

ID=71974966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010193114.8A Pending CN111539233A (zh) 2020-03-18 2020-03-18 一种避免误扫条码的方法及避免误扫条码的解码器

Country Status (1)

Country Link
CN (1) CN111539233A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560533A (zh) * 2020-12-26 2021-03-26 苏州斯普锐智能系统股份有限公司 一种实时瞄准指定解码方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5504316A (en) * 1990-05-08 1996-04-02 Symbol Technologies, Inc. Laser scanning system and scanning method for reading 1-D and 2-D barcode symbols
CN1534538A (zh) * 1995-07-20 2004-10-06 ��ʿͨ��ʽ���� 适用于多种用途的光学阅读器
CN2653606Y (zh) * 2003-08-13 2004-11-03 精技电脑股份有限公司 手持式条形码阅读器的照明装置
JP2005309562A (ja) * 2004-04-19 2005-11-04 Matsushita Electric Ind Co Ltd 情報端末
US20070057067A1 (en) * 2005-09-15 2007-03-15 Symbol Technologies, Inc. Sensor for activating an aiming pattern of a handheld scanner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5504316A (en) * 1990-05-08 1996-04-02 Symbol Technologies, Inc. Laser scanning system and scanning method for reading 1-D and 2-D barcode symbols
CN1534538A (zh) * 1995-07-20 2004-10-06 ��ʿͨ��ʽ���� 适用于多种用途的光学阅读器
CN2653606Y (zh) * 2003-08-13 2004-11-03 精技电脑股份有限公司 手持式条形码阅读器的照明装置
JP2005309562A (ja) * 2004-04-19 2005-11-04 Matsushita Electric Ind Co Ltd 情報端末
US20070057067A1 (en) * 2005-09-15 2007-03-15 Symbol Technologies, Inc. Sensor for activating an aiming pattern of a handheld scanner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560533A (zh) * 2020-12-26 2021-03-26 苏州斯普锐智能系统股份有限公司 一种实时瞄准指定解码方法

Similar Documents

Publication Publication Date Title
CN102073839B (zh) 使用激光器光探测唤醒的远距离选择性的rfid
US9805225B2 (en) Apparatus for recognizing character and barcode simultaneously and method for controlling the same
US7447362B2 (en) System and method of enabling a cellular/wireless device with imaging capabilities to decode printed alphanumeric characters
CN101171597B (zh) 具有全局电子快门控制的条形码读取装置
CN101650779B (zh) 字符识别装置以及字符识别方法
CN1666223A (zh) 改良条形码扫描器及方法
US20090017765A1 (en) System and Method of Enabling a Cellular/Wireless Device with Imaging Capabilities to Decode Printed Alphanumeric Characters
CN111539233A (zh) 一种避免误扫条码的方法及避免误扫条码的解码器
CN106407977B (zh) 目标内容的定位搜索的方法和装置
CN101296441A (zh) 一种扫描二维条码发送消息的方法及装置
CN110751862A (zh) 一种手持式读取器及其数据处理方法
CN102722691A (zh) 使用二维编程代码编程条码符号扫描终端的方法、装置以及系统
CN206601711U (zh) 可扫描一维及二维条形码的扫描仪
CN102663338A (zh) 一种智能手机终端扫描识别纸质彩票二维码的方法
CN111539235A (zh) 一种避免二维扫码引擎误扫条码的方法及应用其的解码器
US20100208308A1 (en) Method and apparatus for recognizing characters
CN101262513A (zh) 有微型扫描仪的拍照手机
CN1150440C (zh) 编码数据处理系统接口装置
CN116562318A (zh) 一种基于pda终端的编码格式检测方法、装置及电子设备
CN1384463A (zh) 光学读取装置和备有该光学读取装置的移动体通信设备
CN113111675B (zh) 一种基于扫码器的快速识别条码的方法及系统
CN114282556A (zh) 一种基于插件的扫码系统和方法
US20110073649A1 (en) Method and system for recognizing barcode
CN201057559Y (zh) 一种利用pc摄像头实现条形码识读的装置
CN110034821A (zh) 一种带反馈信号的二维码隔离网络信息传递装置及其方法

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200814

RJ01 Rejection of invention patent application after publication