WO2017028663A1 - Method and system for aligning and scanning two-dimensional code - Google Patents

Method and system for aligning and scanning two-dimensional code Download PDF

Info

Publication number
WO2017028663A1
WO2017028663A1 PCT/CN2016/091906 CN2016091906W WO2017028663A1 WO 2017028663 A1 WO2017028663 A1 WO 2017028663A1 CN 2016091906 W CN2016091906 W CN 2016091906W WO 2017028663 A1 WO2017028663 A1 WO 2017028663A1
Authority
WO
WIPO (PCT)
Prior art keywords
dimensional code
camera
processing module
image processing
light
Prior art date
Application number
PCT/CN2016/091906
Other languages
French (fr)
Chinese (zh)
Inventor
蒋锦扬
叶芳耀
Original Assignee
福建联迪商用设备有限公司
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 福建联迪商用设备有限公司 filed Critical 福建联迪商用设备有限公司
Publication of WO2017028663A1 publication Critical patent/WO2017028663A1/en

Links

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

Definitions

  • the present invention relates to a method and apparatus for two-dimensional code alignment scanning.
  • the technical problem to be solved by the present invention is: by guiding the guiding function of the lamp, realizing the alignment scanning of the two-dimensional code to obtain the complete two-dimensional code information.
  • the technical solution adopted by the present invention is: Providing a method for two-dimensional code alignment scanning, comprising:
  • S1 the camera is aligned with the two-dimensional code by the indicator light
  • S2 scanning the two-dimensional code, acquiring a scanned image, and transmitting the image to the image processing module through the sensor;
  • the image processing module processes and decodes the scanned image.
  • the technical solution adopted by the present invention is: Providing a device for two-dimensional code alignment scanning, comprising: a camera, a guiding light, a sensor, and an image processing module; wherein
  • a guide light is used to guide the position of the two-dimensional code
  • the camera is aimed at the QR code through the finger bow I light;
  • the image processing module processes and decodes the scanned image.
  • the beneficial effects of the present invention are as follows: Different from the prior art, the present invention guides the camera to position the two-dimensional code by guiding the light to realize the alignment scanning to obtain the complete two-dimensional code information, and the operation is convenient.
  • Embodiment 1 is a schematic flow chart of Embodiment 1 of a method according to the present invention.
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of a method according to the present invention.
  • FIG. 3 is a structural block diagram of a third embodiment of the apparatus according to the present invention.
  • FIG. 4 is a structural block diagram of a third embodiment of the apparatus according to the present invention.
  • the most critical idea of the present invention is to scan the camera by guiding the camera to align the two-dimensional code.
  • a first embodiment of the present invention provides a method for two-dimensional code alignment scanning, which includes the following steps.
  • S1 the camera is aligned with the two-dimensional code by the indicator light
  • S2 scanning the two-dimensional code, acquiring a scanned image, and transmitting the image to the image processing module through the sensor;
  • S3 The image processing module processes and decodes the scanned image.
  • the second embodiment of the present invention further includes:
  • S01 connecting the camera and the image processing module to the sensor respectively;
  • the image processing module may be a CPU.
  • high-performance sensors can be used with HD lenses to connect the sensors directly to the CPU of the product through the CSI interface or MIPI interface.
  • the high-definition camera can be integrated with the indicator light, and the indicator light is used to guide the scanning position, that is, after the indicator light is turned on, according to the illumination range of the guidance light, the camera synchronization moves to obtain the specific position of the two-dimensional code, and Preferably, the distance between the indicator light and the two-dimensional code and the focal length of the indicator light can be adjusted, so that the entire two-dimensional code is included in the illumination range of the guidance light to obtain complete two-dimensional code information.
  • Integrated guide light in the camera can reduce the size of the entire device, and achieve miniaturization.
  • the indicator light can be set separately from the camera, and only needs to ensure that the two move synchronously.
  • step S02 the method further includes:
  • the fill light is used to supplement the low illumination environment to improve the brightness of the picture.
  • the fill light is integrated into the camera, which is also considered for the miniaturization of the device.
  • the fill light can be set separately from the camera. It is only necessary to ensure that the fill light can complement the two-dimensional code so that the camera can obtain enough light intensity.
  • step S2 the method further includes:
  • S21 the image processing module sends the scanned image to the display module
  • S22 the camera acquires an alignment correction instruction of the scanned image by using the display module
  • the two-dimensional code scanning function is implemented, and the image is continuously sent to the system CPU through the sensor, and the CPU performs image processing and decoding, and sends a prompt after the decoding succeeds.
  • the CPU can send the image to the display screen for display, for the user to align the correction, and the camera corrects the alignment by scanning correction. This can improve accuracy.
  • step S2 the method further includes:
  • S23 the image processing module converts the scanned image into a YUV format
  • S24 determining whether the Y component value is less than a predetermined value
  • step S25 controlling the fill light, the indicator light is turned on; and returning to step S2;
  • step S21 or S3 is performed.
  • the fill light can be complemented by setting the fill light. Specifically, according to the scanned image received by the CPU, the image is converted into the YUV format, and the effect of the processing is that the brightness information of the scanned image can be determined by the Y component representing the brightness value, and whether it is lower than a predetermined value, Selectively activate the fill light.
  • the fill light and the indicator light need to be used to achieve quick guidance in this state.
  • the overall Y component value is greater than the set value, it indicates that the current state is for the self-illuminating object, and this time, the fill light and the indicator light are turned off, and scanning is performed.
  • the camera preview interface may be further opened to achieve a quick guidance by means of preview + alignment.
  • the miniaturization of the device can be realized by integrating the indicator light and/or the fill light on the camera.
  • the preview alignment by increasing the preview alignment, a more accurate alignment scan is realized, and in the case of external light intensity, the fill light is scanned to obtain complete QR code information, which is not only convenient to operate, And the user experience has also improved.
  • the third embodiment of the present invention provides a device 100 for two-dimensional code alignment scanning, including: a camera 110, a pointing light 120, a sensor 130, and an image processing module 140;
  • the indicator light 120 is used to guide the position of the two-dimensional code
  • the camera 110 aligns the scanned two-dimensional code by the pointing light 120, and passes the sensor 13 after acquiring the scanned image.
  • the image processing module 140 is configured to process and decode the scanned image.
  • the sensor 130 in the fourth embodiment of the present invention is respectively connected to the camera 110 and the image processing module 140; and the finger 110 is integrated on the camera 110.
  • the device 100 further includes a fill light 150, and the fill light 150 is integrated on the camera 110 for supplementing the light intensity in a low light environment.
  • the device 100 further includes a display module 160,
  • the display module 160 is configured to display a scanned image sent by the preview image processing module 140;
  • the camera 110 acquires an alignment correction instruction of the scanned image through the display module 160.
  • the image processing module 140 further includes:
  • a converting unit 141 configured to convert the scanned image into a YUV format
  • the determining unit 142 is configured to determine whether the ⁇ component value is less than a predetermined value.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

Disclosed are a method and device for aligning and scanning a two-dimensional code, wherein the method comprises the following steps: S1:a camera aligning a two-dimensional code by means of a guidance lamp; S2:scanning the two-dimensional code, acquiring a scanned image, and sending same to an image processing module by means of a sensor; and S3:the image processing module processing and decoding the scanned image. By means of the method, the present invention is capable of realizing alignment and scanning, so as to acquire complete two-dimensional code information, and the operation is convenient.

Description

说明书  Instruction manual
发明名称:二维码对准扫描方法及装置 技术领域  Invention name: two-dimensional code alignment scanning method and device
[0001] 本发明涉及一种二维码对准扫描的方法及装置。  [0001] The present invention relates to a method and apparatus for two-dimensional code alignment scanning.
背景技术  Background technique
[0002] 随着电商的快速发展, 电商直接使用 POS机进行交易的需求也越来越高, 电商 使用的 POS机上, 为方便电商交易, POS上带标签识别的功能需求也越加强烈。 虽然一些 POS上带有了二维码扫描功能, 但却在扫描吋只能通过灯光来指引, 在 光线强烈处, 指引灯光被掩盖, 造成无法准确定位, 而在手机上扫描需求的增 力口, 灯光指引的方案还会影响扫描的效果。  [0002] With the rapid development of e-commerce, the demand for e-commerce to directly use POS machines for transactions is also increasing. On the POS machines used by e-commerce, in order to facilitate e-commerce transactions, the functional requirements for tag identification on POS are also higher. Plus strong. Although some POSs have a QR code scanning function, they can only be guided by the light after scanning. In the strong light, the guiding light is covered, which makes it impossible to accurately locate, and scans the demand on the mobile phone. The lighting guidelines also affect the scanning effect.
技术问题  technical problem
[0003] 本发明所要解决的技术问题是: 通过指引灯的指引作用, 实现二维码的对准扫 描, 以获取完整的二维码信息。  [0003] The technical problem to be solved by the present invention is: by guiding the guiding function of the lamp, realizing the alignment scanning of the two-dimensional code to obtain the complete two-dimensional code information.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0004] 为了解决上述技术问题, 本发明采用的技术方案为: 提供一种二维码对准扫描 的方法, 包括:  [0004] In order to solve the above technical problem, the technical solution adopted by the present invention is: Providing a method for two-dimensional code alignment scanning, comprising:
[0005] S1 : 摄像头通过指引灯对准二维码; [0005] S1: the camera is aligned with the two-dimensional code by the indicator light;
[0006] S2: 扫描二维码, 获取扫描图像, 并通过传感器发送至图像处理模块;  [0006] S2: scanning the two-dimensional code, acquiring a scanned image, and transmitting the image to the image processing module through the sensor;
[0007] S3: 图像处理模块对所述扫描图像进行处理、 解码。 S0007: The image processing module processes and decodes the scanned image.
[0008] 为了解决上述技术问题, 本发明采用的技术方案为: 提供一种二维码对准扫描 的装置, 包括: 摄像头、 指引灯、 传感器及图像处理模块; 其中,  [0008] In order to solve the above technical problem, the technical solution adopted by the present invention is: Providing a device for two-dimensional code alignment scanning, comprising: a camera, a guiding light, a sensor, and an image processing module; wherein
[0009] 指引灯用于指引二维码的位置; [0009] a guide light is used to guide the position of the two-dimensional code;
[ooio] 摄像头通过指弓 I灯对准二维码;  [ooio] The camera is aimed at the QR code through the finger bow I light;
[0011] 扫描二维码, 获取扫描图像, 并通过传感器发送至图像处理模块;  [0011] scanning the two-dimensional code, acquiring a scanned image, and transmitting to the image processing module through the sensor;
[0012] 图像处理模块对所述扫描图像进行处理、 解码。 [0012] The image processing module processes and decodes the scanned image.
发明的有益效果 有益效果 Advantageous effects of the invention Beneficial effect
[0013] 本发明的有益效果在于: 区别于现有技术, 本发明通过指引灯引导摄像头对二 维码进行定位, 实现对准扫描, 以获取完整的二维码信息, 操作便捷。  [0013] The beneficial effects of the present invention are as follows: Different from the prior art, the present invention guides the camera to position the two-dimensional code by guiding the light to realize the alignment scanning to obtain the complete two-dimensional code information, and the operation is convenient.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0014] 图 1为本发明方法实施例一的流程示意图;  1 is a schematic flow chart of Embodiment 1 of a method according to the present invention;
[0015] 图 2为本发明方法实施例二的流程示意图; 2 is a schematic flowchart of Embodiment 2 of a method according to the present invention;
[0016] 图 3为本发明装置实施例三的结构框图; 3 is a structural block diagram of a third embodiment of the apparatus according to the present invention;
[0017] 图 4为本发明装置实施例三的结构框图。 4 is a structural block diagram of a third embodiment of the apparatus according to the present invention.
具体实施方式 detailed description
[0018] 本发明最关键的构思在于: 通过指引灯引导摄像头对准二维码, 进行扫描。  [0018] The most critical idea of the present invention is to scan the camera by guiding the camera to align the two-dimensional code.
[0019] 请参照图 1, 本发明实施例一提供一种二维码对准扫描的方法, 包括如下步骤 Referring to FIG. 1, a first embodiment of the present invention provides a method for two-dimensional code alignment scanning, which includes the following steps.
[0020] S1 : 摄像头通过指引灯对准二维码; [0020] S1: the camera is aligned with the two-dimensional code by the indicator light;
[0021] S2: 扫描二维码, 获取扫描图像, 并通过传感器发送至图像处理模块;  [0021] S2: scanning the two-dimensional code, acquiring a scanned image, and transmitting the image to the image processing module through the sensor;
[0022] S3: 图像处理模块对所述扫描图像进行处理、 解码。  [0022] S3: The image processing module processes and decodes the scanned image.
[0023]  [0023]
[0024] 如图 2所示, 本发明实施例二在步骤 S1之前, 还包括:  [0024] As shown in FIG. 2, before the step S1, the second embodiment of the present invention further includes:
[0025] S01 : 分别将摄像头、 图像处理模块与传感器连接; [0025] S01: connecting the camera and the image processing module to the sensor respectively;
[0026] S02: 在摄像头上集成指引灯。 [0026] S02: Integrating the indicator light on the camera.
[0027] 一般地, 图像处理模块可以是 CPU。 在实际设计生产过程中, 可使用高性能的 传感器配合高清镜头, 将传感器通过 CSI接口或者 MIPI接口直接与产品的 CPU连 接。  [0027] Generally, the image processing module may be a CPU. In the actual design and production process, high-performance sensors can be used with HD lenses to connect the sensors directly to the CPU of the product through the CSI interface or MIPI interface.
[0028] 高清摄像头可集成指引灯, 指引灯则用于指引扫描的位置, 即幵启指引灯后, 根据指引灯光的照射范围, 摄像头同步随之移动, 以获取二维码的具体位置, 且优选地, 可调整指引灯与二维码的距离及本身的焦距, 使得整个二维码均包 含在指引灯光的照射范围内, 以获取完整的二维码信息。 在摄像头集成指引灯 , 可减小整个装置的体积, 实现小型化。 而在另外一个实施例中, 指引灯可以 与摄像头分幵设置, 只需保证二者同步移动即可。 [0028] The high-definition camera can be integrated with the indicator light, and the indicator light is used to guide the scanning position, that is, after the indicator light is turned on, according to the illumination range of the guidance light, the camera synchronization moves to obtain the specific position of the two-dimensional code, and Preferably, the distance between the indicator light and the two-dimensional code and the focal length of the indicator light can be adjusted, so that the entire two-dimensional code is included in the illumination range of the guidance light to obtain complete two-dimensional code information. Integrated guide light in the camera , can reduce the size of the entire device, and achieve miniaturization. In another embodiment, the indicator light can be set separately from the camera, and only needs to ensure that the two move synchronously.
[0029] 其中, 步骤 S02之后, 还包括:  [0029] wherein, after step S02, the method further includes:
[0030] S03: 在摄像头上集成补光灯。 [0030] S03: Integrating a fill light on the camera.
[0031] 补光灯用于补充低照度环境下, 提高画面的亮度。 同上所述, 补光灯集成到摄 像头, 也是出于设备小型化的考量。 而在其他情况下, 补光灯可与摄像头分幵 设置, 只需保证补光灯能对二维码实现补光作用, 以使摄像头获取足够光强即 可。  [0031] The fill light is used to supplement the low illumination environment to improve the brightness of the picture. As mentioned above, the fill light is integrated into the camera, which is also considered for the miniaturization of the device. In other cases, the fill light can be set separately from the camera. It is only necessary to ensure that the fill light can complement the two-dimensional code so that the camera can obtain enough light intensity.
[0032] 其中, 步骤 S2之后, 还包括:  [0032] wherein, after step S2, the method further includes:
[0033] S21 : 图像处理模块发送扫描图像到显示模块上;  [0033] S21: the image processing module sends the scanned image to the display module;
[0034] S22: 摄像头通过显示模块获取扫描图像的对准校正指令;  [0034] S22: the camera acquires an alignment correction instruction of the scanned image by using the display module;
[0035] 返回执行步骤 Sl。  [0035] Returning to step S of execution.
[0036] 具体地, 本发明实施例中二维码扫描功能的实现, 通过传感器将图像持续送到 系统 CPU中, CPU进行图像处理并解码, 解码成功后发出提示。  Specifically, in the embodiment of the present invention, the two-dimensional code scanning function is implemented, and the image is continuously sent to the system CPU through the sensor, and the CPU performs image processing and decoding, and sends a prompt after the decoding succeeds.
[0037] 在传感器将图像送到 CPU的同吋, CPU可以根据需求将图像送到显示屏上进行 显示, 以供使用者对准校正, 摄像头通过对准校正以获得更精确的对准扫描, 从而可以提高精确度。  [0037] When the sensor sends the image to the CPU, the CPU can send the image to the display screen for display, for the user to align the correction, and the camera corrects the alignment by scanning correction. This can improve accuracy.
[0038] 其中, 步骤 S2之后, 还包括:  [0038] wherein, after step S2, the method further includes:
[0039] S23: 图像处理模块将所述扫描图像转化为 YUV格式;  [0039] S23: the image processing module converts the scanned image into a YUV format;
[0040] S24: 判断 Y分量值是否小于预定值; [0040] S24: determining whether the Y component value is less than a predetermined value;
[0041] 若是, 则执行步骤 S25: 控制补光灯、 指引灯幵启; 并返回执行步骤 S2;  [0041] If yes, step S25 is performed: controlling the fill light, the indicator light is turned on; and returning to step S2;
[0042] 反之, 则执行步骤 S21或 S3。 [0042] Otherwise, step S21 or S3 is performed.
[0043] 即若出现光照强度不足, 而影响到摄像头获取二维码扫描吋, 可通过设置补光 灯来进行补光。 具体地, 根据 CPU收到的扫描图像, 转化为 YUV格式, 而这样 处理的作用是, 可通过表示亮度值的 Y分量来判断所扫描的图像的亮度信息, 并 判断其是否低于预定值, 以选择性幵启补光灯。  [0043] If the light intensity is insufficient, and the camera is acquired to obtain the two-dimensional code scan, the fill light can be complemented by setting the fill light. Specifically, according to the scanned image received by the CPU, the image is converted into the YUV format, and the effect of the processing is that the brightness information of the scanned image can be determined by the Y component representing the brightness value, and whether it is lower than a predetermined value, Selectively activate the fill light.
[0044] 如果整体的 Y分量值小于设定值, 表明现在的解码状态是针对非自发光的解码 对象, 这个吋候需打幵补光灯及指引灯, 实现这种状态下的快速指引。 [0045] 如果整体的 Y分量值大于设定值, 表明现在的状态是针对自发光的对象, 这个 吋候关闭补光灯及指引灯, 进行扫描。 [0044] If the overall Y component value is less than the set value, it indicates that the current decoding state is for the non-self-luminous decoding object, and this time, the fill light and the indicator light need to be used to achieve quick guidance in this state. [0045] If the overall Y component value is greater than the set value, it indicates that the current state is for the self-illuminating object, and this time, the fill light and the indicator light are turned off, and scanning is performed.
[0046] 在其他实施例中, 可进而打幵摄像头预览界面, 实现预览 +对准的方式实现快 速的指引。 [0046] In other embodiments, the camera preview interface may be further opened to achieve a quick guidance by means of preview + alignment.
[0047] 本发明实施例二中通过在摄像头上集成指引灯和 /或补光灯, 可实现设备的小 型化。 同吋通过增加预览对准的方式, 实现更高精度的对准扫描, 而在外界光 强弱的情况下, 打幵补光灯实现扫描, 以获取完整的二维码信息, 不仅操作便 捷, 而且用户体验度也获得提升。  [0047] In the second embodiment of the present invention, the miniaturization of the device can be realized by integrating the indicator light and/or the fill light on the camera. At the same time, by increasing the preview alignment, a more accurate alignment scan is realized, and in the case of external light intensity, the fill light is scanned to obtain complete QR code information, which is not only convenient to operate, And the user experience has also improved.
[0048]  [0048]
[0049] 对应地, 如图 3所示, 本发明实施例三提供一种二维码对准扫描的装置 100, 包 括: 摄像头 110、 指引灯 120、 传感器 130及图像处理模块 140; 其中,  [0049] Correspondingly, as shown in FIG. 3, the third embodiment of the present invention provides a device 100 for two-dimensional code alignment scanning, including: a camera 110, a pointing light 120, a sensor 130, and an image processing module 140;
[0050] 指引灯 120用于指引二维码的位置; [0050] The indicator light 120 is used to guide the position of the two-dimensional code;
[0051] 摄像头 110通过指引灯 120对准扫描二维码, 在获取扫描图像后, 通过传感器 13 [0051] The camera 110 aligns the scanned two-dimensional code by the pointing light 120, and passes the sensor 13 after acquiring the scanned image.
0发送至图像处理模块 140; 0 is sent to the image processing module 140;
[0052] 图像处理模块 140用于对所述扫描图像进行处理、 解码。 [0052] The image processing module 140 is configured to process and decode the scanned image.
[0053] [0053]
[0054] 其中, 如图 4所示, 本发明实施例四中的传感器 130分别与摄像头 110、 图像处 理模块 140连接; 并在摄像头 110上集成指弓 I灯 120。  As shown in FIG. 4, the sensor 130 in the fourth embodiment of the present invention is respectively connected to the camera 110 and the image processing module 140; and the finger 110 is integrated on the camera 110.
[0055] 其中, 所述装置 100还包括补光灯 150, 所述补光灯 150集成到摄像头 110上, 用 于在低光照的环境下, 补充光照强度。 [0055] The device 100 further includes a fill light 150, and the fill light 150 is integrated on the camera 110 for supplementing the light intensity in a low light environment.
[0056] 其中, 所述装置 100还包括显示模块 160, [0056] wherein the device 100 further includes a display module 160,
[0057] 显示模块 160用于显示预览图像处理模块 140发送的扫描图像; [0057] The display module 160 is configured to display a scanned image sent by the preview image processing module 140;
[0058] 摄像头 110通过显示模块 160获取扫描图像的对准校正指令。 [0058] The camera 110 acquires an alignment correction instruction of the scanned image through the display module 160.
[0059] 其中, 图像处理模块 140还包括: [0059] The image processing module 140 further includes:
[0060] 转化单元 141, 用于将所述扫描图像转化为 YUV格式; [0060] a converting unit 141, configured to convert the scanned image into a YUV format;
[0061] 判断单元 142, 用于判断 Υ分量值是否小于预定值。 [0061] The determining unit 142 is configured to determine whether the Υ component value is less than a predetermined value.

Claims

权利要求书 Claim
[权利要求 1] 一种二维码对准扫描的方法, 其特征在于, 包括:  [Claim 1] A method for two-dimensional code alignment scanning, comprising:
S1 : 摄像头通过指引灯对准二维码;  S1: The camera is aimed at the two-dimensional code through the indicator light;
S2: 扫描二维码, 获取扫描图像, 并通过传感器发送至图像处理模块  S2: Scan the QR code, obtain the scanned image, and send it to the image processing module through the sensor
S3: 图像处理模块对所述扫描图像进行处理、 解码。 S3: The image processing module processes and decodes the scanned image.
[权利要求 2] 根据权利要求 1所述二维码对准扫描的方法, 其特征在于, 步骤 S1之 前, 包括: [Claim 2] The method of two-dimensional code alignment scanning according to claim 1, wherein before step S1, the method includes:
S01 : 分别将摄像头、 图像处理模块与传感器连接; S02: 在摄像头上集成指引灯。  S01: Connect the camera and the image processing module to the sensor respectively; S02: Integrate the indicator light on the camera.
[权利要求 3] 根据权利要求 2所述二维码对准扫描的方法, 其特征在于, 步骤 S02之 后, 还包括: [Claim 3] The method of two-dimensional code alignment scanning according to claim 2, further comprising, after step S02,
S03: 在摄像头上集成补光灯。  S03: Integrate the fill light on the camera.
[权利要求 4] 根据权利要求 1所述二维码对准扫描的方法, 其特征在于, 步骤 S2之 后, 还包括: [Claim 4] The method of two-dimensional code alignment scanning according to claim 1, wherein after step S2, the method further includes:
S21 : 图像处理模块发送扫描图像到显示模块上;  S21: the image processing module sends the scanned image to the display module;
S22: 摄像头通过显示模块获取扫描图像的对准校正指令; 返回执行步骤 Sl。  S22: The camera acquires an alignment correction instruction of the scanned image through the display module; and returns to step S1.
[权利要求 5] 根据权利要求 4所述二维码对准扫描的方法, 其特征在于, 步骤 S2之 后, 还包括:  The method of the two-dimensional code alignment scanning according to claim 4, wherein after step S2, the method further comprises:
S23: 图像处理模块将所述扫描图像转化为 YUV格式;  S23: The image processing module converts the scanned image into a YUV format;
S24: 判断 Y分量值是否小于预定值;  S24: determining whether the Y component value is less than a predetermined value;
若是, 则执行步骤 S25: 控制补光灯、 指引灯幵启; 并返回执行步骤 S2;  If yes, step S25 is performed: controlling the fill light, the indicator light is turned on; and returning to step S2;
反之, 则执行步骤 S21或 S3。  Otherwise, step S21 or S3 is performed.
[权利要求 6] —种二维码对准扫描的装置, 其特征在于, 包括: 摄像头、 指引灯、 传感器及图像处理模块; 其中, [Claim 6] The apparatus for aligning and scanning a two-dimensional code, comprising: a camera, a pointing light, a sensor, and an image processing module; wherein
指引灯用于指引二维码的位置; 摄像头用于通过指引灯对准并扫描二维码, 获取扫描图像后通过传感 器发送至图像处理模块; The indicator light is used to guide the position of the two-dimensional code; The camera is used to align and scan the two-dimensional code by the indicator light, obtain the scanned image and send it to the image processing module through the sensor;
图像处理模块用于对所述扫描图像进行处理、 解码。  The image processing module is configured to process and decode the scanned image.
[权利要求 7] 根据权利要求 6所述二维码对准扫描的装置, 其特征在于, 其中 [Claim 7] The apparatus for two-dimensional code alignment scanning according to claim 6, wherein
传感器分别与摄像头、 图像处理模块连接;  The sensors are respectively connected to the camera and the image processing module;
摄像头上集成有指引灯。  A guide light is integrated on the camera.
[权利要求 8] 根据权利要求 6所述二维码对准扫描的装置, 其特征在于, 还包括补 光灯, 所述补光灯集成到摄像头上, 用于在低光照的环境下, 补充光 照强度。 [Attachment 8] The apparatus for two-dimensional code alignment scanning according to claim 6, further comprising a fill light, wherein the fill light is integrated on the camera for supplementing in a low light environment Light intensity.
[权利要求 9] 根据权利要求 6所述二维码对准扫描的装置, 其特征在于, 还包括显 示模块, 其中,  [Claim 9] The apparatus for two-dimensional code alignment scanning according to claim 6, further comprising a display module, wherein
显示模块用于显示图像处理模块发送的扫描图像; 摄像头通过显示模块获取扫描图像的对准校正指令。  The display module is configured to display a scan image sent by the image processing module; the camera acquires an alignment correction instruction of the scanned image through the display module.
[权利要求 10] 根据权利要求 6所述二维码对准扫描的装置, 其特征在于, 图像处理 模块还包括: The device of the two-dimensional code alignment scanning according to claim 6, wherein the image processing module further comprises:
转化单元, 用于将所述扫描图像转化为 YUV格式; 判断单元, 用于判断 Y分量值是否小于预定值。  a conversion unit, configured to convert the scanned image into a YUV format; and a determining unit, configured to determine whether the Y component value is less than a predetermined value.
PCT/CN2016/091906 2015-08-14 2016-07-27 Method and system for aligning and scanning two-dimensional code WO2017028663A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510498220.6 2015-08-14
CN201510498220.6A CN105069391A (en) 2015-08-14 2015-08-14 QR code aligning and scanning method and device

Publications (1)

Publication Number Publication Date
WO2017028663A1 true WO2017028663A1 (en) 2017-02-23

Family

ID=54498753

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/091906 WO2017028663A1 (en) 2015-08-14 2016-07-27 Method and system for aligning and scanning two-dimensional code

Country Status (2)

Country Link
CN (1) CN105069391A (en)
WO (1) WO2017028663A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069391A (en) * 2015-08-14 2015-11-18 福建联迪商用设备有限公司 QR code aligning and scanning method and device
CN105138940A (en) * 2015-08-14 2015-12-09 福建联迪商用设备有限公司 Light supplementing method in two-dimensional code scanning and system thereof
CN105827890A (en) * 2016-04-28 2016-08-03 乐视控股(北京)有限公司 Method and apparatus for scanning 2D codes
CN108171095A (en) * 2016-12-07 2018-06-15 中兴通讯股份有限公司 A kind of scan method, device and terminal
CN108259667A (en) * 2018-01-09 2018-07-06 上海摩软通讯技术有限公司 Have the function of to go out and shield the mobile terminal and its control method of barcode scanning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202584157U (en) * 2012-05-21 2012-12-05 深圳市民德电子科技有限公司 Two-dimensional bar code reading system
CN202948454U (en) * 2012-11-21 2013-05-22 厦门安捷物联网络科技有限公司 Graphical barcode reading device
CN204102147U (en) * 2014-10-10 2015-01-14 深圳长城开发科技股份有限公司 A kind of graphic code scanister
CN204302991U (en) * 2014-12-24 2015-04-29 希姆通信息技术(上海)有限公司 The scan-data conversion equipment of Quick Response Code and mobile terminal
CN105069391A (en) * 2015-08-14 2015-11-18 福建联迪商用设备有限公司 QR code aligning and scanning method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2690981Y (en) * 2004-03-17 2005-04-06 深圳矽感科技有限公司 Non contact barcode reader
US10192086B2 (en) * 2012-10-04 2019-01-29 The Code Corporation Barcode-reading enhancement system for a computing device that comprises a camera and an illumination system
US20140231523A1 (en) * 2013-02-15 2014-08-21 Samsung Electronics Co., Ltd. Electronic device capable of recognizing object
CN103679113A (en) * 2013-12-27 2014-03-26 北京握奇智能科技有限公司 Positioning and focusing method and system of OTP (One Time Password) device in two-dimensional bar code scanning
CN104598862A (en) * 2015-01-04 2015-05-06 江苏智联天地科技有限公司 Miniature embedded code scanning system and method for mobile intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202584157U (en) * 2012-05-21 2012-12-05 深圳市民德电子科技有限公司 Two-dimensional bar code reading system
CN202948454U (en) * 2012-11-21 2013-05-22 厦门安捷物联网络科技有限公司 Graphical barcode reading device
CN204102147U (en) * 2014-10-10 2015-01-14 深圳长城开发科技股份有限公司 A kind of graphic code scanister
CN204302991U (en) * 2014-12-24 2015-04-29 希姆通信息技术(上海)有限公司 The scan-data conversion equipment of Quick Response Code and mobile terminal
CN105069391A (en) * 2015-08-14 2015-11-18 福建联迪商用设备有限公司 QR code aligning and scanning method and device

Also Published As

Publication number Publication date
CN105069391A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
WO2017028663A1 (en) Method and system for aligning and scanning two-dimensional code
US9912859B2 (en) Focusing control device, imaging device, focusing control method, and focusing control program
JP6631181B2 (en) Image projection system, projector, and method of controlling image projection system
US9386216B2 (en) Imaging device, defocus amount calculating method, and imaging optical system
US9817628B2 (en) Display system, display terminal, display method and computer readable recording medium having program thereof
KR20120051209A (en) Method for providing display image in multimedia device and thereof
WO2002092180A3 (en) Device and method for digitizing an object
JP6340958B2 (en) Projector apparatus, interactive system, and interactive control method
US20200343972A1 (en) Optical communication method
US20120157159A1 (en) Communication apparatus using image sensor and error correction method
KR101515986B1 (en) Generation apparatus for virtual coordinates using infrared source in mobile device and thereof method
CN102918560B (en) Image-signal processor multiplexing
CN104064022A (en) Remote control method and system
CN105468139B (en) Position detection device, projector, and position detection method
JP6450498B2 (en) Image processing apparatus, image processing system, and image processing method
WO2017188030A1 (en) Image processing device and image processing method
JP2020504490A (en) Detection and / or decoding of visible light communication
US9918014B2 (en) Camera apparatus and method for generating image signal for viewfinder
JP2022092132A (en) Display method, detector, and program
US8079714B2 (en) Projector and method for acquiring coordinate of bright spot
US20100271534A1 (en) Document camera
US10491833B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable recording medium
CN105069435A (en) Fingerprint identification method and system
CN105430239A (en) Wireless Typoscope
JP2016184268A (en) Display device, display system, and control method for display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16836527

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16836527

Country of ref document: EP

Kind code of ref document: A1