CN110557517A - Double-camera two-dimensional scanning device and control method - Google Patents

Double-camera two-dimensional scanning device and control method Download PDF

Info

Publication number
CN110557517A
CN110557517A CN201910881376.0A CN201910881376A CN110557517A CN 110557517 A CN110557517 A CN 110557517A CN 201910881376 A CN201910881376 A CN 201910881376A CN 110557517 A CN110557517 A CN 110557517A
Authority
CN
China
Prior art keywords
camera
barcode
bar code
image
content
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
CN201910881376.0A
Other languages
Chinese (zh)
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.)
Guangzhou Xunbao Electronics Technology Co Ltd
Original Assignee
Guangzhou Xunbao Electronics Technology 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 Guangzhou Xunbao Electronics Technology Co Ltd filed Critical Guangzhou Xunbao Electronics Technology Co Ltd
Priority to CN201910881376.0A priority Critical patent/CN110557517A/en
Publication of CN110557517A publication Critical patent/CN110557517A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00249Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00326Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/957Light-field or plenoptic cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

The invention discloses a double-camera two-dimensional scanning device, which belongs to the technical field of two-dimensional scanning and mainly solves the technical problem that the scanning depth of field is close when the scanning angle of the conventional two-dimensional scanning equipment is larger. The invention also discloses a two-dimensional scanning control method for the double cameras. The invention has large scanning angle and deep scanning scene.

Description

Double-camera two-dimensional scanning device and control method
Technical Field
the invention relates to the technical field of two-dimensional scanning, in particular to a two-camera two-dimensional scanning device and a control method.
Background
Two-dimensional scanning equipment on the market is single camera equipment at present. The scanning angle and the scanning depth of field of the scanning equipment with a single camera are basically fixed, and when the scanning angle is larger, the scanning depth of field is closer, so that the problems of poor scanning precision, low speed and even incapability of scanning are caused. This is a common problem with single-camera two-dimensional scanning devices.
Disclosure of Invention
the present invention is directed to a two-dimensional scanning device with two cameras, which has a large scanning angle and a long scanning range.
The invention also aims to provide a two-dimensional scanning control method with two cameras and large scanning angle and long scanning depth.
In order to achieve the first purpose, the invention provides a two-camera two-dimensional scanning device, which comprises a shell, wherein a first camera, a second camera and an MCU electrically connected with the first camera and the second camera are respectively arranged in the shell, the wide angle of the first camera is larger than that of the second camera, the depth of field of the first camera is smaller than that of the second camera, and a first opening and a second opening which respectively correspond to the first camera and the second camera are arranged on the same side wall of the shell.
As a further improvement, the first camera and the second camera are arranged in a vertically spaced or horizontally spaced mode.
further, the wide angle of the first camera is larger than 70 degrees, and the depth of field of the first camera is 30-300 mm.
further, the wide angle of the second camera is smaller than 60 degrees, and the depth of field of the second camera is 250-900 mm.
further, the first camera and the second camera are both black and white cameras.
In order to achieve the second objective, the invention provides a two-dimensional scanning control method for two cameras, which comprises the following steps:
S1, a first camera shoots a bar code to obtain a first bar code image and sends the first bar code image to an MCU (microprogrammed control unit), and a second camera shoots the bar code to obtain a second bar code image and sends the second bar code image to the MCU;
S2, the MCU respectively analyzes the first bar code image and the second bar code image; if the first barcode image is analyzed to obtain a first barcode content and the second barcode image is analyzed to obtain a second barcode content, jumping to step S3; if the first barcode image is analyzed to obtain the first barcode content and the second barcode image is analyzed unsuccessfully, jumping to step S5; if the first barcode image fails to be analyzed and the second barcode image is analyzed to obtain second barcode content, jumping to step S6; otherwise, the failure times are added with 1 and the step S4 is skipped;
s3, if the first barcode content is consistent with the second barcode content, outputting the first barcode content, setting the failure times to be 0, and finishing scanning the barcode; otherwise, go to step S4;
S4, if the failure times are larger than the set times, outputting a failure signal, setting the failure times to be 0, and finishing code scanning; otherwise, adding 1 to the failure times, changing the exposure parameters of the first camera and the second camera, and jumping to the step S1;
s5, outputting the first bar code content, setting the failure times to be 0, and finishing code scanning;
And S6, outputting the second bar code content, setting the failure times to be 0, and finishing code scanning.
As a further improvement, in the step S2, when the time for analyzing the single barcode image exceeds the set time, the analysis of the barcode image fails.
Advantageous effects
Compared with the prior art, the invention has the advantages that: according to the invention, the first camera and the second camera are arranged, the first camera is used for obtaining the barcode image with a large wide angle and a near field depth, the second camera is used for obtaining the barcode image with a small wide angle and a far field depth, and the MCU respectively analyzes and compares the two barcode images and outputs the barcode content.
Drawings
FIG. 1 is a schematic front view of the present invention;
Fig. 2 is a schematic perspective view of the present invention.
wherein: 1-shell, 2-first camera, 3-second camera, 4-first opening and 5-second opening.
Detailed Description
the invention will be further described with reference to specific embodiments shown in the drawings.
Referring to fig. 1-2, a two-camera two-dimensional scanning device, including casing 1, be equipped with first camera 2 in the casing 1 respectively, second camera 3 and the MCU of electricity connection first camera 2, second camera 3, the wide angle of first camera 2 is greater than the wide angle of second camera 3, the depth of field of first camera 2 is less than the depth of field of second camera 3, the same lateral wall of casing 1 is equipped with first trompil 4, the second trompil 5 that corresponds with first camera 2, second camera 3 position respectively.
in this embodiment, a structure of vertical interval arrangement or horizontal interval arrangement is adopted between the first camera 2 and the second camera 3, and the interval between the first camera 2 and the second camera 3 is 10-30 mm. The wide angle of the first camera 2 is larger than 70 degrees, the depth of field of the first camera 2 is 30-300 mm, and the first camera is used for acquiring a barcode image with a large wide angle and a short depth of field, such as a barcode image in an A1 area. The wide angle of the second camera 3 is less than 60 degrees, the depth of field of the second camera 3 is 250-900 mm, and the second camera is used for acquiring a barcode image with a small wide angle and a long depth of field, such as a barcode image in an A2 area.
In this embodiment, first camera 2, second camera 3 are black and white cameras, and it is high to gather image stability, and the MCU of being convenient for carries out the analysis.
A two-dimensional scanning control method for double cameras comprises the following steps:
S1, a first camera 2 shoots a bar code to obtain a first bar code image and sends the first bar code image to an MCU (microprogrammed control unit), and a second camera 3 shoots a bar code to obtain a second bar code image and sends the second bar code image to the MCU;
s2, the MCU respectively analyzes the first bar code image and the second bar code image; if the first barcode image is analyzed to obtain the first barcode content and the second barcode image is analyzed to obtain the second barcode content, jumping to step S3; if the first barcode content is obtained by analyzing the first barcode image and the second barcode image fails to be analyzed, jumping to step S5; if the first barcode image fails to be analyzed and the second barcode image is analyzed to obtain the second barcode content, jumping to step S6; otherwise, the failure times are added with 1 and the step S4 is skipped;
S3, if the first bar code content is consistent with the second bar code content, outputting the first bar code content, setting the failure times to be 0, and finishing code scanning; otherwise, go to step S4;
s4, if the failure times are larger than the set times, outputting a failure signal, setting the failure times to be 0, and finishing code scanning, wherein the set times can be 3-5 times; otherwise, adding 1 to the failure times, changing the exposure parameters of the first camera 2 and the second camera 3, and jumping to the step S1;
s5, outputting the first bar code content, setting the failure times to be 0, and finishing code scanning;
And S6, outputting the second bar code content, setting the failure times to be 0, and finishing code scanning.
In step S2, when the time for analyzing the single barcode image exceeds the set time, the barcode image fails to be analyzed, and the set time may be 0.1 to 0.5 seconds.
According to the invention, the first camera and the second camera are arranged, the first camera is used for obtaining the barcode image with a large wide angle and a near field depth, the second camera is used for obtaining the barcode image with a small wide angle and a far field depth, and the MCU respectively analyzes and compares the two barcode images and outputs the barcode content.
the above is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that several variations and modifications can be made without departing from the structure of the present invention, which will not affect the effect of the implementation of the present invention and the utility of the patent.

Claims (7)

1. The utility model provides a two camera two-dimensional scanning device, includes casing (1), its characterized in that, be equipped with first camera (2), second camera (3) and electricity respectively in casing (1) and connect the MCU of first camera (2), second camera (3), the wide angle of first camera (2) is greater than the wide angle of second camera (3), the depth of field of first camera (2) is less than the depth of field of second camera (3), the same lateral wall of casing (1) be equipped with respectively with first trompil (4), second trompil (5) that first camera (2), second camera (3) position correspond.
2. A two-camera two-dimensional scanning device according to claim 1, wherein the first camera (2) and the second camera (3) are vertically or horizontally spaced.
3. a two-camera two-dimensional scanning device according to claim 1, wherein the wide angle of the first camera (2) is greater than 70 °, and the depth of field of the first camera (2) is 30-300 mm.
4. A two-camera two-dimensional scanning device according to claim 1, wherein the wide angle of the second camera (3) is less than 60 °, and the depth of field of the second camera (3) is 250-900 mm.
5. a dual-camera two-dimensional scanning device according to any one of claims 1 to 4, wherein the first camera (2) and the second camera (3) are both black and white cameras.
6. a two-dimensional scanning control method for double cameras is characterized by comprising the following steps:
S1, a first camera (2) shoots a bar code to obtain a first bar code image and sends the first bar code image to an MCU (microprogrammed control unit), and a second camera (3) shoots the bar code to obtain a second bar code image and sends the second bar code image to the MCU;
S2, the MCU respectively analyzes the first bar code image and the second bar code image; if the first barcode image is analyzed to obtain a first barcode content and the second barcode image is analyzed to obtain a second barcode content, jumping to step S3; if the first barcode image is analyzed to obtain the first barcode content and the second barcode image is analyzed unsuccessfully, jumping to step S5; if the first barcode image fails to be analyzed and the second barcode image is analyzed to obtain second barcode content, jumping to step S6; otherwise, the failure times are added with 1 and the step S4 is skipped;
S3, if the first barcode content is consistent with the second barcode content, outputting the first barcode content, setting the failure times to be 0, and finishing scanning the barcode; otherwise, go to step S4;
S4, if the failure times are larger than the set times, outputting a failure signal, setting the failure times to be 0, and finishing code scanning; otherwise, adding 1 to the failure times, changing the exposure parameters of the first camera (2) and the second camera (3) and jumping to the step S1;
S5, outputting the first bar code content, setting the failure times to be 0, and finishing code scanning;
And S6, outputting the second bar code content, setting the failure times to be 0, and finishing code scanning.
7. The dual-camera two-dimensional scan control method according to claim 6, wherein in the step S2, when the time for resolving the single barcode image exceeds a set time, the resolving of the barcode image fails.
CN201910881376.0A 2019-09-18 2019-09-18 Double-camera two-dimensional scanning device and control method Pending CN110557517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910881376.0A CN110557517A (en) 2019-09-18 2019-09-18 Double-camera two-dimensional scanning device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910881376.0A CN110557517A (en) 2019-09-18 2019-09-18 Double-camera two-dimensional scanning device and control method

Publications (1)

Publication Number Publication Date
CN110557517A true CN110557517A (en) 2019-12-10

Family

ID=68740639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910881376.0A Pending CN110557517A (en) 2019-09-18 2019-09-18 Double-camera two-dimensional scanning device and control method

Country Status (1)

Country Link
CN (1) CN110557517A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378596A (en) * 2021-05-19 2021-09-10 深圳市民德电子科技股份有限公司 Bar code reading device based on at least two cameras
CN114564976A (en) * 2022-01-26 2022-05-31 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN114667729A (en) * 2020-01-08 2022-06-24 核心光电有限公司 Porous zoom digital camera and use method thereof
CN114662512A (en) * 2022-04-06 2022-06-24 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN114722849A (en) * 2022-04-06 2022-07-08 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
WO2022241685A1 (en) * 2021-05-19 2022-11-24 深圳市民德电子科技股份有限公司 Barcode reading apparatus based on at least two cameras

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250509A (en) * 1991-11-15 1993-09-28 Ncr Internatl Inc Device and method for decoding multiple bar codes
CN104463071A (en) * 2014-12-18 2015-03-25 福建新大陆自动识别技术有限公司 Bar code reading device
CN106657800A (en) * 2017-03-02 2017-05-10 苏州摩比力特电子科技有限公司 Double-camera bar code scanning device and method
CN107111737A (en) * 2017-03-16 2017-08-29 福建联迪商用设备有限公司 Dual camera scanner and its scan method
CN109815769A (en) * 2019-01-31 2019-05-28 福州符号信息科技有限公司 A kind of bar code recognizing apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250509A (en) * 1991-11-15 1993-09-28 Ncr Internatl Inc Device and method for decoding multiple bar codes
CN104463071A (en) * 2014-12-18 2015-03-25 福建新大陆自动识别技术有限公司 Bar code reading device
CN106657800A (en) * 2017-03-02 2017-05-10 苏州摩比力特电子科技有限公司 Double-camera bar code scanning device and method
CN107111737A (en) * 2017-03-16 2017-08-29 福建联迪商用设备有限公司 Dual camera scanner and its scan method
CN109815769A (en) * 2019-01-31 2019-05-28 福州符号信息科技有限公司 A kind of bar code recognizing apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114667729A (en) * 2020-01-08 2022-06-24 核心光电有限公司 Porous zoom digital camera and use method thereof
CN114667729B (en) * 2020-01-08 2024-04-19 核心光电有限公司 Multi-hole zoom digital camera and using method thereof
CN113378596A (en) * 2021-05-19 2021-09-10 深圳市民德电子科技股份有限公司 Bar code reading device based on at least two cameras
WO2022241685A1 (en) * 2021-05-19 2022-11-24 深圳市民德电子科技股份有限公司 Barcode reading apparatus based on at least two cameras
CN114564976A (en) * 2022-01-26 2022-05-31 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN114662512A (en) * 2022-04-06 2022-06-24 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine
CN114722849A (en) * 2022-04-06 2022-07-08 苏州摩比信通智能系统有限公司 Code scanning method of double-camera code scanning engine

Similar Documents

Publication Publication Date Title
CN110557517A (en) Double-camera two-dimensional scanning device and control method
CN107730445B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN107734253B (en) Image processing method, image processing device, mobile terminal and computer-readable storage medium
US9854174B2 (en) Shot image processing method and apparatus
WO2015172514A1 (en) Image acquisition device and method
US9666161B2 (en) Method and system for replacing theme of a mobile terminal on the basis of a user's clothes color
US20200042772A1 (en) People-Credentials Comparison Authentication Method, System and Camera
US11410286B2 (en) Information processing apparatus, system, method for controlling information processing apparatus, and non-transitory computer-readable storage medium
US9928399B2 (en) Non-contact palmprint authentication method, device and mobile terminal
CN109618149B (en) Method and device for testing imaging quality of equipment and intelligent equipment
CN103837828A (en) Travel curve test method and system of camera-shooting mode motor and mobile terminal
CN108256406B (en) Data processing method and device for realizing face recognition through eye positioning guidance
CN107861170B (en) Laser safety control device and method
CN107645659B (en) Camera module optical depth of field testing arrangement
CN114577135B (en) 3D detection method and system for chip pin warpage based on single lens
US20170374345A1 (en) Method and apparatus for creating a pair of stereoscopic images using least one lightfield camera
CN107194379A (en) It can adapt to the recognition of face checking terminal and its method of work of different application scene
CN112446254A (en) Face tracking method and related device
US20200320328A1 (en) Image processing device, control method, and control program
KR102216505B1 (en) Face tracking camera module and method
CN115601712B (en) Image data processing method and system suitable for site safety measures
CN104506766A (en) Photographic device and focusing compensation method
CN208579749U (en) A kind of flatness rapid measurement device and mechanism
CN108737733B (en) Information prompting method and device, electronic equipment and computer readable storage medium
CN107506671B (en) Depth of field testing method, system and device of code scanning device

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: 20191210

RJ01 Rejection of invention patent application after publication