Barcode reading module with dual lasers and barcode reading method

The dual-laser solution and the barcode reading module with detachable components solve the problems of difficulty in reading dense small barcodes and poor heat dissipation of device components, achieving fast and accurate barcode reading and convenient maintenance, and enhancing the waterproof performance of the equipment.

CN116306730BActive Publication Date: 2025-09-05FUJIAN NEWLAND AUTO ID TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310133323.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2025-09-05
Estimated Expiration
2043-02-20

AI Technical Summary

Technical Problem

Existing barcode scanning devices have difficulty accurately identifying dense and small barcodes, and the scattered components of the device make assembly difficult, heat dissipation poor, and maintenance costs high. In addition, the single laser emitter has deviations and the fixed position is cumbersome.

Method used

A dual-laser solution is adopted, with the first and second laser emitters forming a laser point, and the laser center point is used to delineate the ROI area. The components are designed to be detachable for easy heat dissipation and maintenance. A sealing sheet is set inside the shell to prevent water from entering, and the internal bracket slot design improves the stability of the connection.

Benefits of technology

It improves the reading speed and accuracy in dense small barcode scenarios, reduces the deviation of the laser center point, has good component heat dissipation, is easy to maintain, is waterproof, and has a stable connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116306730B_ABST
    Figure CN116306730B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of barcode reading, and more specifically, to a barcode reading module and barcode reading method with dual lasers. The dual-laser barcode reading module comprises: a housing, a transparent screen, an inner bracket, a laser board assembly, a main board assembly, and a light board assembly, wherein the laser board assembly is horizontally provided with a first laser emitter, a first lens opening, and a second laser emitter in sequence; the first laser emitter and the second laser emitter emit lasers to the target surface to form a first laser point and a second laser point; the main board assembly defines the ROI area based on the center of the first laser point and the second laser point. With a dual-laser solution, when the first laser is offset, the second laser will compensate for the midpoint of the dual lasers, reducing the deviation between the center point of the dual lasers and the actual center point; the laser is used to assist in positioning installation and decoding area calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of barcode reading, and in particular to a barcode reading module with dual lasers and a barcode reading method. Background Art

[0002] As barcodes are widely used in retail, logistics control, banking systems and other fields, the use of laser barcode scanning devices is also becoming increasingly widespread. However, when the lens of existing barcode readers collect barcode samples, if the number of samples is dense and the barcode is small, the previous and subsequent related samples will be collected together, making it difficult to identify.

[0003] The engine assembly of a conventional two-dimensional barcode reader includes a lens module, a laser tube assembly, a fill light, and an FPC connector assembly, which are arranged on the same printed circuit board. Since the components of the lens module and the laser tube assembly are assembled and electrically connected on the same printed circuit board, they are scattered, making assembly difficult. Moreover, the fill light can only be arranged at a position offset from the center line. Since the components work on the same printed circuit board, they generate a lot of heat, have poor heat dissipation, and are easily damaged, resulting in high maintenance costs and inconvenience. Moreover, most laser barcode scanning devices use a single laser emitter. Since the laser itself has a deviation of less than 3 degrees, there is a certain deviation between the area indicated by the single laser and the actual area to be indicated. The maximum deviation is a circle with the standard landing point as the center, and the deviation increases with the distance. Most laser barcode scanning devices using laser emitters are used for scanning and reading, to prevent interference in noisy environments, to serve as an indicator, or to serve as a lighting lamp. Moreover, when fixing the barcode scanning device, the position often needs to be adjusted multiple times, and it cannot be properly positioned in one step. Summary of the Invention

[0004] The present invention mainly solves the problems in the prior art that barcodes are difficult to read quickly and accurately due to their small size and dense number, and the barcode scanning device has a complicated fixed position.

[0005] The technical solutions of the present invention are as follows:

[0006] Option 1.

[0007] A barcode reading module with dual lasers, comprising:

[0008] case;

[0009] Transparent screen: arranged at the front end of the shell;

[0010] Inner bracket: arranged inside the shell and detachably connected to the shell; the inner bracket is provided with an optical lens area, a first laser area, and a second laser area;

[0011] Laser plate assembly: arranged at the rear end of the inner bracket and detachably connected to the inner bracket; the laser plate assembly is provided with a first laser emitter, a first lens opening, and a second laser emitter in sequence in the horizontal direction;

[0012] Mainboard assembly: Located at the rear of the laser board assembly, the mainboard assembly is provided with a computing unit and an image sensor, and is detachably connected to the inner bracket; the mainboard assembly is provided with an optical lens; the mainboard assembly is electrically connected to the laser board assembly and is in communication with external devices via a data cable;

[0013] The optical lens passes through the first lens opening and is arranged in the optical lens area; the first laser emitter is arranged in the first laser area, and the second laser emitter is arranged in the second laser area;

[0014] The first laser emitter and the second laser emitter are symmetrically arranged about the first lens opening, and emit laser light to the target surface to form a first laser spot and a second laser spot;

[0015] The optical lens acquires a first barcode image of the first barcode;

[0016] The computing unit decodes or measures the first barcode in the first barcode image to obtain first barcode region information and a distance value L1 between the first barcode and the mainboard component;

[0017] The computing unit obtains the laser center points of the first laser point and the second laser point in the first barcode image, and defines an ROI area with the laser center points as reference points, wherein the ROI area is not smaller than the first barcode area;

[0018] Setting the computing unit to read only the barcode within the ROI area of ​​the image captured by the optical lens;

[0019] Marking two standard points at centrally symmetrical positions of the second barcode, wherein the distance between the two standard points is equal to the distance between the center of the first laser emitter and the center of the second laser emitter;

[0020] Place the second barcode at a distance L1 in front of the mainboard assembly so that the first laser point, the second laser point and the two standard points coincide with each other;

[0021] The second barcode image is acquired through the optical lens, and the operation unit reads the barcode in the second barcode image according to the set ROI area.

[0022] Furthermore, the light board assembly is arranged at the rear of the transparent screen and at the front end of the inner bracket, and the light board assembly is detachably connected to the inner bracket; the main board assembly is electrically connected to the light board assembly; the light board assembly is horizontally arranged with a first lighting lamp, a second lens opening, and a second lighting lamp in sequence.

[0023] Furthermore, a first side cover is provided on the left side of the housing;

[0024] Second side cover: arranged on the right side of the housing, through which the data cable passes;

[0025] A first sealing sheet is provided between the first side cover and the housing; a second sealing sheet is provided between the second side cover and the housing; and a third sealing sheet is provided between the data cable and the second side cover.

[0026] Furthermore, a slot is provided on the inner surface of the shell, and a groove matching the slot of the shell is provided on the outer surface of the inner bracket.

[0027] Furthermore, a first screw hole is provided at the corresponding position of the laser board assembly and the inner bracket, which is used to connect the laser board assembly and the inner bracket with the screw; a second screw hole is provided at the corresponding position of the main board assembly and the inner bracket, which is used to connect the main board assembly and the inner bracket with the screw; a third screw hole is provided at the corresponding position of the light board assembly and the inner bracket, which is used to connect the light board assembly and the inner bracket with the screw.

[0028] Furthermore, a fourth screw hole is provided at the corresponding positions of the first side cover, the first sealing plate and the shell, which is used to connect the first side cover, the first sealing plate and the shell with screws; a fifth screw hole is provided at the corresponding positions of the second side cover, the second sealing plate and the shell, which is used to connect the second side cover, the second sealing plate and the shell with screws; a sixth screw hole is provided at the corresponding positions of the data cable and the second side cover, which is used to connect the data cable and the second side cover with screws.

[0029] Furthermore, the transparent screen is provided with a transparent screen protective film.

[0030] Furthermore, the mainboard assembly is electrically connected to the laser board assembly via a first single-ended wire; and the mainboard assembly is electrically connected to the light board assembly via a second single-ended wire.

[0031] Option 2.

[0032] A barcode reading method.

[0033] For a barcode reader module with dual lasers, perform the following steps:

[0034] S1: The first laser emitter and the second laser emitter emit lasers to form a first laser spot and a second laser spot on the surface of the first barcode;

[0035] S2: Acquire the first barcode image through an optical lens, and the computing unit decodes or measures the first barcode in the first barcode image to obtain first barcode region information and a distance value L1 between the first barcode and the mainboard assembly;

[0036] S3: The computing unit obtains the laser center points of the first laser point and the second laser point in the first barcode image, and defines an ROI area based on the laser center points as reference points. The ROI area is not smaller than the first barcode area.

[0037] S4: Setting the computing unit to read only the barcode within the ROI area of ​​the image captured by the optical lens;

[0038] S5: Mark two standard points at central symmetrical positions of the second barcode, where the distance between the two standard points is equal to the distance between the first laser point and the second laser point on the first barcode;

[0039] S6: placing the second barcode at a distance L1 in front of the mainboard assembly, and making the first laser point, the second laser point and the two standard points coincide with each other;

[0040] S7: The optical lens acquires a second barcode image;

[0041] S8: The operation unit reads the barcode in the second barcode image according to the set ROI area.

[0042] Furthermore, the first laser point, the second laser point and the two standard points are the same pattern.

[0043] Furthermore, in step S2, the information of the first barcode area includes pixel values ​​of the first barcode in the first barcode image.

[0044] Furthermore, in step S3, the ROI area is formed by expanding the first barcode area outward by N pixels, where N≥0.

[0045] Furthermore, the distance value L1 is obtained by calculating the size of the first laser spot or the second laser spot in the first barcode image by a calculation unit.

[0046] Furthermore, there is at least one ROI area.

[0047] The present invention has the following beneficial effects:

[0048] 1. The present invention discloses a barcode reading module and barcode reading method with dual lasers. The dual laser solution is adopted. When the laser emitted by the first laser emitter is offset from the barcode surface, the offset of the dual laser is equivalent to that of the single laser only when the laser emitted by the second laser emitter is offset at the same angle and in the same direction as the laser emitted by the first laser emitter. In other cases, the laser emitted by the second laser emitter will have a certain compensation effect on the midpoint of the dual lasers, reducing the deviation between the center point of the dual lasers and the actual center point. The ROI area is delineated according to the center of the first dual laser point and the second laser point, and the barcode within the ROI area is read. This is beneficial for scenarios where the barcodes are small and numerous, and can quickly collect the required barcode information to prevent interference from nearby barcodes in the viewfinder. The center point of the dual laser point is the same as the center point of the acquired image, so the optimal focal plane for scanning the code can be obtained.

[0049] 2. The present invention describes a barcode reading module and barcode reading method with dual lasers. The laser board assembly, laser board assembly, and light board assembly are separately detachable and assembled, which is beneficial to heat dissipation between the components and convenient for later maintenance. In addition, a lighting assembly is provided in front of the optical lens, which is beneficial for clear image capture by the optical lens.

[0050] 3. The barcode reading module and barcode reading method with dual lasers described in the present invention dispose the entire barcode reading device body inside the shell, and provide a sealing sheet between the first side cover and the second side cover connected to the shell, which is conducive to the waterproof effect of the entire barcode reading device.

[0051] 4. In the barcode reading module and barcode reading method with dual lasers described in the present invention, a card slot is provided on the inner surface of the shell, and a groove shape that matches the shell card slot is provided on the inner bracket to facilitate a more stable connection between the shell and the inner bracket.

[0052] 5. In the dual-laser barcode reading module and barcode reading method described in the present invention, the first laser point, the second laser point, and the two standard points are identical in shape, so that the overlap of the laser point and the standard point can be more intuitive.

[0053] 6. The barcode reading module and barcode reading method with dual lasers described in the present invention not only satisfy one ROI area, but can set multiple ROI areas according to specific scene requirements to meet the requirements of efficient barcode reading in specific sorting scenes. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a schematic structural diagram of a barcode reading module with dual lasers according to the present invention;

[0055] Figure 2This is a schematic diagram of the structure decomposition of a barcode reading module with dual lasers according to the present invention;

[0056] Figure 3 This is a schematic diagram of emitting dual lasers and demarcating the ROI area of ​​the present invention.

[0057] Figure 4 Schematic diagram of the dual laser points and ROI area delineation for image acquisition in the present invention.

[0058] Figure 5 Schematic diagram of dual laser points for image acquisition and demarcation of multiple ROI areas in the present invention.

[0059] The figures are marked as follows: 100-shell; 200-transparent screen; 201-transparent screen protective film; 300-first side cover; 400-second side cover; 500-data cable; 600-inner bracket; 601-first laser area; 602-optical lens area; 603-second laser area; 700-laser board assembly; 701-first laser emitter; 702-second laser emitter; 703-first lens opening; 800-mainboard assembly; 801-optical lens; 900-lamp board assembly; 901-first lighting lamp; 902-second lens opening; 903-second lighting lamp; 111-first sealing plate; 112-second sealing plate; 113-third sealing plate; 120-screw; 131-first single-head wire; 132-second single-head wire. DETAILED DESCRIPTION

[0060] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0061] Example 1.

[0062] like Figure 1-4 As shown, a barcode reading module with dual lasers includes:

[0063] Housing 100.

[0064] The transparent screen 200 is disposed at the front end of the housing 100 .

[0065] The first side cover 300 is disposed on the left side of the housing 100 .

[0066] The second side cover 400 is disposed on the right side of the housing 100 , and the data cable 500 passes through the second side cover 400 .

[0067] The inner bracket 600 is arranged inside the shell 100 and is detachably connected to the shell 100 ; an optical lens area 602 , a first laser area 601 , and a second laser area 603 are arranged inside the inner bracket 600 .

[0068] Laser plate assembly 700: arranged at the rear end of the inner bracket 600 and detachably connected to the inner bracket 600; the laser plate assembly 700 is provided with a first laser emitter 701, a first lens opening 703, and a second laser emitter 702 in sequence in the horizontal direction.

[0069] Mainboard assembly 800: Located behind the laser board assembly 700, it houses a computing unit and an image sensor. It is detachably connected to the inner bracket 600 and houses an optical lens 801. Mainboard assembly 800 is electrically connected to the laser board assembly 700 and communicates with external devices via a data cable 500. Mainboard assembly 800 performs computing and image processing functions, controlling overall image acquisition and decoding.

[0070] The optical lens 801 passes through the first lens opening 703 and is disposed in the optical lens area 602 ; the first laser emitter 701 is disposed in the first laser area 601 , and the second laser emitter 702 is disposed in the second laser area 603 .

[0071] The light board assembly 900 is arranged at the rear of the transparent screen 200 and at the front end of the inner bracket 600. The light board assembly 900 is detachably connected to the inner bracket 600; the main board assembly 800 is electrically connected to the light board assembly 900; the light board assembly 900 is horizontally arranged with a first lighting lamp 901, a second lens opening 902, and a second lighting lamp 903 in sequence.

[0072] The first laser emitter 701 and the second laser emitter are symmetrically arranged about the first lens opening 703. The first laser emitter 701 and the second laser emitter 702 emit lasers to the target surface to form a first laser point and a second laser point. The lighting of the light board assembly 900 is turned on, the optical lens 801 takes pictures and frames, and the image sensor in the main board assembly 800 processes the captured pictures. The resolution of the image is determined by the pixels of the image sensor, and the number of pixels determines the resolution. The calculation unit in the main board assembly 800 defines the ROI area based on the calculation center of the first double laser points and the second laser points in the captured picture. ROI (region of interest) is the region of interest. If the ROI of the image is set, then when using the OpenCV function, only the ROI area will be operated, and other areas will be ignored.

[0073] The lasers emitted by the first laser emitter 701 and the second laser emitter 702 onto the target surface can form a laser dot, or a regular pattern such as a cross laser or a straight laser, with the center of the pattern being the laser dot. Selecting the center of the dual laser dots as the reference point for delineating the ROI is more convenient; the calculation unit in the mainboard assembly 800 can also calculate and set the required marking point as the reference point to delineate the ROI.

[0074] A first sealing sheet 111 is disposed between the first side cover 300 and the housing 100 ; a second sealing sheet 112 is disposed between the second side cover 400 and the housing 100 ; and a third sealing sheet 113 is disposed between the data cable 500 and the second side cover 400 .

[0075] The inner surface of the shell 100 is provided with a slot, and the outer surface of the inner bracket 600 is provided with a groove that matches the slot of the shell 100.

[0076] A first screw hole is provided at the corresponding position of the laser board assembly 700 and the inner bracket 600, and the laser board assembly 700 and the inner bracket 600 are connected with the screw 120; a second screw hole is provided at the corresponding position of the main board assembly 800 and the inner bracket 600, and the main board assembly 800 and the inner bracket 600 are connected with the screw 120; a third screw hole is provided at the corresponding position of the lamp board assembly 900 and the inner bracket 600, and the light board assembly 900 and the inner bracket 600 are connected with the screw 120.

[0077] A fourth screw hole is provided at the corresponding positions of the first side cover 300, the first sealing sheet 111 and the shell 100, and the first side cover 300, the first sealing sheet 111 and the shell 100 are connected with the screw 120; a fifth screw hole is provided at the corresponding positions of the second side cover 400, the second sealing sheet 112 and the shell 100, and the second side cover 400, the second sealing sheet 112 and the shell 100 are connected with the screw 120; a sixth screw hole is provided at the corresponding positions of the data cable 500 and the second side cover 400, and the data cable 500 and the second side cover 400 are connected with the screw 120.

[0078] The transparent screen 200 is provided with a transparent screen protection film 201 .

[0079] The mainboard assembly 800 is electrically connected to the laser board assembly 700 via a first single-ended wire 131 ; the mainboard assembly 800 is electrically connected to the light board assembly 900 via a second single-ended wire 132 .

[0080] The mainboard assembly 800 mainly controls information processing and program execution. The mainboard assembly 800 controls the operation of the laser plate assembly 700 and the light board assembly 900, collects image information from the optical lens 801, and processes and transmits the information.

[0081] Do the following:

[0082] The optical lens 801 acquires a first barcode image;

[0083] The computing unit decodes or measures the first barcode within the first barcode image to obtain first barcode region information and a distance value L1 between the first barcode and the mainboard assembly 800. The first barcode region information includes pixel values ​​of the first barcode within the first barcode image. The distance value L1 can be obtained by the computing unit or manually measured.

[0084] The computing unit obtains the laser center points of the first laser point and the second laser point in the first barcode image, and defines an ROI area with the laser center points as reference points. The ROI area is not smaller than the first barcode area. Specifically, the ROI area is formed by expanding the first barcode area outward by N pixels, where N≥0.

[0085] The computing unit is set to read only the barcode within the ROI area of ​​the image captured by the optical lens.

[0086] Two standard points are marked at central symmetrical positions of the second barcode, and the distance between the two standard points is equal to the distance between the center of the first laser emitter 701 and the center of the second laser emitter 702 .

[0087] The second barcode is placed at a distance L1 in front of the mainboard assembly 800 so that the first laser point, the second laser point and the two standard points coincide with each other.

[0088] The second barcode image is acquired through the optical lens 801, and the operation unit reads the barcode in the second barcode image according to the set ROI area.

[0089] Example 2.

[0090] A barcode reading method.

[0091] For a barcode reader module with dual lasers, perform the following steps:

[0092] S1: The first laser emitter 701 and the second laser emitter 702 emit lasers to the central symmetrical positions of the first barcode surface to form a first laser spot and a second laser spot.

[0093] S2: The first barcode image is acquired through the optical lens 801 , and the operation unit decodes or measures the first barcode in the first barcode image to obtain first barcode area information and a distance value L1 between the first barcode and the mainboard assembly 800 .

[0094] S3: The operation unit obtains the laser center points of the first laser point and the second laser point in the first barcode image, and defines an ROI area based on the laser center points as reference points. The ROI area is not smaller than the first barcode area.

[0095] S4: The operation unit is set to read only the barcode within the ROI area of ​​the image captured by the optical lens 801.

[0096] S5: Mark two standard points at central symmetrical positions of the second barcode, where the distance between the two standard points is equal to the distance between the first laser point and the second laser point on the first barcode.

[0097] S6: The second barcode is the same size as the first barcode. The second barcode is placed at a distance L1 in front of the mainboard assembly 800, and its direction is the same as that of the first barcode. The first laser point and the second laser point coincide with the two standard points.

[0098] S7: The optical lens 801 acquires a second barcode image.

[0099] S8: The operation unit reads the barcode in the second barcode image according to the set ROI area.

[0100] In step S2, the information of the first barcode area includes pixel values ​​of the first barcode in the first barcode image.

[0101] In step S3, the ROI region is formed by expanding the first barcode region outward by N pixels, where N≥0. The distance value L1 is obtained by calculating the size of the first laser spot or the second laser spot in the first barcode image by a calculation unit.

[0102] The first laser point, the second laser point and the two standard points may be in the same shape, or the laser points and the standard points may be in other corresponding shapes.

[0103] The reference point may not be the same as the laser center point.

[0104] This embodiment uses the information of the first barcode to pre-set the ROI area and then applies it to the reading of the second barcode. This method can be applied to the barcode pipeline operation, can quickly collect the required barcode information, and prevent interference from nearby barcodes in the viewfinder; the coincidence of the laser point and the standard point can be more intuitive to operate, reducing the deviation between the dual laser center point and the actual center point.

[0105] Example 3.

[0106] A barcode reading method.

[0107] For a barcode reader module with dual lasers, perform the following steps:

[0108] S1: Mark two standard points at central symmetrical positions of the first barcode, where the distance between the two standard points is equal to the distance between the first laser point and the second laser point on the first barcode.

[0109] S2: The first laser emitter 701 and the second laser emitter 702 emit lasers to the surface of the first barcode to form a first laser spot and a second laser spot, which coincide with the two standard points.

[0110] S3: The first barcode image is captured through the optical lens 801, and the computing unit decodes or measures the first barcode within the first barcode image to obtain first barcode region information and a distance value L1 between the first barcode and the mainboard assembly 800. The first barcode region information includes pixel values ​​of the first barcode within the first barcode image.

[0111] S4: The computing unit obtains the laser center points of the first laser point and the second laser point within the first barcode image and defines a region of interest (ROI) using the laser center points as reference points. The ROI is no smaller than the first barcode region. Specifically, the ROI is formed by expanding the first barcode region outward by N pixels, where N ≥ 0. The distance value L1 is obtained based on the size of the first laser point or the second laser point within the first barcode image calculated by the computing unit.

[0112] S5: Setting the computing unit to read only the barcode within the ROI region of the image captured by the optical lens.

[0113] S6: The second barcode is the same size as the first barcode. The second barcode is placed in front of the mainboard assembly 800 at a distance L1, and its direction is aligned with the direction of the first barcode.

[0114] S7: The optical lens 801 acquires a second barcode image.

[0115] S8: The operation unit reads the barcode in the second barcode image according to the set ROI area.

[0116] In step S3, in addition to decoding or measuring the first barcode in the first barcode image, the first barcode area information can also be obtained by running the following methods and steps through the barcode reading module:

[0117] Method 1:

[0118] S1: Binarize the entire barcode image.

[0119] S2: Perform morphological opening or closing operations of appropriate scale to connect the code areas together.

[0120] S3: Calculate the connected area, and select the rectangular connected area as the barcode area.

[0121] S4: Setting a ROI area according to the barcode area, wherein the ROI area is not smaller than the barcode area.

[0122] Method 2:

[0123] S1: Take the points inside the barcode and draw a scan line parallel to the direction of the barcode.

[0124] S2: Determine the average module width by finding edges on the scan line.

[0125] S3: Use the average module width to set the threshold.

[0126] S4: When the distance between adjacent edges of the scan line is greater than a threshold, the outer edge is considered to be the boundary point of the barcode.

[0127] S5: If there is no such edge, the outermost edge on the scan line is considered to be the boundary point of the barcode.

[0128] S6: Move the scan line parallel to the outside of the barcode until there is no edge on several consecutive scan lines, and determine two boundary lines of the barcode that are parallel to the scan line.

[0129] S7: Determine two boundary lines perpendicular to the barcode and the scan line through the boundary points.

[0130] S8: Determine the barcode area based on the boundary line.

[0131] S9: Setting a ROI area according to the barcode area, wherein the ROI area is not smaller than the barcode area.

[0132] The difference between this embodiment and Example 2 is that, while Example 2 first reads the barcode information without knowing the barcode parameters, and then applies it to the production line, the dual lasers are aligned with the standard points in the second barcode. In contrast, this embodiment is directly applied to the production line without knowing the barcode parameters, and the dual lasers are aligned with the standard points in the first barcode. However, both embodiments pre-set the ROI area for the first barcode information before applying it to the second barcode.

[0133] Example 4.

[0134] A barcode reading method.

[0135] If the barcode area information of the barcode image in the dual-laser barcode reading module is already known when the barcode is at a certain distance, the ROI area information in the image can be directly set in the mainboard component 800. The ROI area is not smaller than the barcode area. The default barcode is at the center of the barcode image, and the reference point of the ROI area is the same as the center point of the barcode image.

[0136] For a barcode reader module with dual lasers, perform the following steps:

[0137] S1: Place the first barcode at a certain distance in front of the dual-laser barcode reading module, and mark two standard points at the central symmetrical positions of the first barcode. The distance between the two standard points is equal to the distance between the center of the first laser emitter 701 and the center of the second laser emitter 702.

[0138] S2: The first laser emitter 701 and the second laser emitter 702 emit lasers to the surface of the first barcode to form a first laser spot and a second laser spot, which coincide with the two standard points.

[0139] S3: Fix the position of the dual laser barcode reading module.

[0140] S4: The optical lens 801 acquires a first barcode image, and the computing unit reads the barcode in the first barcode image according to the set ROI area.

[0141] S5: If a second barcode with the same size and position as the first barcode passes by after a certain time, continue with step S4.

[0142] In this embodiment, if the first barcode and the second barcode have a certain size difference, the ROI area on the barcode image can be set to be no smaller than the area of ​​the first barcode or the second barcode on the barcode image.

[0143] Example 5.

[0144] A barcode reading method.

[0145] For a barcode reader module with dual lasers, perform the following steps:

[0146] S1: The first laser emitter 701 and the second laser emitter 702 emit lasers to form a first laser spot and a second laser spot on the surface of a first target.

[0147] S2: If Figure 5As shown, the first target image is captured through the optical lens 801, and the computing unit decodes or measures all barcodes within the first target image to obtain area information corresponding to all barcodes within the first target image, as well as a distance value L1 between the first target and the mainboard assembly 800. The barcode area information includes the pixel value of each barcode within the first target image.

[0148] S3: The computing unit obtains the laser center points of the first laser point and the second laser point in the first target image, and defines multiple ROI regions using the laser center points as reference points, such that each barcode in each image has a corresponding ROI region, and each ROI region is no smaller than the corresponding barcode region. The ROI region is formed by expanding each barcode region outward by N pixels, where N ≥ 0. The distance value L1 is obtained based on the size of the first laser point or the second laser point in the first barcode image calculated by the computing unit.

[0149] S4: The operation unit is set to read only the barcode within the ROI area of ​​the image captured by the optical lens 801.

[0150] S5: Mark two standard points at central symmetrical positions of the second target object, where the distance between the two standard points is equal to the distance between the first laser point and the second laser point on the first target object.

[0151] S6: The position and size of the barcode of the second target object are consistent with those of the first target object. The second target object is placed at a distance value L1 in front of the mainboard assembly 800, and its direction is consistent with the direction of the first barcode, and the first laser point, the second laser point and the two standard points coincide with each other.

[0152] S7: The optical lens acquires a second target image.

[0153] S8: The operation unit reads the barcode in the second target image according to the set ROI area.

[0154] In the prior art, patents with application numbers 201922296867.7, 201520791611.2, and 201610542850.3 use lasers for direct barcode scanning, processing and decoding the information fed back from the barcode by laser irradiation. Patent 201420286018.8 also uses lasers for direct barcode scanning, processing and decoding the information fed back from the barcode by laser irradiation. Dual lasers operate at different wavelengths to enhance decoding capabilities. However, the lasers used in this invention differ from those in the aforementioned patents and are used to assist in positioning, installation, and decoding area calibration.

[0155] The barcode reading module with dual lasers and the barcode reading method described in the present invention have at least the following advantages:

[0156] 1. Using a dual-laser solution, when the laser emitted by the first laser emitter is offset from the barcode surface, the offset of the dual laser is equivalent to that of the single laser only when the laser emitted by the second laser emitter is offset at the same angle and in the same direction as the laser emitted by the first laser emitter. In other cases, the laser emitted by the second laser emitter will have a certain compensation effect on the midpoint of the dual laser, reducing the deviation between the center point of the dual laser and the actual center point; the center point of the dual laser point is the same as the center point of the acquired image, and the ROI area is delineated based on the center of the first dual laser point and the second laser point as the reference point. The barcode in the ROI area is read to obtain the optimal focal plane for scanning, which is beneficial in scenarios where the barcode is small and the number is large, such as in detection reagents and small parts production lines; it can quickly collect the required barcode information, eliminate interference outside the ROI area, and improve barcode reading efficiency.

[0157] 2. The laser board assembly, main board assembly, and light board assembly are separately detachable and assembled, which is beneficial to the heat dissipation between the components and convenient for later maintenance; and the lighting assembly is set in front of the optical lens, which is conducive to clear image capture by the optical lens.

[0158] 3. The main body of the entire barcode reading module is set inside the shell, and a sealing sheet is provided between the first side cover and the second side cover connected to the shell, which is conducive to the waterproof effect of the entire barcode reading device and increases the applicable range of the barcode reading module.

[0159] 4. A card slot is provided on the inner surface of the shell, and a groove is provided on the inner bracket that matches the card slot of the shell, so as to facilitate a more stable connection between the shell and the inner bracket and facilitate assembly.

[0160] 5. The first laser point, the second laser point and the two standard points are the same graphics so that the overlap of the laser point and the standard point can be more intuitive.

[0161] 6. The ROI area does not only satisfy one ROI area. Multiple ROI areas can be set according to specific scene requirements to meet the requirements of efficient barcode reading in specific sorting scenes.

[0162] The above descriptions are merely embodiments of the present invention. The selection of the embodiments is only for a better understanding of the invention and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A barcode reading module with dual lasers, characterized in that: include: Housing (100); A transparent screen (200) is provided at the front end of the housing (100); An inner bracket (600) is arranged inside the housing (100) and is detachably connected to the housing (100); an optical lens area (602), a first laser area (601), and a second laser area (603) are arranged inside the inner bracket (600); A laser plate assembly (700) is arranged at the rear end of the inner bracket (600) and is detachably connected to the inner bracket (600); the laser plate assembly (700) is provided with a first laser emitter (701), a first lens opening (703), and a second laser emitter (702) in sequence in a horizontal direction; A mainboard assembly (800) is provided at the rear of the laser board assembly (700), a computing unit and an image sensor are provided on the mainboard assembly (800), and the mainboard assembly (800) is detachably connected to the inner bracket (600); an optical lens (801) is provided on the mainboard assembly (800); the mainboard assembly (800) is electrically connected to the laser board assembly (700), and is communicatively connected to an external device via a data cable (500); The optical lens (801) passes through the first lens opening (703) and is arranged in the optical lens area (602); the first laser emitter (701) is arranged in the first laser area (601), and the second laser emitter (702) is arranged in the second laser area (603); The first laser emitter (701) and the second laser emitter are symmetrically arranged about the first lens opening (703), and emit laser light to a target surface to form a first laser spot and a second laser spot; The optical lens (801) acquires a first barcode image; The operation unit performs decoding or measurement operation on the first barcode in the first barcode image to obtain first barcode area information and a distance value L1 between the actual first barcode and the mainboard component (800); The computing unit obtains the laser center points of the first laser point and the second laser point in the first barcode image, and defines an ROI area with the laser center points as reference points, wherein the ROI area is not smaller than the first barcode area; Setting the computing unit to read only the barcode within the ROI area of ​​the image captured by the optical lens; Marking two standard points at centrally symmetrical positions of the second barcode, wherein the distance between the two standard points is equal to the distance between the center of the first laser emitter (701) and the center of the second laser emitter (702); Place the second barcode at a distance L1 in front of the mainboard assembly so that the first laser point, the second laser point and the two standard points coincide with each other; A second barcode image is acquired through the optical lens (801), and the operation unit reads the barcode in the second barcode image according to the set ROI area.

2. The barcode reading module with dual lasers according to claim 1, characterized in that: The light board assembly (900) is arranged at the rear of the transparent screen (200) and at the front end of the inner bracket (600), and the light board assembly (900) is detachably connected to the inner bracket (600); the main board assembly (800) is electrically connected to the light board assembly (900); and the light board assembly (900) is horizontally provided with a first lighting lamp (901), a second lens opening (902), and a second lighting lamp (903) in sequence.

3. The barcode reading module with dual lasers according to claim 1, characterized in that: A first side cover (300) is provided on the left side of the housing (100); A second side cover (400) is provided on the right side of the housing (100), and a data cable (500) passes through the second side cover (400); A first sealing sheet (111) is provided between the first side cover (300) and the housing (100); a second sealing sheet (112) is provided between the second side cover (400) and the housing (100); and a third sealing sheet (113) is provided between the data cable (500) and the second side cover (400).

4. The barcode reading module with dual lasers according to claim 1, characterized in that: The inner surface of the housing (100) is provided with a card slot, and the outer surface of the inner bracket (600) is provided with a groove that matches the card slot of the housing (100).

5. A barcode reading module with dual lasers according to any one of claims 1 to 3, characterized in that: A first screw hole is provided at a corresponding position between the laser board assembly (700) and the inner bracket (600), and the laser board assembly (700) and the inner bracket (600) are connected by a screw (120); a second screw hole is provided at a corresponding position between the main board assembly (800) and the inner bracket (600), and the main board assembly (800) and the inner bracket (600) are connected by a screw (120); a third screw hole is provided at a corresponding position between the light board assembly (900) and the inner bracket (600), and the light board assembly (900) and the inner bracket (600) are connected by a screw (120).

6. A barcode reading module with dual lasers according to claim 1 or 3, characterized in that: A fourth screw hole is provided at corresponding positions of the first side cover (300), the first sealing sheet (111) and the housing (100), and is used to connect the first side cover (300), the first sealing sheet (111) and the housing (100) with a screw (120); a fifth screw hole is provided at corresponding positions of the second side cover (400), the second sealing sheet (112) and the housing (100), and is used to connect the second side cover (400), the second sealing sheet (112) and the housing (100) with a screw (120); a sixth screw hole is provided at corresponding positions of the data cable (500) and the second side cover (400), and is used to connect the data cable (500) and the second side cover (400) with a screw (120).

7. A barcode reading module with dual lasers according to any one of claims 1 to 4, characterized in that: The mainboard assembly (800) is electrically connected to the laser board assembly (700) via a first single-end wire (131); and the mainboard assembly (800) is electrically connected to the light board assembly (900) via a second single-end wire (132).

8. A barcode reading method, characterized in that: The barcode reader module with dual lasers performs the following steps: S1: The first laser emitter and the second laser emitter emit lasers to form a first laser spot and a second laser spot on the surface of the first barcode; S2: Acquire a first barcode image through an optical lens, and the computing unit decodes or measures the first barcode in the first barcode image to obtain information about the first barcode area and a distance value L1 between the first barcode and the mainboard assembly; S3: The computing unit obtains the laser center points of the first laser point and the second laser point in the first barcode image, and defines an ROI area based on the laser center points as reference points. The ROI area is not smaller than the first barcode area. S4: Setting the computing unit to read only the barcode within the ROI area of ​​the image captured by the optical lens; S5: Mark two standard points at central symmetrical positions of the second barcode, where the distance between the two standard points is equal to the distance between the first laser point and the second laser point on the first barcode; S6: placing the second barcode at a distance L1 in front of the mainboard assembly, and making the first laser point, the second laser point and the two standard points coincide with each other; S7: The optical lens acquires a second barcode image; S8: The operation unit reads the barcode in the second barcode image according to the set ROI area.

9. A barcode reading method according to claim 8, characterized in that: In step S2, the information of the first barcode area includes pixel values ​​of the first barcode in the first barcode image.

10. A barcode reading method according to any one of claims 8 or 9, characterized in that: In step S3, the ROI area is formed by expanding the first barcode area outward by N pixels, where N≥0.

11. A barcode reading method according to claim 8, characterized in that: The distance value L1 is obtained by calculating the size of the first laser point or the second laser point in the first barcode image by a calculation unit.

12. A barcode reading method according to claim 10, characterized in that: There is at least one ROI area.

Citation Information

Patent Citations

  • Laser bar code scanning device and laser bar code scanning method

    CN106022198A

  • Dual-laser-emitter bar code scanning device

    CN203858641U

  • Two -dimensional barcode reading device

    CN204989608U

  • Laser bar code reader for close-range scanning

    CN210836113U

  • Handheld laser scanner

    AU2007231656A1