CN116939336A - Optical information acquisition device and optical information acquisition method - Google Patents

Optical information acquisition device and optical information acquisition method Download PDF

Info

Publication number
CN116939336A
CN116939336A CN202310943171.7A CN202310943171A CN116939336A CN 116939336 A CN116939336 A CN 116939336A CN 202310943171 A CN202310943171 A CN 202310943171A CN 116939336 A CN116939336 A CN 116939336A
Authority
CN
China
Prior art keywords
light
supplementing
optical information
information acquisition
lamps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310943171.7A
Other languages
Chinese (zh)
Inventor
王冬生
魏江涛
张颂来
陈辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yingda Information Technology Co ltd
Original Assignee
Shenzhen Yingda Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yingda Information Technology Co ltd filed Critical Shenzhen Yingda Information Technology Co ltd
Priority to CN202310943171.7A priority Critical patent/CN116939336A/en
Publication of CN116939336A publication Critical patent/CN116939336A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10881Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices constructional details of hand-held scanners
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors

Abstract

The optical information acquisition device is characterized by comprising a camera for acquiring images; a plurality of light supplementing lamps, wherein the light supplementing colors of the light supplementing lamps are different; the control unit is used for triggering and controlling the camera to acquire images and controlling the light supplementing lamps to supplement light when the camera acquires the images, the light supplementing time of the light supplementing lamps comprises a first time period and a second time period, the light supplementing lamps supplement light sequentially in the first time period, the control unit is used for respectively calculating and comparing the contrast of multiple frame images acquired by the camera when the light supplementing lamps supplement light, and the light supplementing lamps corresponding to the images with the largest contrast supplement light are used for supplementing light in the second time period. The optical information acquisition device and the optical information acquisition method can pertinently supplement light to special optical characters which are difficult to read in the second period, have good reading effect and improve the reading efficiency.

Description

Optical information acquisition device and optical information acquisition method
The application relates to a Chinese patent application with the application date of 2022, 1 month and 12 days, the application number of 202210032808.2 and the name of 'optical information acquisition device and optical information acquisition method'.
Technical Field
The present application relates to the field of optical information acquisition, and in particular, to an optical information acquisition device and an optical information acquisition method.
Background
The barcode (barcode) generally known in the industry includes a one-dimensional code and a two-dimensional code, and is a graphic identifier for arranging a plurality of bars and spaces with different widths according to a certain coding rule to express a set of information. The common bar code is a parallel line pattern formed by black bars (short bars) and white bars (short spaces) with large difference in reflectivity, and the two-dimensional code is a regular two-dimensional pattern formed by stacking black blocks and white blocks. Because the 'bar' and 'empty' light rays in the bar code symbol have different reflectivities, the bar code scanner receives reflected light signals with different intensities, and correspondingly, electric pulses with different electric potential levels are generated. The width of the bar and the empty in the bar code symbol determines the length of the electric pulse signals with different electric potential levels. The optical signal received by the scanner needs to be photoelectrically converted into an electrical signal and amplified by an amplifying circuit. The electrical signal of the bar code amplified by the circuit is a smooth undulating signal, known as an "analog electrical signal", due to the size of the scanning spot, the edge ambiguity of the bar code printing, and for some other reason. The "analog electrical signal" is shaped into a generally "digital signal". According to the coding rule corresponding to the code system, the decoder can read the digital signal and translate it into digital and character information. The bar code can mark out many information such as the country of production, manufacturer, commodity name, date of production, book class number, mail start and stop place, class, date, etc. so it is widely used in many fields such as commodity circulation, book management, postal management, banking system, etc.
For example, bar codes are printed on various products (or packages, hereinafter the same) so as to facilitate management and control in product production and sales, the bar codes are also printed on materials with different materials and colors, and the colors of the bar codes are not limited to the original black and white, but have rich colors according to the different colors of the products.
Disclosure of Invention
The application aims to provide an optical information acquisition device and an optical information acquisition method for supplementing light through multiple color light supplementing lamps in a first period and supplementing light through the light supplementing lamps corresponding to the image with the largest contrast in the first period in a second period.
In order to achieve the above purpose, the application adopts the following technical means:
the application provides an optical information acquisition device, which is characterized by comprising: the camera is used for collecting images; a plurality of light supplementing lamps, wherein the light supplementing colors of the light supplementing lamps are different; the control unit is used for triggering and controlling the camera to acquire images and controlling the light supplementing lamps to supplement light when the camera acquires the images, the light supplementing time of the light supplementing lamps comprises a first time period and a second time period, the light supplementing lamps supplement light sequentially in the first time period, the control unit is used for respectively calculating and comparing the contrast of multiple frame images acquired by the camera when the light supplementing lamps supplement light, and the light supplementing lamps corresponding to the images with the largest contrast supplement light are used for supplementing light in the second time period.
Alternatively, the control unit calculates only the contrast of a specific location in the image.
Optionally, the specific position is a position occupied by an optical character.
Optionally, an aiming unit is included for projecting an aiming pattern having a central spot which at least partially overlaps the specific location.
Optionally, when the control unit triggers and controls the plurality of light-compensating lamps to sequentially compensate light again, the light-compensating lamp of the first light-compensating lamp is the light-compensating lamp of the last light-compensating lamp when the image is acquired by triggering the previous time.
Optionally, the preset time of the first period is less than or equal to the preset time of the second period.
The application provides an optical information acquisition method which is characterized by comprising the following steps of: s1: controlling a camera to acquire images and controlling light supplementing lamps with multiple colors to supplement light sequentially in a first period; s2: calculating and comparing the contrast of the images acquired when the light supplementing lamps with various colors supplement light; s3: and supplementing light in a second period by using a light supplementing lamp corresponding to the image with the largest contrast.
Optionally, in S2, the control unit only calculates the contrast of the position where the optical character is located in the image.
Optionally, in S1, the method further comprises projecting an aiming pattern aiming optical character, and when there are a plurality of optical characters in the image, in S2, the control unit calculates only the contrast of the position where the optical character overlaps with the aiming center of the aiming pattern.
Optionally, after S3, when the light supplementing lamps are sequentially supplemented by triggering the light supplementing lamps next time, the light supplementing lamp of the first light supplementing is the light supplementing lamp of the last light supplementing when the image is acquired by triggering the light supplementing lamps last time.
Drawings
FIG. 1 is a perspective view of an optical information acquisition device according to one embodiment of the present application;
FIG. 2 is a schematic view of the optical information acquisition device of FIG. 1 from another perspective, and showing components therein through a window;
FIG. 3 is a schematic view of a portion of an optical information gathering device according to an embodiment of the present application, and showing an aiming pattern projected by an aiming unit;
FIG. 4 is a schematic view of an optical information acquisition device projecting aiming patterns aiming optical information/optical characters according to an embodiment of the present application;
FIG. 5 is a timing chart of light supplementing of a light supplementing lamp of the optical information collecting device according to the embodiment of the application;
FIG. 6 is a schematic diagram of an optical information acquisition device processing an image according to an embodiment of the present application;
fig. 7 is a flowchart of a method for collecting optical information by the optical information collecting device according to an embodiment of the present application.
Description of the embodiments
When reading bar codes, a light supplementing lamp is usually required to supplement light, and due to different materials or different colors, the absorption rate and the reflection rate of light are different, so that the bar codes printed on different materials can be quickly read, and various light supplementing lamp technologies such as red light, white light, green light, yellow light and the like are developed in the industry. Further, developers integrate the light supplementing lamps with multiple colors on the same reader, and the light supplementing lamps with multiple colors are used for supplementing light circularly, so that one reader can read bar codes with different colors printed on different materials.
However, for fast decoding, one cycle period of the multiple color light-compensating lamps is also shorter, and the light-compensating time allocated to each color light-compensating lamp is less. For the bar code being read, only one of the light-compensating lamps of multiple colors is usually optimal, while other light-compensating lamps are not optimal, and the time is wasted when the bar code is not successfully read in the first cycle due to the angle and distance of the bar code reading, the special industrial printing of the bar code reading, and the like.
In order to solve the above problems, it is proposed by those skilled in the art to pre-establish a comparison table of the material quality/color and the color of the light-compensating lamp according to the material quality/color of the material, and when the bar code is read, the material quality/color of the material is identified by the image identification technology, and then the light is compensated by the light-compensating lamp with the corresponding color. However, this is only a representation of the problem, because even the same material or color material, due to different structures or production processes, the light absorption and reflectance are different, and the material similar to some appearance needs to be analyzed by a professional analysis instrument, such as many similar alloy components with different colors, similar synthetic plastic components with different colors, or similar synthetic glass components with different colors, and for the same paper, some denser and more light absorption and reflectance are different, and the material can be distinguished by image recognition technology, so that even if a comparison table is established, errors are prone to occur: in short, since the materials are various, the light supplementing of the same color by different materials with the same color has different absorptivity and reflectivity, and the pre-established comparison table cannot cover all materials, the types of the materials are difficult to be identified by the image identification technology, and the problem cannot be fundamentally solved by pre-establishing the comparison table of the materials and the colors of the light supplementing lamps.
The present application addresses the above problems by providing a new optical information acquisition device and optical information acquisition method, which employ new methods and techniques to solve these problems.
For a better understanding of the application with objects, structures, features, and effects, the application will be described further with reference to the drawings and to the detailed description.
Referring to fig. 1, an embodiment of an optical information acquisition device 1 of the present application is a scanning gun, which comprises a housing 2 having a receiving cavity, and a trigger 3, a transparent scanning window 4 and a light supplementing window 5 disposed on the housing 2. The trigger 3 is used for a user to trigger the scanning gun to collect optical information.
With additional reference to fig. 2, a camera 6 and an aiming unit 7 arranged in the scanning window 4, and a plurality of light filling lamps 8 arranged in the light filling window 5 are shown.
The multiple light-compensating lamps 8 have different light-compensating colors, and may be selected from a plurality of different Yan Guang light-compensating lamps 8 such as white light, red light, green light, blue light, yellow light, etc., according to actual needs, in one embodiment of the present application, the light-compensating lamps 8 include six light-compensating lamps 8 arranged in a straight line, a pair of white light-compensating lamps 8 are respectively located at two sides, a pair of red light-compensating lamps 8 are located at the center, a pair of blue light-compensating lamps 8 are located between a pair of white light-compensating lamps 8 and a pair of red light-compensating lamps 8, so that the pair of white light-compensating lamps 8, the pair of red light-compensating lamps 8 and the pair of blue light-compensating lamps 8 are all symmetric about the center of the light-compensating window 5, the illumination field formed by using any one of the light-compensating lamps 8 alone is symmetric about the center of the light-compensating window 5, and the illumination field formed in the whole view of the camera 6 is more uniform.
Referring to fig. 3, the aiming unit 7 may be a common LED (light emitting diode) aiming unit 7, or may be a laser aiming unit 7, and these two aiming units 7 generally need to be matched with a specific lens to generate an aiming pattern 9 with a specific shape, and in this embodiment, preferably, laser aiming, which is matched with a diffractive optical lens to generate the aiming pattern 9 with a central light spot 10 and a rectangular frame 11, wherein the central light spot 10 is configured to coincide with (or be close to) the center of the field of view of the camera 6, and the rectangular frame 11 is configured to coincide with or substantially coincide with the field of view of the camera 6 (generally, the rectangular frame 11 is smaller than the field of view of the camera 6).
With continued reference to fig. 3, a block diagram of a portion of the structure (or logic) of the optical information collecting apparatus 1 according to an embodiment of the present application is shown, where the drawn components do not necessarily represent the actual shape, structure or size thereof, but are merely illustrative. The main components of the optical information collecting device 1 in fig. 3 further include a control unit 12 and a storage unit 13, where the control unit 12 is electrically connected to other components to output control instructions to control the other components, and the storage unit 13 is used for storing a control program for the control unit 12 to call.
Referring to fig. 4, when a user sends a trigger signal through the trigger 3, the control unit 12 triggers the aiming unit 7 to project an aiming pattern 9 to aim at a target optical character M (such as a bar code or a character such as a text) so that the target optical character M is located in a rectangular frame 11 of the aiming pattern 9, and the central light spot 10 is aligned with the target optical character M so that the target optical character M is located exactly in the center of the field of view of the camera 6. The control unit 12 in turn sends instructions to control the camera 6 to capture images of the target optical character M. The control unit 12 controls the plurality of light-compensating lamps 8 to compensate light while the camera 6 collects an image.
The light filling time of the light filling lamps 8 is preset to include a first period and a second period, and in the first period, the light filling lamps 8 are sequentially filled with light, and the initial sequence of the light filling lamps 8 is as follows: white light, red light, blue light. When the light supplementing lamp 8 of each color supplements light, the camera 6 can collect multiple frames of images, the collecting period of each frame of image comprises image collecting time and image transmission processing time, the control unit 12 synchronously calculates the contrast of each frame of image, and the camera 6 automatically exposes according to an automatic exposure control algorithm, so that exposure parameters can be adjusted according to the contrast of the previous frame of image, and the next frame of image is expected to have larger contrast. Specifically, if the frame rate of the camera 6 is 50HZ, in order to improve the reading efficiency, the first period is usually set to be shorter, the first period may be set to 300-600ms, for example, the first period is 300ms, the light supplementing time of the white, red and blue light supplementing lamps 8 is 100ms, when each of the light supplementing lamps 8 supplements light, the camera 6 may collect 5 frames of images, and, in theory, for easy-to-read optical information, such as a simple barcode, a low-density two-dimensional code, a simple alphanumeric symbol, etc., the optical information may be successfully read in the first period, and if the optical information is successfully read, the control unit 12 controls to end the reading process until the next reading process is started by the next triggering.
For the optical information easy to read, if the reading is successful when the blue light supplementary lighting lamp 8 supplements light in the first period, the control unit 12 controls to end the optical information reading process; when the next time is triggered, in a first period, the control unit 12 controls the light supplementing lamps 8 to supplement light sequentially, and the light supplementing lamp 8 of the first light supplementing is the light supplementing lamp 8 of the last light supplementing when the whole reading process is finished last time, and since the previous time when the light supplementing of the blue light supplementing lamp 8 is successful in reading the optical information, the first light supplementing of the blue light supplementing lamp 8 is triggered next time, and the light supplementing sequence of the light supplementing lamp 8 of the first period is blue, red and white.
Because the first period of time is shorter, optical information which is difficult to read, such as a high-density bar code, a two-dimensional code, a DPM code, a complex character symbol and the like, cannot be read successfully in the first period of time. Fig. 5 shows a timing chart of the light filling lamps 8 with multiple colors when the optical information collecting device 1 collects the optical information which is difficult to read, the light filling lamps 8 with three colors of white, red and blue are sequentially filled with light in the first period, the control unit 12 calculates and compares the contrast of all the images in the first period, so as to obtain the image with the largest contrast, and the light filling lamp 8 is used for filling light in the second period when the image with the largest contrast is collected. The second period is usually set to be longer, such as 600-5000ms, and the camera 6 can acquire images in the second period and can automatically expose the images for a longer time, so that theoretically, images with larger contrast can be obtained, and optical information which is difficult to read in the first period can be successfully read.
For example, for the optical information that is difficult to read, when the first period is sequentially supplemented with white light, red light and blue light but the optical information is not successfully read, the control unit 12 calculates the contrast of all the images collected in the first period, and when the contrast of the image collected when the red light supplementing lamp 8 is obtained for supplementing light is maximum, the control unit 12 controls the red light supplementing lamp 8 to continuously supplement light in the second period until the reading is successful or the reading is overtime. At the next triggered time, the control unit 12 controls the light supplementing lamps 8 to supplement light sequentially in a first period, and the light supplementing sequence is red, blue and white.
The image contrast calculating method in the prior art generally calculates the contrast of the whole image, which is low in efficiency and is not the contrast of the target optical character M in the whole image. The recognition of optical characters, such as bar codes, mainly depends on the contrast ratio of bar and empty of the bar codes, and when the contrast ratio of bar and empty is larger, the bar codes are relatively easier to read; the smaller the contrast between "bar" and "empty", the harder the bar code will be relatively readable. Referring to fig. 6, in this embodiment, in order to further improve the recognition efficiency, the calculation process of the image contrast is also optimized, that is, for the images (P1, P2) collected by the camera 6, the control unit 12 only calculates the contrast of a specific position in the images (P1, P2), and most desirably, the specific position is just the position occupied by the target optical character M, which may be achieved by the following method: the control unit 12 (or a separate image processing unit, not shown), which is the same as the above) divides the whole image (P1, P2), cuts the suspicious portion Y of the image (P1, P2) that may be the target optical character M, and calculates the contrast of the suspicious portion Y, and if only one suspicious portion Y is cut out of the whole image, the contrast of the suspicious portion Y is most likely to be the contrast of the target optical character M, which is more accurate and more efficient; however, when the plurality of suspicious portions Y are cut out from the entire image (P1, P2) and are likely to be the target optical character M, the contrast of the target optical character M cannot be accurately obtained. The contrast of the target optical character M in the plurality of suspicious portions Y may be further obtained by: due to the operation habit of the user, the central light spot 10 of the aiming pattern 9 is usually aligned to the target optical character M, so that the central light spot 10 overlaps at least a part of the target optical character M, and when a plurality of suspicious portions Y in the whole image (P1, P2) are all possible target optical characters M, only the suspicious portions Y overlapping with the target central light spot 10 are cut to be the target optical characters M, and only the contrast of the suspicious portions Y is calculated.
Further, since only the contrast of the target optical character M needs to be obtained, in the automatic exposure process, the automatic exposure is performed only in accordance with the brightness of the target optical character M, irrespective of the brightness of the background around the target optical character M.
Further, the influence of the aiming pattern 9 on the contrast calculation needs to be taken into account. With continued reference to fig. 6, since the aiming pattern 9 in the image (P1) is generally bright (the aiming pattern 9 in the image (P1) is black, which is only an example, the aiming pattern 9 in the actual image is bright, and the part of the binarized image is generally the most bright), and may even be the part of the whole image with the most bright, and when the central light spot 10 overlaps the target optical character M, the contrast of the target optical character M is further affected, so that the aiming pattern 9 in the image needs to be filtered out: the aiming pattern 9 can be not projected in the image acquisition time and the aiming pattern 9 can be projected in the image transmission processing time in the acquisition period of one frame of image (P1), so that aiming can be realized through the aiming pattern 9, and image overexposure caused by the over-brightness of the aiming pattern 9 can be avoided; or the aiming pattern 9 is projected when one frame image (P1) is acquired, and the aiming pattern 9 is not projected when the next frame image (P2) is acquired, but only the contrast of the next frame image is calculated.
In one embodiment (not shown), the scanning window and the light-compensating window are combined into one window, and the light-compensating lamps and the camera are arranged in the same window; further, a plurality of the light supplement lamps may be integrated with the camera and the aiming unit into one module, which is generally called a scan engine or a scan head.
In one embodiment (not shown, the same applies below), during the first period, the light may be supplemented simultaneously by different color light supplementing lamps, such as red and blue light supplementing lamps, to provide a richer light supplementing color in order to obtain a more contrast image.
In one embodiment (not shown, the same applies below), when the central spot does not overlap the target optical character, or when a plurality of different optical characters overlap a portion of the central spot at the same time due to the great density of the optical characters, the central coordinates of the central spot may be first determined, and then the optical character closest to the central coordinates may be determined as the target optical character.
As shown in fig. 7, a flowchart of a method for collecting optical information of the optical information collecting device 1 according to the foregoing embodiment of the present application includes the following steps:
s1: the camera 6 is controlled to collect images and the light supplementing lamps 8 with multiple colors are controlled to supplement light sequentially in a first period.
The initial light filling sequence of the light filling lamps 8 of the multiple colors is as follows: white light, red light, blue light. The camera 6 can collect multiple frames of images at the light supplementing time of each color light supplementing lamp 8,
s2: the contrast of the images acquired when the light-supplementing lamps 8 of the plurality of colors are supplemented is calculated and compared.
S3: the light supplement lamp 8 corresponding to the image with the largest contrast is supplemented in the second period.
The second period is usually set to be longer, and when the camera 6 collects images in the second period, the camera has longer time to automatically expose, so that theoretically, images with larger contrast can be obtained, and optical information which is difficult to read in the first period can be successfully read.
The optical information acquisition device and the optical information acquisition method have the following beneficial effects:
according to the optical information acquisition device 1 and the optical information acquisition method, when the camera 6 acquires images, the plurality of light supplementing lamps 8 with different colors are used for supplementing light, the light supplementing time is divided into the first time period and the second time period, the plurality of light supplementing lamps 8 are used for supplementing light sequentially in the first time period, the contrast of multiple frames of images acquired by the camera 6 is calculated, and the light supplementing lamp 8 corresponding to the image with the largest contrast is used for supplementing light in the second time period, so that the optical information acquisition device 1 and the optical information acquisition method are not only suitable for acquiring optical information on materials with different materials/colors, and can be used for successfully identifying and reading simple optical information which is easy to identify and reading, but also have good identification effect for specific optical characters (such as DPM codes and Direct Part marks) which are difficult to identify and read in the second time period, and improve the identification efficiency.
The above detailed description is merely illustrative of the preferred embodiments of the application and is not intended to limit the scope of the application, so that all equivalent technical changes that can be made by the present specification and illustrations are included in the scope of the application.

Claims (10)

1. An optical information acquisition device, comprising:
the camera is used for collecting images;
a plurality of light supplementing lamps, wherein the light supplementing colors of the light supplementing lamps are different;
the control unit is used for triggering and controlling the cameras to collect images and controlling the light supplementing lamps to supplement light when the cameras collect images, the light supplementing time of the light supplementing lamps comprises a first time period and a second time period, the light supplementing lamps with multiple colors are used for supplementing light in the first time period, the light supplementing lamps with single color are used for supplementing light or the light supplementing lamps with different colors are used for supplementing light simultaneously, and the control unit is used for respectively calculating and comparing the contrast of multiple frame images collected by the cameras when the light supplementing lamps with multiple colors are used for supplementing light and supplementing light in the second time period by the light supplementing lamp corresponding to the image with the largest contrast.
2. The optical information acquisition device of claim 1, wherein: the control unit calculates only the contrast of a specific location in the image.
3. The optical information acquisition device of claim 2, wherein: the specific position is the position occupied by the optical character.
4. The optical information acquisition device of claim 2, wherein: comprising an aiming unit for projecting an aiming pattern having a central spot which at least partly overlaps the specific location.
5. The optical information acquisition device of claim 1, wherein: the entire image is segmented, suspicious portions of the image that may be target optical characters are segmented, and the contrast of the suspicious portions is calculated.
6. An optical information acquisition method is characterized by comprising the following steps:
s1: controlling a camera to acquire images and controlling the light supplementing lamps with multiple colors to supplement light in a first period, wherein the light supplementing lamps with one color are used for supplementing light independently or the light supplementing lamps with different colors are used for supplementing light simultaneously;
s2: calculating and comparing the contrast of the images acquired when the light supplementing lamps with various colors supplement light;
s3: and supplementing light in a second period by using a light supplementing lamp corresponding to the image with the largest contrast.
7. The optical information acquisition method as claimed in claim 6, wherein: in S2, the control unit calculates only the contrast of a specific position in the image.
8. The optical information acquisition method as claimed in claim 7, wherein: the specific position is the position occupied by the optical character.
9. The optical information acquisition method as claimed in claim 7, wherein: comprising an aiming unit for projecting an aiming pattern having a central spot which at least partly overlaps the specific location.
10. The optical information acquisition method as claimed in claim 6, wherein: calculating the contrast of the image in S2 includes: the entire image is segmented, suspicious portions of the image that may be target optical characters are segmented, and the contrast of the suspicious portions is calculated.
CN202310943171.7A 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method Pending CN116939336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310943171.7A CN116939336A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310943171.7A CN116939336A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method
CN202210032808.2A CN114374785A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202210032808.2A Division CN114374785A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method

Publications (1)

Publication Number Publication Date
CN116939336A true CN116939336A (en) 2023-10-24

Family

ID=81143158

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310943171.7A Pending CN116939336A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method
CN202210032808.2A Pending CN114374785A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210032808.2A Pending CN114374785A (en) 2022-01-12 2022-01-12 Optical information acquisition device and optical information acquisition method

Country Status (2)

Country Link
CN (2) CN116939336A (en)
WO (1) WO2023134304A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116939336A (en) * 2022-01-12 2023-10-24 深圳盈达信息科技有限公司 Optical information acquisition device and optical information acquisition method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7478753B2 (en) * 2004-08-31 2009-01-20 Symbol Technologies, Inc. System and method for aiming an optical code scanning device
US7261238B1 (en) * 2006-05-26 2007-08-28 Symbol Technologies, Inc. Method of locating imaged bar codes for an imaging-based bar code reader
US9418270B2 (en) * 2011-01-31 2016-08-16 Hand Held Products, Inc. Terminal with flicker-corrected aimer and alternating illumination
JP6335037B2 (en) * 2014-06-19 2018-05-30 株式会社Subaru Outside environment recognition device
JP6799279B2 (en) * 2017-03-27 2020-12-16 カシオ計算機株式会社 Image acquisition device, image acquisition method, and program
CN110852127A (en) * 2019-10-26 2020-02-28 深圳盈达信息科技有限公司 Bar code reading method and terminal
CN111460848B (en) * 2020-04-01 2023-05-02 福州符号信息科技有限公司 Reading equipment and method capable of identifying bar codes of various materials and color bar codes
CN111541873B (en) * 2020-05-08 2021-10-26 北京嘀嘀无限科技发展有限公司 Control method and system for vehicle monitoring and computer readable storage medium
CN113515966B (en) * 2021-08-10 2024-03-15 海伯森技术(深圳)有限公司 Code scanning method, device, storage medium and equipment for multispectral light illumination
CN116939336A (en) * 2022-01-12 2023-10-24 深圳盈达信息科技有限公司 Optical information acquisition device and optical information acquisition method

Also Published As

Publication number Publication date
WO2023134304A1 (en) 2023-07-20
CN114374785A (en) 2022-04-19

Similar Documents

Publication Publication Date Title
EP1950687A2 (en) Barcode reader
CN102369539B (en) Exposure control for multi-imaging scanner
JP5154574B2 (en) Image acquisition device
US4488679A (en) Code and reading system
US20100252633A1 (en) Auto-exposure for multi-imager barcode reader
US20110150346A1 (en) Method and Apparatus for Identifying Embossed Characters
US20090224187A1 (en) Counting device for small series
WO1996013797A2 (en) Method and apparatus for a portable non-contact label imager
CN107122690A (en) With flash of light correction sight and the terminal alternately illuminated
US6078698A (en) System for reading data glyphs
JP2019191561A (en) Camera and method for focus adjustment
CN116939336A (en) Optical information acquisition device and optical information acquisition method
JP2774892B2 (en) Barcode reader
CN109598173B (en) Scanning device and scanning method thereof
EP2073144B1 (en) A barcode imaging system and source of electromagnetic radiation therefor
US6974085B1 (en) System for reading optical indicia
CN111460848A (en) Reading equipment capable of identifying bar codes of various materials and color bar codes and identification method
JP2007011654A (en) Method of reading embossed character
JP2007079675A (en) Character recognition method, program, and character reader
JPS61233876A (en) Optical reader
CN113962238A (en) Light supplementing light source and identification code scanning device
JP3526370B2 (en) Barcode reading method and barcode reader
RU211568U1 (en) HAND-HELD OPTICAL SCANNER
JPS6365588A (en) Bar-code reader
DE60038636T2 (en) Apparatus and method for reading and decoding optical codes with result display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination