Laser code recognition device and recognition method thereof

By designing a laser code recognition device, using the dark field light source component to avoid overexposure of the camera, combined with the recognition method, the problem of difficulty in identifying 32-bit laser code in cigarettes is solved, and an efficient and portable recognition effect is achieved.

CN115204203BActive Publication Date: 2025-03-14SHENZHEN SHUIMU LIHE INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210988664.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-17
Publication Date
2025-03-14
Estimated Expiration
2042-08-17

AI Technical Summary

Technical Problem

In the prior art, it is difficult to identify the 32-bit laser code of cigarettes, especially in the dark background color or the different materials, resulting in low recognition efficiency, prone to overexposure or insufficient cameras, and traditional devices are not portable.

Method used

A laser code recognition device is designed, including a base, a support base and a dark field light source component. The dark field light source component avoids overexposure recognition of cameras. Combined with the recognition method, it includes camera parameter setting, image imaging, image synthesis and image recognition, to achieve efficient recognition.

Benefits of technology

It effectively avoids the phenomenon of overexposure of the camera, improves the laser code recognition efficiency, is portable, is in line with economic benefits, and has broad application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115204203B_ABST
    Figure CN115204203B_ABST
Patent Text Reader

Abstract

The present invention discloses a laser code recognition device and a recognition method thereof, and relates to the technical field of text recognition devices. It comprises a base for placing a packaging box with a laser code to be recognized, a packaging box support table movably embedded in the top of the base for supporting the packaging box with the laser code on its wide surface, a barcode identifier for recognizing the barcode on the packaging box fixedly embedded in the top of the base, and a control mechanism for controlling the lifting of the packaging box support table is arranged inside the base; a support seat for illuminating the packaging box and recognizing the laser code on the packaging box, and the bottom end of the support seat is movably hinged to one end of the base through a hinge. By setting a base, a support seat and a connecting component, and through a dark field light source component, compared with the bright field light source used in conventional character code recognition systems, the device can effectively avoid the overexposure phenomenon of the recognition camera, ensure the efficiency of laser code recognition, meet economic benefits, and have broad application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of character recognition devices, and in particular to a laser code recognition device and a recognition method thereof. Background Art

[0002] The cigarettes delivered by tobacco companies to retail customers are all equipped with 32-digit laser codes. The laser codes are divided into two lines, upper and lower, and consist of 4 letters and 28 digits. At present, the coding of cigarette strips is generally carried out by carbon dioxide laser coding or ultraviolet laser coding. The 32-digit code is based on anti-counterfeiting considerations, and the fonts used are different. The coding position is also different in each city. Some are printed on the wide side, some are printed on the narrow side, and some are printed on both ends. In addition, due to the different background colors of cigarette strips, it is not easy to identify cigarette strips with darker background colors with the naked eye. All these bring considerable difficulty to the recognition of 32-digit codes. At present, it is mainly done by manual transcription, which results in a large workload and difficulty in recognition. In addition, manual transcription results in low efficiency, and it is difficult to avoid errors, which causes troubles in work.

[0003] For environmental protection and energy saving considerations, there are more and more cases of using laser coding instead of printed codes on other product packaging boxes or product surfaces. However, due to the influence of the packaging box background or product surface morphology, the reading accuracy of these laser codes is not high, and the recognition efficiency is low, which affects the collection of product data information.

[0004] In the prior art, most of them use machine vision-based 32-bit cigarette codes or other product identification codes or character recognition systems for identification. Machine vision uses CMOS or CCD image capture devices to replace human vision with camera vision, convert the detection target into a digital signal, rely on computer technology to analyze the color, brightness and other information of the detection object, compare the image features with the features of the system, and perform real-time identification. However, it uses a bright field light source, and the light has different reflectivity on the reflective surfaces of different materials, so that the image recognition system often encounters overexposure or underexposure caused by different reflectivity. For images and texts on printed items of different materials, there will be different reflected light interference problems, which will cause the reflected light in some places to be too strong, which will cause the camera to be overexposed, and the image taken by the camera cannot faithfully present the details of the original object. In addition, the conventional 32-bit code recognition device is not portable and can no longer meet the use requirements. Summary of the invention

[0005] To achieve the above object, the present invention provides the following technical solution: a laser code recognition device and a recognition method thereof, comprising:

[0006] A base is used to place the packaging box with the laser code to be identified. A packaging box support is movably embedded on the top of the base to support the packaging box with the laser code on its wide surface. A barcode identifier for identifying the barcode on the packaging box is fixedly embedded on the top of the base. A control mechanism for controlling the lifting of the packaging box support is provided inside the base.

[0007] A support base, used for illuminating the packaging box and identifying the laser code on the packaging box, wherein the bottom end of the support base is movably hinged to one end of the base through a hinge, a boss is provided on one side of the support base, and a laser code recognition component and dark field light source components located on both sides of the laser code recognition component are provided on the other side of the support base;

[0008] The laser code recognition component includes a camera mounting seat with one end passing through the interior of the support seat, a recognition camera arranged at the bottom of the other end of the camera mounting seat, and a lead screw 1 for controlling the recognition camera to be raised and lowered;

[0009] The dark field light source assembly includes lamp poles located on both sides of the camera mounting seat, a light source embedded in the bottom of the lamp pole, a shading plate embedded in one side of the lamp pole for shielding the illumination angle of the light source, and a lead screw 2 for adjusting the height of the lamp pole;

[0010] The connecting assembly is used to lock the support seat to achieve the positioning of the support seat after flipping.

[0011] As a preferred technical solution of the present invention, mounting grooves are provided on the opposite surfaces of the two lamp poles, and the shading plate is a rubber plate with a cavity provided inside, a fixing plate is provided on one side of the inner wall of the rubber plate, and the other side is bonded to one side of the inner wall of the mounting groove by glue, and at least one bending wire is fixedly provided on the side of the fixing plate away from the inner wall of the rubber plate, the other end of the bending wire passes through the rubber plate and is fixedly connected to one side of the inner wall of the mounting groove, and the bending wire is one of an iron wire and a copper wire to achieve bending and positioning of the shading plate.

[0012] As a preferred technical solution of the present invention, one end of the lamp pole passes through the support seat and is provided with a support block through a damping shaft. The surface of the lead screw 2 is sleeved with the internal thread of the support block and there are two lead screws. The dark field light source assembly also includes a rotating shaft for simultaneously driving the two lead screws to rotate. The rotating shaft is rotatably arranged at the top of the inner wall of the support seat and the top end extends to the top of the support seat. The lead screw 2 and the rotating shaft are provided with transmission gears that transmit power to each other through a transmission belt to achieve synchronous rising and falling of the two lamp poles.

[0013] As a preferred technical solution of the present invention, one side of the support seat is provided with a storage hole 1 and a storage hole 2 located on both sides of the storage hole 1, the interior of the storage hole 1 is socketed with the surface of the camera mounting seat, and the interior of the storage hole 2 is socketed with the surface of the lamp pole, and one end of the base is provided with a protective cover whose other end is connected to the bottom of the support seat, which is used to cover the hinge connecting the base and the support seat, and the protective cover is made of rubber.

[0014] As a preferred technical solution of the present invention, a cavity is provided inside the camera mounting seat and a pull rod is movably provided in the cavity, one end of the pull rod extends to one side of the camera mounting seat and is provided with a turntable, a pressure plate located inside the cavity is provided on the surface of the pull rod and a spring is provided on one side of the pressure plate;

[0015] The camera mounting seat extends to one end of the support seat and is hinged with a connecting seat. The lead screw 1 is rotatably arranged inside the boss and is located between the two lead screws 2. The interior of one end of the connecting seat is threadedly sleeved with the surface of the lead screw 1. The interior of the connecting seat is provided with a slot and a positioning slot at the bottom of the slot.

[0016] As a preferred technical solution of the present invention, an insert block is provided inside the positioning slot through a spring, a top of one side of the insert block is arranged in an arc shape, and tops of both ends of the insert block are arranged in an arc shape, and an end of the pull rod away from the turntable extends to the inside of the slot;

[0017] A slot is provided on a section of the pull rod located inside the slot, and both sides of the inner wall of the slot are arc-shaped, corresponding to the arcs at the tops of both ends of the plug block. The top of the plug block extends to the inside of the slot, and one end of the pull rod is provided with an arc-shaped portion located on one side of the slot, corresponding to the arc at the top of one side of the plug block.

[0018] As a preferred technical solution of the present invention, the length of the boss is consistent with the length of the support seat, the lead screw 1 is smaller than the length of the boss, the space inside the boss at the bottom of the lead screw 1 is used to place the recognition camera in the storage state, and the top of the lead screw 1 extends to the top of the boss and is provided with an operating block;

[0019] The connecting assembly includes a connecting rod, at least one jack opened on both sides of the base, and placement grooves opened on both sides of the support seat, a fixed cylinder is fixedly arranged inside the jack, a movable cylinder is arranged inside the fixed cylinder through a spring, a surface of one of the movable cylinders is movably sleeved inside one end of the connecting rod, and the other end of the connecting rod is rotatably arranged inside the placement groove through a damping shaft 2.

[0020] As a preferred technical solution of the present invention, a storage groove is provided on the top of the base, and the packaging box support is movably embedded in the storage groove. Both sides of the base and both sides of the support seat are arranged in an arc shape. A storage groove is provided inside one side of the base and a movable shaft is provided inside the storage groove. One end of the movable shaft extends to the outside of the base and a display terminal is installed through an adjusting shaft.

[0021] As a preferred technical solution of the present invention, the control mechanism includes a driving cavity opened inside the base and connected to the storage slot, a fixed shaft fixedly arranged inside the storage slot and one end of which extends to the inside of the packaging box support platform, a positioning hole opened on one side of the inner wall of the driving cavity, a support plate arranged at the bottom of one end of the packaging box support platform, and an adjustment plate rotatably arranged at one end of the support plate and one end of which extends to the inside of the positioning hole;

[0022] A spring is movably arranged on the surface of the fixed shaft, the positioning hole is arranged in a U shape, and the tops of both sides of the packaging box support are arranged in an arc shape.

[0023] A recognition method of a laser code recognition device comprises the following steps:

[0024] S1, camera parameter setting, setting the calculated camera exposure parameters into the camera as parameters for the next step of image acquisition;

[0025] S2, the camera takes an image and performs the image taking action according to the set parameters;

[0026] S3, image content and image quantity judgment;

[0027] S4, parameter calculation, calculate and analyze the camera parameters that should be compensated in the next step based on the image content that has been captured, and calculate reasonable parameter values ​​for the next step of parameter setting;

[0028] S5, image synthesis, according to the images obtained with different parameters, the above images are integrated into a qualified image by using numerical calculation methods;

[0029] S6. Image recognition, image and text recognition system designed according to requirements.

[0030] Compared with the prior art, the present invention provides a laser code recognition device and a recognition method thereof, which have the following beneficial effects:

[0031] The laser code recognition device and its recognition method, by providing a base, a support base and a connecting component, use a dark field light source component. Compared with the bright field light source used in the conventional character code recognition system, the device can effectively avoid the overexposure of the recognition camera, ensure the efficiency of laser code recognition, meet economic benefits, and have broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0033] Figure 1 A schematic diagram of the structure of a laser code recognition device and a recognition method thereof proposed by the present invention;

[0034] Figure 2 A laser code recognition device and a recognition method thereof proposed by the present invention Figure 1 A magnified view of the structure at center A;

[0035] Figure 3 A laser code recognition device and a recognition method thereof proposed by the present invention Figure 1 A magnified view of the structure at B in the middle;

[0036] Figure 4 A laser code recognition device and a recognition method thereof proposed by the present invention Figure 1 A magnified view of the structure at C in the middle;

[0037] Figure 5 A laser code recognition device and a recognition method thereof proposed by the present invention Figure 1 A magnified view of the structure at D in the middle;

[0038] Figure 6 A cross-sectional view of the camera mounting seat structure of a laser code recognition device and recognition method thereof proposed by the present invention;

[0039] Figure 7 A cross-sectional view of the second structure of the lead screw of a laser code recognition device and a recognition method thereof proposed by the present invention;

[0040] Figure 8 A cross-sectional view of the packaging box support structure of a laser code recognition device and a recognition method thereof proposed by the present invention;

[0041] Fig. 9 A schematic diagram of the light source emission range of a laser code recognition device and a recognition method thereof proposed by the present invention;

[0042] Fig.10 The present invention provides a method flow chart of a laser code recognition device and a recognition method thereof.

[0043] In the figure: 1, base; 101, drive cavity; 102, fixed axis; 103, positioning hole; 11, packaging box support; 111, support plate; 112, adjustment plate; 12, storage slot; 13, bar code reader; 14, movable axis; 15, adjustment axis; 16, protective cover; 17, display terminal; 2, support seat; 21, boss; 22, laser code recognition component; 221, camera mounting seat; 2211, cavity; 222, recognition camera; 223, pull rod; 2231, pressure plate; 224, Turntable; 225, slot; 226, connecting seat; 227, lead screw 1; 228, positioning slot; 229, plug block; 23, dark field light source assembly; 231, lamp pole; 232, light source; 233, mounting slot; 234, sunshade; 235, damping shaft 1; 236, supporting block; 237, lead screw 2; 238, shaft; 239, linkage shaft; 3, connecting assembly; 31, connecting rod; 32, socket; 33, placement slot; 34, fixed cylinder; 35, movable cylinder; 36, damping shaft 2. DETAILED DESCRIPTION

[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.

[0047] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.

[0048] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0049] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0050] See also Figure 1-10 A laser code recognition device and a recognition method thereof include a base 1 for placing a packaging box with a laser code to be recognized, a packaging box support 11 is movably embedded on the top of the base 1 for supporting the packaging box with the laser code on its wide surface, a bar code identifier 13 for recognizing the bar code on the packaging box is fixedly embedded on the top of the base 1, and a control mechanism for controlling the lifting of the packaging box support 11 is arranged inside the base 1.

[0051] The support base 2 is used to illuminate the packaging box and identify the laser code on the packaging box. The bottom end of the support base 2 is movably hinged to one end of the base 1 through a hinge. A boss 21 is provided on one side of the support base 2, and a laser code recognition component 22 and dark field light source components 23 located on both sides of the laser code recognition component 22 are provided on the other side of the support base 2.

[0052] The laser code recognition component 22 includes a camera mounting seat 221 with one end passing through the interior of the support seat 2, a recognition camera 222 disposed at the bottom of the other end of the camera mounting seat 221, and a lead screw 227 for controlling the recognition camera 222 to be raised and lowered.

[0053] The dark field light source assembly 23 includes a lamp pole 231 located on both sides of the camera mounting base 221, a light source 232 embedded in the bottom of the lamp pole 231, a shading plate 234 embedded in one side of the lamp pole 231 for blocking the illumination angle of the light source 232, and a screw 237 for adjusting the height of the lamp pole 231.

[0054] The connecting assembly 3 is used to lock the support base 2 to achieve the positioning of the support base 2 after flipping.

[0055] As a specific technical solution of this embodiment, the opposite surfaces of the two lamp poles 231 are provided with mounting grooves 233, and the shading plate 234 is a rubber plate with a cavity formed inside. A fixing plate is provided on one side of the inner wall of the rubber plate, and the other side is bonded to one side of the inner wall of the mounting groove 233 by glue. A number of not less than one bending wire is fixedly provided on the side of the fixing plate away from the inner wall of the rubber plate, and the other end of the bending wire penetrates the rubber plate and is fixedly connected to one side of the inner wall of the mounting groove 233. The bending wire is one of an iron wire and a copper wire, so as to realize the bending and positioning of the shading plate 234, see Figure 1 as well as Figure 4 The light source 232 can be an LED light strip or an LDE light board. When the light source 232 shines too much on the packaging box, the shading plate 234 is taken out from the inside of the mounting groove 233 and bent as needed to block the light. The operation is simple and fast, ensuring the adjustment efficiency. The setting of the fixed plate ensures the overall flatness of the shading plate 234, and keeps the shading range of the entire light source 232 consistent, further ensuring the shading effect. When the shading plate 234 is not used, it can be stored in the inside of the mounting groove 233, which will not affect the light-emitting angle of the light source 232. The light source 232 can also be in a ring or other shape. It only needs to combine the two lamp poles 231 into a circular design, and the internal shading plate 234 can still be retained, which is conducive to later processing as needed, meets economic benefits, and has broad application prospects.

[0056] As a specific technical solution of this embodiment, one end of the lamp pole 231 passes through the support seat 2 and is provided with a support block 236 through a damping shaft 238-235. The surface of the second lead screw 237 is sleeved with the internal thread of the support block 236 and the number of the second lead screw 237 is two. The dark field light source assembly 23 also includes a shaft 238 for driving the two lead screws to rotate at the same time. The shaft 238 is rotatably arranged at the top of the inner wall of the support seat 2 and the top end extends to the top of the support seat 2. The second lead screw 237 and the shaft 238 are both provided with transmission belts that transmit power to each other. The transmission gear realizes the synchronous rising and falling of the two lamp poles 231. The rotating shaft 238 drives the two lead screws 237 to rotate at the same time through the transmission belt. A ball nut pair is arranged between the lead screw 237 and the support block 236. The ball nut pair drives the support block 236 to move up and down, so that the support block 236 drives the lamp pole 231 to move up and down through the damping shaft 238-235. The damping shaft 238-235 has the characteristic of 360-degree arbitrary rotation and positioning. Because the lamp pole 231 is lighter, there is no need to set up cumbersome positioning components, which reduces the processing cost.

[0057] As a specific technical solution of this embodiment, a storage hole 1 and storage holes 2 located on both sides of the storage hole 1 are provided on one side of the support seat 2. The interior of the storage hole 1 is socketed with the surface of the camera mounting seat 221, and the interior of the storage hole 2 is socketed with the surface of the lamp pole 231. A protective cover 16 is provided at one end of the base 1, and the other end is connected to the bottom of the support seat 2, which is used to cover the hinge connecting the base 1 and the support seat 2. The protective cover 16 is made of rubber. When the support seat 2 and the base 1 need to be closed, the lamp pole 231 is flipped to enter the interior of the support seat 2 through the storage hole 2, and the camera mounting seat 221 is flipped to enter the interior of the support seat 2 through the storage hole 1. The lock of the connecting component 3 is released, and the support seat 2 and the base 1 can be closed, which is convenient to carry and use. The protective cover 16 covers the hinge to ensure the integrity and appearance of the device.

[0058] As a specific technical solution of this embodiment, a cavity 2211 is provided inside the camera mounting seat 221, and a pull rod 223 is movably provided in the cavity 2211, one end of the pull rod 223 extends to one side of the camera mounting seat 221 and is provided with a turntable 224, a pressure plate 2231 located inside the cavity 2211 is provided on the surface of the pull rod 223, and a spring is provided on one side of the pressure plate 2231, one end of the camera mounting seat 221 extending to the inside of the support seat 2 is hingedly connected with a connecting seat 226, the lead screw 1 227 is rotatably provided inside the boss 21 and is located between the two lead screws 237, one end of the connecting seat 226 is threadedly sleeved with the surface of the lead screw 1 227, and the inner surface of the connecting seat 226 is provided with a spring. A slot and a positioning slot 228 at the bottom of the slot are provided at the bottom, and an insert block 229 is provided inside the positioning slot 228 through a spring movement. The top of one side of the insert block 229 is arranged in an arc shape, and the tops of both ends of the insert block 229 are arranged in an arc shape. The end of the pull rod 223 away from the turntable 224 extends to the inside of the slot; a slot 225 is provided on a section of the pull rod 223 located inside the slot, and both sides of the inner wall of the slot 225 are arranged in an arc shape, corresponding to the arc shape of the tops of both ends of the insert block 229, and the top of the insert block 229 extends to the inside of the slot 225, and one end of the pull rod 223 is provided with an arc-shaped portion located on one side of the slot 225, corresponding to the arc shape of the top of one side of the insert block 229, see Figure 5 as well as Figure 6When the camera mounting seat 221 needs to be flipped for storage, the turntable 224 is first rotated to drive the card slot 225 to contact the plug block 229. The arcs at both ends of the plug block 229 and the arcs on both sides of the card slot 225 make the plug block 229 drop down and compress the spring when it is hit by the bottom of the card slot 225. When the card slot 225 is rotated from the downward direction to the upward direction, the turntable 224 is rotated to pull the pull rod 223, and the pull rod 223 drives the pressure plate 2231 to compress the spring, so that the pull rod 223 is separated from the inside of the slot. The camera mounting seat 221 is naturally flipped down by gravity through the storage hole and enters the inside of the support seat 2. At this time, the turntable 224 is used to stabilize the camera mounting seat 221 to avoid the recognition camera 222 from being hit. The hinge between the connecting seat 226 and the camera mounting seat 221 also adopts a damping shaft 238, which effectively slows down the relative The flipping speed of the camera mounting seat 221 is as follows: when using the camera mounting seat 221, first flip the reset pull rod 223 and pull it. When the camera mounting seat 221 is fitted with the connecting seat 226, release the turntable 224, and the spring resists the rebound of the pressure plate 2231 to drive the pull rod 223 to insert into the interior of the slot. The arc at one end of the pull rod 223 resists the arc on one side of the plug block 229, so that the plug block 229 descends and compresses the spring. When the plug rod passes over the plug block 229 so that the slot 225 is opposite to the plug block 229, the plug block 229 is resisted by the rebound of the spring and inserted into the interior of the slot 225. Release the turntable 224. When the camera mounting seat 221 is flipped, the pull rod 223 first resists the slot, and at the same time, the pull rod 223 pulls the plug block 229 through the slot 225. The design of two limit positions ensures the stability of the camera mounting seat 221 after flipping.

[0059] As a specific technical solution of this embodiment, the length of the boss 21 is consistent with the length of the support seat 2, the screw 1 227 is smaller than the length of the boss 21, the space inside the boss 21 at the bottom of the screw 1 227 is used to place the recognition camera 222 in the storage state, the top of the screw 1 227 extends to the top of the boss 21 and is provided with an operating block, the connecting component 3 includes a connecting rod 31, a jack 32 opened on both sides of the base 1 and the number is not less than one, and a placement groove 33 opened on both sides of the support seat 2, the inside of the jack 32 is fixedly provided with a fixing cylinder 34, and the inside of the fixing cylinder 34 is set by a spring There is a movable cylinder 35, one of the surfaces of the movable cylinder 35 is movably sleeved with one end of the connecting rod 31, and the other end of the connecting rod 31 is rotatably arranged in the inside of the placement groove 33 through the damping shaft 238. The length of the boss 21 is greater than the length of the lead screw 227, so that there is enough space at the bottom of the boss 21 to store the identification camera 222. The length of the support seat 2 is greater than the camera mounting seat 221 and the lamp pole 231, so that when the camera mounting seat 221 and the lamp pole 231 are slightly raised and lowered, they can still be stored in the inside of the support seat 2, which is convenient for later storage and reuse without adjustment, ensuring the use efficiency. Figure 1Two sockets 32 are provided on both sides of the base 1, one of which is used for positioning the support seat 2 after flipping, and the other socket 32 ​​is used for positioning the support seat 2 when it is closed with the base 1. By pressing the movable cylinder 35 to compress the spring and disengage the inside of the connecting rod 31, the support seat 2 and the base 1 can be flipped and closed. After closing, the movable cylinder 35 inside the other socket 32 ​​is pressed, and the connecting rod 31 is opposite to it, and the movable cylinder 35 is loosened and inserted into the inside of the connecting rod 31 to complete the locking of the support seat 2 and the base 1 when they are closed. The operation method is simple and quick. Brackets are also provided on both sides of the base 1 for users to hold, which makes it convenient to lift the device, making it more portable and convenient to transport.

[0060] As a specific technical solution of this embodiment, a storage groove 12 is provided on the top of the base 1, and the packaging box support 11 is movably embedded in the storage groove 12. Both sides of the base 1 and both sides of the support seat 2 are arranged in an arc shape. A storage groove is provided inside one side of the base 1 and a movable shaft 14 is arranged inside the storage groove. One end of the movable shaft 14 extends to the outside of the base 1 and a display terminal 17 is installed through an adjustment shaft 15. A square rod connected with the movable shaft 14 is arranged inside the storage groove, and a rubber ring is arranged on the surface of the square rod to increase the resistance of the movable shaft 14 when sliding on the surface of the square rod, while avoiding the rotation of the movable shaft 14. Both sides of the base 1 and the support seat 2 are arc-shaped, which is convenient for holding the device. The display terminal 17 can display the text recognized by the OCR image text recognition system. After being typed into the computer system, it can be automatically entered without manual copying by personnel. The adjustment shaft 15 also adopts a damping shaft 238. When not in use, the display terminal 17 is flipped to be opposite to the storage groove, and the display terminal 17 is pushed into the storage groove.

[0061] As a specific technical solution of this embodiment, the control mechanism includes a driving cavity 101 opened inside the base 1 and connected to the storage groove 12, a fixed shaft 102 fixedly arranged inside the storage groove 12 and one end extending to the inside of the packaging box support 11, a positioning hole 103 opened on one side of the inner wall of the driving cavity 101, a support plate 111 arranged at the bottom of one end of the packaging box support 11, and an adjustment plate 112 rotatably arranged at one end of the support plate 111 and one end extending to the inside of the positioning hole 103, the surface of the fixed shaft 102 is movably provided with a spring, the positioning hole 103 is arranged in a U shape, and the tops of both sides of the packaging box support 11 are arranged in an arc shape, see Figure 1 as well as Figure 8When the laser code is printed on the wide side of the packaging box, due to the large height difference between the wide side and the narrow side of the packaging box, when the laser code is on the wide side of the packaging box, the packaging box support 11 needs to be raised to support the packaging box. The positioning hole 103 is set in a U-shape that is flipped 90 degrees. The two ends of the U-shaped hole position the adjustment plate 112. The adjustment plate 112 is moved to detach from one end of the U-shaped hole and enter the common channel of the U-shaped hole. At this time, the spring rebounds to lift the packaging box support 11. At the same time, the adjustment plate 112 is driven by the support plate 111 and is opposite to the other end of the U-shaped hole. The user moves the adjustment plate 112 to enter this section to avoid the packaging box support 11 from being pressed down, which is more convenient and quick to use.

[0062] A recognition method of a laser code recognition device comprises the following steps:

[0063] S1, camera parameter setting, start the recognition camera 222, bar code reader 13 and display terminal 17, control the packaging box support 11 according to the laser code on the wide side or narrow side of the packaging box, recognize the bar code of the packaging box through the bar code reader 13, extract the packaging box information, and then face the laser code to the recognition camera 222, refer to Fig. 9 Rotate the lead screw 1 227 and the lead screw 237 to adjust the height of the recognition camera 222 and the light source 232, and set the calculated camera exposure parameters into the camera as parameters for the next step of image acquisition;

[0064] For the dark field light source, the coverage area of ​​the light output angle is much smaller than the packaging box area, which can be expressed by the mathematical relationship: L2xtanθ< <D1

[0065] S2, the camera takes an image and performs the image taking action according to the set parameters;

[0066] S3, image content and image quantity judgment, contains an analysis algorithm for analyzing image content (exposure distribution, exposure mean, etc.), which is used to evaluate and analyze the quality of image content. The number of images is a counting function, which is used to control the number of images taken (generally the number of orientations needs to be greater than or equal to two) as a parameter for subsequent image processing;

[0067] S4, parameter calculation, calculate and analyze the camera parameters that should be compensated in the next step based on the image content that has been captured, and calculate reasonable parameter values ​​for the next step of parameter setting;

[0068] S5, image synthesis, according to the images obtained with different parameters, the above images are integrated into a qualified image by using numerical calculation methods;

[0069] S6. Image recognition: an image and text recognition system designed according to the requirements adopts an OCR image and text recognition system to extract the laser code in the image, and cooperates with a display terminal equipped with a computer system to automatically transcribe the laser code extracted by the OCR image and text recognition system without manual transcription. After use, when it needs to be transported, the camera mounting bracket 221 and the lamp pole 231 are stored, and the support bracket 2 is unlocked through the connecting component 3, and the support bracket 2 can be flipped over and closed with the base 1, and the operation of the device is completed through the above.

[0070] To sum up, the laser code recognition device and its recognition method, by setting a base 1, a support base 2 and a connecting component 3, through a dark field light source component 23, compared with the bright field light source used in a conventional character code recognition system, the device can effectively avoid the overexposure phenomenon of the recognition camera 222, ensure the efficiency of laser code recognition, meet economic benefits, and have broad application prospects.

[0071] It should be noted that, in this article, terms such as "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0072] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A laser code recognition device, characterized in that: include: A base (1) is used to place a packaging box with a laser code to be identified, a packaging box support (11) is movably embedded in the top of the base (1) and is used to support the packaging box with the laser code on its wide surface, a bar code identifier (13) is fixedly embedded in the top of the base (1) and is used to identify the bar code on the packaging box, and a control mechanism for controlling the lifting of the packaging box support (11) is provided inside the base (1); A support base (2) is used to illuminate the packaging box and identify the laser code on the packaging box, the bottom end of the support base (2) being movably hinged to one end of the base (1) via a hinge, a boss (21) being provided on one side of the support base (2), and a laser code identification component (22) and dark field light source components (23) located on both sides of the laser code identification component (22) being provided on the other side of the support base (2); The laser code recognition component (22) comprises a camera mounting seat (221) with one end inserted into the interior of the support seat (2), an identification camera (222) disposed at the bottom of the other end of the camera mounting seat (221), and a lead screw (227) for controlling the identification camera (222) to be raised or lowered. The dark field light source assembly (23) comprises light poles (231) located on both sides of the camera mounting seat (221), a light source (232) embedded in the bottom of the light pole (231), a light shielding plate (234) embedded in one side of the light pole (231) for shielding the illumination angle of the light source (232), and a second lead screw (237) for adjusting the height of the light pole (231); A connecting assembly (3) is used to lock the support base (2) to achieve positioning of the support base (2) after flipping, the connecting assembly (3) comprising a connecting rod (31), a plurality of jacks (32) provided on both sides of the base (1) and not less than one, and placement grooves (33) provided on both sides of the support base (2), a fixed cylinder (34) being fixedly provided inside the jack (32), a movable cylinder (35) being provided inside the fixed cylinder (34) via a spring, a surface of one of the movable cylinders (35) being movably sleeved inside one end of the connecting rod (31), and the other end of the connecting rod (31) being rotatably provided inside the placement groove (33) via a damping shaft (238).

2. A laser code recognition device according to claim 1, characterized in that: The opposing surfaces of the two lamp poles (231) are provided with mounting grooves (233); the shading plate (234) is a rubber plate with a cavity formed therein; a fixing plate is provided on one side of the inner wall of the rubber plate, and the other side is bonded to one side of the inner wall of the mounting groove (233) by glue; at least one bending wire is fixedly provided on the side of the fixing plate away from the inner wall of the rubber plate; the other end of the bending wire penetrates the rubber plate and is fixedly connected to one side of the inner wall of the mounting groove (233); the bending wire is one of an iron wire and a copper wire, so as to realize the bending and positioning of the shading plate (234).

3. A laser code recognition device according to claim 1, characterized in that: One end of the lamp pole (231) passes through the support seat (2) and is provided with a support block (236) through a damping shaft (238) (235); the surface of the second lead screw (237) is sleeved with the internal thread of the support block (236) and the number of the second lead screw (237) is two; the dark field light source assembly (23) further comprises a shaft (238) for driving the two lead screws to rotate simultaneously; the shaft (238) is rotatably arranged at the top of the inner wall of the support seat (2) and the top end extends to the top of the support seat (2); the second lead screw (237) and the shaft (238) are both provided with transmission gears that are mutually transmitted through a transmission belt, so as to realize the synchronous rise and fall of the two lamp poles (231).

4. A laser code recognition device according to claim 1, characterized in that: A storage hole 1 and storage holes 2 located on both sides of the storage hole 1 are provided on one side of the support seat (2); the interior of the storage hole 1 is sleeved with the surface of the camera mounting seat (221); the interior of the storage hole 2 is sleeved with the surface of the lamp pole (231); a protective cover (16) is provided at one end of the base (1) and the other end of the protective cover is connected to the bottom of the support seat (2) for shielding the hinge connecting the base (1) and the support seat (2); the protective cover (16) is made of rubber.

5. A laser code recognition device according to claim 1, characterized in that: The camera mounting seat (221) has a cavity (2211) formed inside and a pull rod (223) movably provided in the cavity (2211); one end of the pull rod (223) extends to one side of the camera mounting seat (221) and is provided with a rotating disk (224); a pressure plate (2231) located inside the cavity (2211) is provided on the surface of the pull rod (223); and a spring is provided on one side of the pressure plate (2231); The camera mounting seat (221) extends to one end of the support seat (2) and is hingedly connected to a connecting seat (226). The lead screw 1 (227) is rotatably arranged inside the boss (21) and is located between the two lead screws 2 (237). The interior of one end of the connecting seat (226) is threadedly sleeved with the surface of the lead screw 1 (227). The interior of the connecting seat (226) is provided with a slot and a positioning slot (228) located at the bottom of the slot.

6. A laser code recognition device according to claim 5, characterized in that: An insert block (229) is provided inside the positioning slot (228) through a spring, the top of one side of the insert block (229) is arranged in an arc shape, the tops of both ends of the insert block (229) are arranged in an arc shape, and the end of the pull rod (223) away from the rotating disk (224) extends to the inside of the slot; A slot (225) is provided on a section of the pull rod (223) located inside the slot, and both sides of the inner wall of the slot (225) are arranged in an arc shape, corresponding to the arc shape of the top of both ends of the plug block (229). The top of the plug block (229) extends into the interior of the slot (225), and one end of the pull rod (223) is provided with an arc portion located on one side of the slot (225), corresponding to the arc shape of the top of one side of the plug block (229).

7. A laser code recognition device according to claim 1, characterized in that: The length of the boss (21) is consistent with the length of the support seat (2); the lead screw (227) is smaller than the length of the boss (21); the space inside the boss (21) and located at the bottom of the lead screw (227) is used to place the recognition camera (222) in the storage state; the top of the lead screw (227) extends to the top of the boss (21) and is provided with an operating block.

8. A laser code recognition device according to claim 1, characterized in that: The top of the base (1) is provided with a storage groove (12), the packaging box support (11) is movably embedded in the storage groove (12), both sides of the base (1) and both sides of the support seat (2) are arranged in an arc shape, a storage groove is provided in one side of the base (1) and a movable shaft (14) is arranged in the storage groove, one end of the movable shaft (14) extends to the outside of the base (1) and is installed with a display terminal (17) through an adjustment shaft (15).

9. A laser code recognition device according to claim 1, characterized in that: The control mechanism comprises a driving cavity (101) disposed inside the base (1) and connected to the storage groove (12), a fixed shaft (102) fixedly disposed inside the storage groove (12) and having one end extending into the interior of the packaging box support platform (11), a positioning hole (103) disposed on one side of the inner wall of the driving cavity (101), a support plate (111) disposed at the bottom of one end of the packaging box support platform (11), and an adjustment plate (112) rotatably disposed at one end of the support plate (111) and having one end extending into the interior of the positioning hole (103); A spring is movably provided on the surface of the fixed shaft (102); the positioning hole (103) is arranged in a U shape; and the tops of both sides of the packaging box support platform (11) are arranged in an arc shape.

10. A recognition method based on the laser code recognition device according to any one of claims 1 to 9, characterized in that: The following steps are involved: S1, camera parameter setting, setting the calculated camera exposure parameters into the camera as parameters for the next step of image acquisition; S2, the camera takes an image and performs the image taking action according to the set parameters; S3, image content and image quantity judgment; S4, parameter calculation, calculate and analyze the camera parameters that should be compensated in the next step based on the image content that has been captured, and calculate reasonable parameter values ​​for the next step of parameter setting; S5, image synthesis, according to the images obtained with different parameters, the above images are integrated into a qualified image by using numerical calculation methods; S6. Image recognition, image and text recognition system designed according to requirements.

Citation Information

Patent Citations

  • Tobacco laser code assisted recognition method, device, and tobacco laser code recognition equipment

    CN108805129A

  • Image collection device and tobacco laser code recognition equipment

    CN108810355A