CN111259879A - Method and system for improving first reading rate of bar code reading equipment - Google Patents

Method and system for improving first reading rate of bar code reading equipment Download PDF

Info

Publication number
CN111259879A
CN111259879A CN202010021157.8A CN202010021157A CN111259879A CN 111259879 A CN111259879 A CN 111259879A CN 202010021157 A CN202010021157 A CN 202010021157A CN 111259879 A CN111259879 A CN 111259879A
Authority
CN
China
Prior art keywords
exposure value
imaging component
processor
exposure
decoding
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
CN202010021157.8A
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.)
Fuzhou Symbol Information Technology Co ltd
Original Assignee
Fuzhou Symbol 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 Fuzhou Symbol Information Technology Co ltd filed Critical Fuzhou Symbol Information Technology Co ltd
Priority to CN202010021157.8A priority Critical patent/CN111259879A/en
Publication of CN111259879A publication Critical patent/CN111259879A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/141Control of illumination
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a method for improving the first reading rate of a bar code reading device, wherein an imaging component of the bar code reading device comprises an image sensor exposure value register, an image sensor of the imaging component reads from the imaging component exposure value register and uses the exposure value to perform exposure so as to generate a digital image, and an effective exposure value is stored in a storage module of the bar code reading device; and when code scanning identification is triggered, the processor writes the effective exposure value into an imaging component exposure value register, performs decoding attempt on the acquired image, updates the effective exposure value into the value in the imaging component exposure value register if decoding is successful, and sets the imaging component into an automatic exposure mode if decoding is failed so as to perform image acquisition again. According to the invention, when each round of reading process collects images for the first time, the exposure value used by the last decoding success is preferentially used, and meanwhile, the working modes of the positioning lamp and the imaging assembly are optimized, so that the first reading rate of the bar code reading equipment is improved.

Description

Method and system for improving first reading rate of bar code reading equipment
Technical Field
The invention relates to a method and a system for improving the first reading rate of bar code reading equipment, belonging to the field of bar code reading.
Background
When the existing bar code reading equipment collects a bar code image, the light supplement lamp, the positioning lamp and the imaging component are matched with each other, and the collected image is analyzed through a decoding library algorithm to obtain a decoding result. The conventional process of barcode image acquisition and analysis is shown in fig. 1. When the whole recognition flow is triggered, the system firstly starts a light supplement lamp (used for illuminating an image acquisition area of an imaging assembly) and a positioning indicator lamp (used for indicating the image acquisition area of the current imaging assembly); then starting the imaging component, setting the imaging component to be in an automatic exposure mode, and automatically selecting a proper exposure value by the imaging component according to parameters such as ambient light brightness and the like in the automatic exposure mode so as to obtain a clear image; and then the imaging component starts to collect image data, after a frame of effective image data is collected, the image data is analyzed by the decoding library, if the decoding is successful, the imaging component, the positioning indicator lamp and the light supplement lamp are sequentially closed and the current round of reading process is ended, if the decoding is failed, whether the number of times of the current analysis exceeds the preset maximum number of times of single round of trying to analyze is judged, if the number of times of the current analysis does not exceed the preset maximum number of times of trying to analyze, a frame of effective image is collected again for analyzing operation, and if the number of times of the current analysis exceeds the maximum number of times, the imaging component, the positioning indicator lamp and the light supplement lamp. In the barcode reading process, the imaging assembly always works in an automatic exposure mode, and in the mode, the imaging assembly acquires an exposure value through a program solidified in the imaging assembly by an imaging assembly manufacturer. If present ambient light is comparatively extreme (for example, it is bright, dark etc.), or the automatic exposure program performance of imaging component itself is good enough, will all increase the imaging component and calculate the consuming time of exposure value, under this condition, every recognition bar code, just recalculates exposure value once again, so whole recognition flow's consuming time will be prolonged by a wide margin, simultaneously, the image of gathering through this exposure value also can guarantee fast decoding in a nonconformity. Therefore, the process of calculating the exposure value in the automatic exposure mode of the imaging component determines the efficiency of image acquisition and the imaging quality, thereby affecting the initial reading rate of the barcode scanning equipment (the initial reading rate = the number of the barcode symbols read for the first time/the total number of the read barcode symbols 100%, and in the barcode reading field, the initial reading rate is one of the key parameters for measuring the performance of the barcode scanning equipment).
Disclosure of Invention
In order to solve the technical problem, the invention provides a method for improving the initial reading rate of a bar code reading device, which optimizes the control flows of an imaging assembly and an LED lamp respectively, so that the initial reading rate of the bar code reading device is improved.
The technical scheme of the invention is as follows:
a method for improving the first reading rate of a bar code reading device comprises that an imaging component of the bar code reading device comprises an image sensor exposure value register, an image sensor of the imaging component reads from the imaging component exposure value register and uses the exposure value to perform exposure so as to generate a digital image, a storage module of the bar code reading device stores an effective exposure value, and the effective exposure value is a value read from the imaging component exposure value register when a processor of the bar code reading device successfully decodes at the last time; when code scanning and reading are triggered, the processor writes the effective exposure value into the imaging component exposure value register, then the imaging component collects images, the processor performs decoding attempt on the collected images, if decoding succeeds, the effective exposure value is updated to the value in the imaging component exposure value register, if decoding fails, the processor sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and image collection is executed again.
More preferably, the method further sets a flag bit that marks the validity of the valid exposure value, in particular: and when the code scanning identification is triggered, the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an imaging component exposure value register to execute image acquisition, and if the flag bit is valid, the processor writes the effective exposure value into the imaging component exposure value register to execute image acquisition.
Preferably, the processor decodes the acquired image, if the decoding is successful, the processor updates the effective exposure value to the value in the imaging component exposure value register, sets the flag bit of the effective exposure value to be effective, if the decoding is failed, sets the flag bit of the effective exposure value to be invalid and sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and the image is acquired again.
Preferably, after the reading is triggered, the light supplement lamp, the positioning lamp and the imaging assembly are started; the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an exposure value register of the imaging component, and if the flag bit is valid, the processor writes the effective exposure value into the exposure value register of the imaging component; turning off the positioning lamp; the imaging component uses the value in the imaging component exposure value register to carry out exposure and image acquisition; turning on a positioning lamp; the processor decodes the acquired image, if the decoding is successful, the effective exposure value is updated to the value in the imaging component exposure value register, the flag bit is set to be effective, the imaging component, the positioning lamp and the light supplement lamp are closed, and bar code reading is finished; if the decoding fails, setting the flag bit of the effective exposure value as invalid and setting the imaging component as an automatic exposure mode, automatically calculating the exposure value by the imaging component, writing the exposure value into an exposure value register of the imaging component, and executing the steps of closing the positioning lamp, collecting the image by the imaging component, opening the positioning lamp and decoding the collected image by the processor again.
Preferably, when the decoding fails, the processor judges whether the decoding turn exceeds the preset maximum attempted decoding number, if so, the bar code reading is finished, and if not, the processor sets the imaging assembly to be in an automatic exposure mode to acquire the image again.
The invention also provides a system for improving the first reading rate of the bar code reading equipment.
The second technical scheme of the invention is as follows:
a system for improving the first reading rate of a bar code reading device comprises an imaging component, a processor and a storage module, wherein the imaging component comprises an imaging component exposure value register, the imaging component reads from the imaging component exposure value register and uses the exposure value to perform exposure so as to generate a digital image, an effective exposure value is stored in the storage module of the bar code reading device, and the effective exposure value is a value read by the processor of the bar code reading device from the imaging component exposure value register when the last decoding is successful; when code scanning and reading are triggered, the processor writes the effective exposure value into the imaging component exposure value register, then the imaging component collects images, the processor performs decoding attempt on the collected images, if decoding succeeds, the effective exposure value is updated to the value in the imaging component exposure value register, if decoding fails, the processor sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and image collection is executed again.
More preferably, the system further comprises a flag bit marking the validity of the valid exposure value, in particular: and when the code scanning identification is triggered, the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an imaging component exposure value register to execute image acquisition, and if the flag bit is valid, the processor writes the effective exposure value into the imaging component exposure value register to execute image acquisition.
Preferably, the processor decodes the acquired image, if the decoding is successful, the processor updates the effective exposure value to the value in the imaging component exposure value register, sets the flag bit of the effective exposure value to be effective, if the decoding is failed, sets the flag bit of the effective exposure value to be invalid and sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and the image is acquired again.
Preferably, after the reading is triggered, the light supplement lamp, the positioning lamp and the imaging assembly are started; the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an exposure value register of the imaging component, and if the flag bit is valid, the processor writes the effective exposure value into the exposure value register of the imaging component; turning off the positioning lamp; the imaging component uses the value in the imaging component exposure value register to carry out exposure and image acquisition; turning on a positioning lamp; the processor decodes the acquired image, if the decoding is successful, the effective exposure value is updated to the value in the imaging component exposure value register, the flag bit is set to be effective, the imaging component, the positioning lamp and the light supplement lamp are closed, and bar code reading is finished; if the decoding fails, setting the flag bit of the effective exposure value as invalid and setting the imaging component as an automatic exposure mode, automatically calculating the exposure value by the imaging component, writing the exposure value into an exposure value register of the imaging component, and executing the steps of closing the positioning lamp, collecting the image by the imaging component, opening the positioning lamp and decoding the collected image by the processor again.
Preferably, when the decoding fails, the processor judges whether the decoding turn exceeds the preset maximum attempted decoding number, if so, the bar code reading is finished, and if not, the processor sets the imaging assembly to be in an automatic exposure mode to acquire the image again.
The invention has the following beneficial effects:
1. the invention relates to a method and a system for improving the first reading rate of a bar code reading device, wherein the value in an imaging component exposure value register is stored in a storage module of the bar code reading device when decoding is successful, and the effective exposure value in the storage module is preferentially used in the next reading;
2. the invention relates to a method and a system for improving the first reading rate of a bar code reading device, which manage effective exposure values by setting the effectiveness of the effective exposure values of flag bit marks and improve the first reading rate of the bar code reading device;
3. the invention relates to a method and a system for improving the first reading rate of a bar code reading device, which are used for judging the failure times of decoding and preventing the bar code reading device from entering a code scanning dead cycle;
4. the method and the system for improving the first reading rate of the bar code reading equipment optimize the opening and closing of the LED lamp, enable the imaging component not to be interfered by redundant external factors when calculating the exposure value in the automatic exposure mode, and ensure the stability of the light intensity and the contrast of the collected area when the bar code reading equipment collects images.
Drawings
FIG. 1 is a flow chart of barcode reading in the prior art;
FIG. 2 is a flowchart of a first embodiment of the present invention;
FIG. 3 is another flow chart of the first embodiment of the present invention;
FIG. 4 is a flowchart of a second embodiment of the present invention;
fig. 5 is a flowchart illustrating an application of a second embodiment of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and the specific embodiments.
Example one
Referring to fig. 2, a method for improving the initial reading rate of a barcode reading device includes that an imaging component of the barcode reading device includes an imaging component exposure value register, the imaging component reads from the imaging component exposure value register and uses the exposure value to perform exposure so as to generate a digitized image when acquiring an image, a storage module of the barcode reading device stores an effective exposure value, the storage module includes a DDR SDRAM and a Flash EEPROM, and in this embodiment, the effective exposure value is stored in a DDR SDRAM. The effective exposure value is read from the exposure value register of the imaging component when the processor of the bar code reading device successfully decodes at the last time; when code scanning and reading are triggered, the processor writes the effective exposure value into the imaging component exposure value register, then the imaging component collects images, the processor performs decoding attempt on the collected images, if decoding succeeds, the effective exposure value is updated to the value in the imaging component exposure value register, if decoding fails, the processor sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and image collection is executed again.
Generally, an imaging assembly of a barcode reading apparatus includes an image sensor and a lens assembly disposed in front of the image sensor, and exposure is controlled by the image sensor.
In order to avoid repeated collection of barcode images for unlimited times after decoding failure, the number of repeated decoding can be set after decoding failure, specifically: and when the decoding fails, the processor judges whether the decoding turn exceeds the preset maximum decoding attempt time, if so, the bar code reading is finished, and if not, the processor sets the imaging assembly into an automatic exposure mode and acquires the image again.
Referring to fig. 3, the present embodiment further provides an implementation of determining an exposure mode of an imaging device according to the validity of the effective exposure value, specifically: the method also comprises the steps of setting a flag bit which marks the validity of the effective exposure value, reading the flag bit by a processor when code scanning identification is triggered, setting an imaging component into an automatic exposure mode by the processor if the flag bit is invalid, automatically calculating the exposure value by the imaging component, writing the exposure value into an exposure value register of the imaging component, executing image acquisition, and writing the effective exposure value into the exposure value register of the imaging component by the processor if the flag bit is valid, and executing image acquisition. The imaging component collects images, the processor decodes the collected images, if the decoding is successful, the processor updates the effective exposure value to the value in the imaging component exposure value register, sets the flag bit of the effective exposure value to be effective, if the decoding is failed, the flag bit of the effective exposure value to be ineffective, sets the imaging component to be in an automatic exposure mode, automatically calculates the exposure value by the imaging component, writes the exposure value into the imaging component exposure value register, and collects the images again.
The method optimizes the mode of obtaining the exposure value by the imaging component, records the effective exposure value of the last time, preferentially writes the effective exposure value into the exposure value register of the imaging component when the image is collected next time, which is equal to the prejudgment of each round of reading environment, weakens the difference of different imaging components in use effect to a certain extent, further enables the bar code reading equipment to obtain the exposure value as fast as possible under the current environment and generate the image beneficial to decoding of a decoding library, improves the availability of the exposure value, greatly reduces the time and times of the imaging component consuming on calculating the exposure value in each round of decoding process, and further obviously improves the first reading rate of the equipment.
Example two
Referring to fig. 4, a technical solution of the first embodiment of the present invention is as follows: for avoiding imaging assembly receive unnecessary external factor interference when calculating the exposure value under the automatic exposure mode, after triggering the recognition, optimize opening and close of pilot lamp, specifically as follows: after the recognition is triggered, the light supplement lamp, the positioning lamp and the imaging assembly are started; the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an exposure value register of the imaging component, and if the flag bit is valid, the processor writes the effective exposure value into the exposure value register of the imaging component; turning off the positioning lamp; the imaging component uses the value in the imaging component exposure value register to carry out exposure and image acquisition; turning on a positioning lamp; the processor decodes the acquired image, if the decoding is successful, the effective exposure value is updated to the value in the imaging component exposure value register, the flag bit is set to be effective, the imaging component, the positioning lamp and the light supplement lamp are closed, and bar code reading is finished; if the decoding fails, setting the flag bit of the effective exposure value as invalid and setting the imaging component as an automatic exposure mode, automatically calculating the exposure value by the imaging component, writing the exposure value into an exposure value register of the imaging component, and executing the steps of closing the positioning lamp, collecting the image by the imaging component, opening the positioning lamp and decoding the collected image by the processor again.
This embodiment has optimized the on-off control of pilot lamp on the basis of embodiment one for the formation of image subassembly only remains the light filling lamp when beginning work, guarantees bar code recognition equipment as far as possible and is gathered regional light intensity and contrast's stability when gathering the image, reduces the interference of unnecessary light to image acquisition, improves bar code recognition equipment's first reading rate.
Referring to fig. 5, the embodiment has the following specific application processes:
1) the equipment is powered on for the first time, and a system is initialized: setting the flag bit to be invalid and setting the imaging component to be in an automatic exposure mode;
2) turning on a light supplement lamp, a positioning lamp and an imaging component;
3) judging whether the imaging component is set to be in a manual exposure mode, and if so, executing the step 4); if the mode is the automatic exposure mode, executing the step 6);
4) judging whether the flag bit is valid, if so, reading a valid exposure value in the storage module by the processor, writing the valid exposure value into an imaging component exposure value register, and executing the step 6); if not, setting the exposure mode of the imaging assembly to be the automatic exposure mode, and then executing the step 6);
6) the positioning lamp is turned off, so that the influence on ambient light is avoided;
7) the imaging component collects the bar code image (in the automatic exposure mode, when the imaging component collects the bar code image, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and then reads the exposure value automatically calculated in the exposure value register for exposure);
8) after the bar code image is collected, the positioning lamp is turned on again;
9) sending the image to a decoding library of a processor for decoding;
10) judging whether the decoding of the decoding library is successful, if so, setting the imaging component to be in a manual exposure mode, setting a flag bit to be effective, updating the effective exposure value to a value in an exposure value register of the imaging component, and then executing the step 11); if the decoding fails, setting the flag bit of the effective exposure value as invalid and setting the imaging component as an automatic exposure mode, then judging whether the round of the attempted decoding exceeds the preset maximum attempted decoding times, if so, executing step 11), otherwise, returning, and starting to execute again from step 3);
11) and turning off the imaging assembly, the red positioning lamp and the white light supplementing lamp to finish the recognizing and reading process.
EXAMPLE III
The utility model provides a system for improve bar code recognition equipment first reading rate, bar code recognition equipment includes imaging component, treater, storage module, imaging component contains an imaging component exposure value register, and imaging component reads and uses this exposure value to expose from this imaging component exposure value register thereby to generate digital image, store an effective exposure value in bar code recognition equipment's the storage module, storage module contains DDR SDRAM and Flash EEPROM, and in this embodiment, effective exposure value is stored in DDR SDRAM. The effective exposure value is read from the exposure value register of the imaging component when the processor of the bar code reading device successfully decodes at the last time; when code scanning and reading are triggered, the processor writes the effective exposure value into the imaging component exposure value register, then the imaging component collects images, the processor performs decoding attempt on the collected images, if decoding succeeds, the effective exposure value is updated to the value in the imaging component exposure value register, if decoding fails, the processor sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and image collection is executed again.
Generally, an imaging assembly of a barcode reading apparatus includes an image sensor and a lens assembly disposed in front of the image sensor, and exposure is controlled by the image sensor.
And when the decoding fails, the processor judges whether the decoding turn exceeds the preset maximum decoding attempt time, if so, the bar code reading is finished, and if not, the processor sets the imaging assembly into an automatic exposure mode and acquires the image again.
The present embodiment further provides an implementation for determining an exposure mode of an imaging component according to validity of a valid exposure value, specifically: the system also comprises a flag bit which marks the validity of the effective exposure value, when the code scanning recognition is triggered, the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register to execute image acquisition, and if the flag bit is valid, the processor writes the effective exposure value into the imaging component exposure value register to execute the image acquisition. The processor decodes the acquired image, if the decoding is successful, the processor updates the effective exposure value to the value in the imaging component exposure value register, sets the flag bit of the effective exposure value to be effective, if the decoding is failed, sets the flag bit of the effective exposure value to be invalid and sets the imaging component to be in an automatic exposure mode, and the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register to acquire the image again.
The method optimizes the mode of obtaining the exposure value by the imaging component, records the effective exposure value of the last time, preferentially writes the effective exposure value into the exposure value register of the imaging component when the image is collected next time, which is equal to the prejudgment of each round of reading environment, weakens the difference of different imaging components in use effect to a certain extent, further enables the bar code reading equipment to obtain the exposure value as fast as possible under the current environment and generate the image beneficial to decoding of a decoding library, improves the availability of the exposure value, greatly reduces the time and times of the imaging component consuming on calculating the exposure value in each round of decoding process, and further obviously improves the first reading rate of the equipment.
Example four
Referring to fig. 4, a technical solution of the present embodiment is different from that of the third embodiment in that: for avoiding imaging component receive unnecessary external factor interference when calculating the exposure value under the automatic exposure mode, after triggering the recognition, optimize opening and close of pilot lamp, specifically: after the recognition is triggered, the light supplement lamp, the positioning lamp and the imaging assembly are started;
the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an exposure value register of the imaging component, and if the flag bit is valid, the processor writes the effective exposure value into the exposure value register of the imaging component; turning off the positioning lamp; the imaging component uses the value in the imaging component exposure value register to carry out exposure and image acquisition; turning on a positioning lamp; the processor decodes the acquired image, if the decoding is successful, the effective exposure value is updated to the value in the imaging component exposure value register, the flag bit is set to be effective, the imaging component, the positioning lamp and the light supplement lamp are closed, and bar code reading is finished; if the decoding fails, the flag bit of the effective exposure value is set to be invalid and the imaging component is set to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the exposure value register of the imaging component, and the steps of closing the positioning lamp, collecting the image by the imaging component, opening the positioning lamp and decoding the collected image by the processor are executed again.
This embodiment has optimized the on-off control of pilot lamp on the basis of embodiment three for the formation of image subassembly only remains the light filling lamp when beginning work, guarantees bar code recognition equipment as far as possible and is gathered regional light intensity and contrast's stability when gathering the image, reduces the interference of unnecessary light to image acquisition, improves bar code recognition equipment's first reading rate.
The specific steps of example three and example four can be seen in the relevant description of the method embodiments.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for improving the first reading rate of a bar code reading device, wherein an imaging component of the bar code reading device comprises an image sensor exposure value register, an image sensor of the imaging component reads from the imaging component exposure value register and uses the exposure value to perform exposure so as to generate a digital image, and the method is characterized in that: the storage module of the bar code reading device stores an effective exposure value, and the effective exposure value is a value read from the imaging component exposure value register when the processor of the bar code reading device successfully decodes the last time; when code scanning and reading are triggered, the processor writes the effective exposure value into the imaging component exposure value register, then the imaging component collects images, the processor performs decoding attempt on the collected images, if decoding succeeds, the effective exposure value is updated to the value in the imaging component exposure value register, if decoding fails, the processor sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and image collection is executed again.
2. The method of claim 1, wherein the first reading rate of the barcode reading device is increased by: a flag bit is also set which marks the validity of the valid exposure value, specifically: and when the code scanning identification is triggered, the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an imaging component exposure value register to execute image acquisition, and if the flag bit is valid, the processor writes the effective exposure value into the imaging component exposure value register to execute image acquisition.
3. The method of claim 2, wherein the first reading rate of the barcode reading device is increased by: the processor decodes the acquired image, if the decoding is successful, the processor updates the effective exposure value to the value in the imaging component exposure value register, sets the flag bit of the effective exposure value to be effective, if the decoding is failed, sets the flag bit of the effective exposure value to be invalid and sets the imaging component to be in an automatic exposure mode, and the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register to acquire the image again.
4. The method of claim 2, wherein the first reading rate of the barcode reading device is increased by: after the recognition is triggered, the light supplement lamp, the positioning lamp and the imaging assembly are started;
the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an exposure value register of the imaging component, and if the flag bit is valid, the processor writes the effective exposure value into the exposure value register of the imaging component;
turning off the positioning lamp;
the imaging component uses the value in the imaging component exposure value register to carry out exposure and image acquisition;
turning on a positioning lamp;
the processor decodes the acquired image, if the decoding is successful, the effective exposure value is updated to the value in the imaging component exposure value register, the flag bit is set to be effective, the imaging component, the positioning lamp and the light supplement lamp are closed, and bar code reading is finished; if the decoding fails, setting the flag bit of the effective exposure value as invalid and setting the imaging component as an automatic exposure mode, automatically calculating the exposure value by the imaging component, writing the exposure value into an exposure value register of the imaging component, and executing the steps of closing the positioning lamp, collecting the image by the imaging component, opening the positioning lamp and decoding the collected image by the processor again.
5. The method of any one of claims 1 to 4, wherein the method comprises the following steps: and when the decoding fails, the processor judges whether the decoding turn exceeds the preset maximum decoding attempt time, if so, the bar code reading is finished, and if not, the processor sets the imaging assembly into an automatic exposure mode and acquires the image again.
6. The utility model provides a system for improve bar code reading equipment first reading rate which characterized in that: the bar code reading device comprises an imaging component, a processor and a storage module, wherein the imaging component comprises an imaging component exposure value register, the imaging component reads from the imaging component exposure value register and uses the exposure value to perform exposure so as to generate a digital image, the storage module of the bar code reading device stores an effective exposure value, and the effective exposure value is a value read by the processor of the bar code reading device from the imaging component exposure value register when the processor of the bar code reading device succeeds in the last decoding; when code scanning and reading are triggered, the processor writes the effective exposure value into the imaging component exposure value register, then the imaging component collects images, the processor performs decoding attempt on the collected images, if decoding succeeds, the effective exposure value is updated to the value in the imaging component exposure value register, if decoding fails, the processor sets the imaging component to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register, and image collection is executed again.
7. The system of claim 6, wherein the barcode reader comprises: further comprising a flag bit marking the validity of said valid exposure value, in particular: and when the code scanning identification is triggered, the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an imaging component exposure value register to execute image acquisition, and if the flag bit is valid, the processor writes the effective exposure value into the imaging component exposure value register to execute image acquisition.
8. The system of claim 7, wherein the barcode reader comprises: the processor decodes the acquired image, if the decoding is successful, the processor updates the effective exposure value to the value in the imaging component exposure value register, sets the flag bit of the effective exposure value to be effective, if the decoding is failed, sets the flag bit of the effective exposure value to be invalid and sets the imaging component to be in an automatic exposure mode, and the imaging component automatically calculates the exposure value and writes the exposure value into the imaging component exposure value register to acquire the image again.
9. The system of claim 7, wherein the barcode reader comprises: after the recognition is triggered, the light supplement lamp, the positioning lamp and the imaging assembly are started;
the processor reads the flag bit, if the flag bit is invalid, the processor sets the imaging component into an automatic exposure mode, the imaging component automatically calculates an exposure value and writes the exposure value into an exposure value register of the imaging component, and if the flag bit is valid, the processor writes the effective exposure value into the exposure value register of the imaging component;
turning off the positioning lamp;
the imaging component uses the value in the imaging component exposure value register to carry out exposure and image acquisition;
turning on a positioning lamp;
the processor decodes the acquired image, if the decoding is successful, the effective exposure value is updated to the value in the imaging component exposure value register, the flag bit is set to be effective, the imaging component, the positioning lamp and the light supplement lamp are closed, and bar code reading is finished; if the decoding fails, the flag bit of the effective exposure value is set to be invalid and the imaging component is set to be in an automatic exposure mode, the imaging component automatically calculates the exposure value and writes the exposure value into the exposure value register of the imaging component, and the steps of closing the positioning lamp, collecting the image by the imaging component, opening the positioning lamp and decoding the collected image by the processor are executed again.
10. The system of any one of claims 6 to 9, wherein the system comprises: and when the decoding fails, the processor judges whether the decoding turn exceeds the preset maximum decoding attempt time, if so, the bar code reading is finished, and if not, the processor sets the imaging assembly into an automatic exposure mode and acquires the image again.
CN202010021157.8A 2020-01-09 2020-01-09 Method and system for improving first reading rate of bar code reading equipment Pending CN111259879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010021157.8A CN111259879A (en) 2020-01-09 2020-01-09 Method and system for improving first reading rate of bar code reading equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010021157.8A CN111259879A (en) 2020-01-09 2020-01-09 Method and system for improving first reading rate of bar code reading equipment

Publications (1)

Publication Number Publication Date
CN111259879A true CN111259879A (en) 2020-06-09

Family

ID=70946791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010021157.8A Pending CN111259879A (en) 2020-01-09 2020-01-09 Method and system for improving first reading rate of bar code reading equipment

Country Status (1)

Country Link
CN (1) CN111259879A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487843A (en) * 2020-11-17 2021-03-12 支付宝(杭州)信息技术有限公司 Control method, device and equipment for positioning lamp of code scanning equipment and code scanning equipment
CN113297867A (en) * 2021-05-21 2021-08-24 苏州视印智能系统有限公司 On-site distributed deployment self-adaptive learning industrial code reader
CN117544849A (en) * 2022-08-11 2024-02-09 无锡盈达聚力科技有限公司 Optical information collector and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933384A (en) * 2015-05-27 2015-09-23 福建新大陆自动识别技术有限公司 Wireless bar code recognition and reading equipment
CN105472209A (en) * 2014-09-11 2016-04-06 比亚迪股份有限公司 Double-camera system and electronic device
US20180247292A1 (en) * 2017-02-28 2018-08-30 Ncr Corporation Multi-camera simultaneous imaging for multiple processes
CN108830061A (en) * 2018-05-25 2018-11-16 努比亚技术有限公司 Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face
CN109784113A (en) * 2018-12-17 2019-05-21 深圳盈达信息科技有限公司 Scanning means and its barcode scanning method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472209A (en) * 2014-09-11 2016-04-06 比亚迪股份有限公司 Double-camera system and electronic device
CN104933384A (en) * 2015-05-27 2015-09-23 福建新大陆自动识别技术有限公司 Wireless bar code recognition and reading equipment
US20180247292A1 (en) * 2017-02-28 2018-08-30 Ncr Corporation Multi-camera simultaneous imaging for multiple processes
CN108830061A (en) * 2018-05-25 2018-11-16 努比亚技术有限公司 Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face
CN109784113A (en) * 2018-12-17 2019-05-21 深圳盈达信息科技有限公司 Scanning means and its barcode scanning method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487843A (en) * 2020-11-17 2021-03-12 支付宝(杭州)信息技术有限公司 Control method, device and equipment for positioning lamp of code scanning equipment and code scanning equipment
CN113297867A (en) * 2021-05-21 2021-08-24 苏州视印智能系统有限公司 On-site distributed deployment self-adaptive learning industrial code reader
CN117544849A (en) * 2022-08-11 2024-02-09 无锡盈达聚力科技有限公司 Optical information collector and method

Similar Documents

Publication Publication Date Title
CN111259879A (en) Method and system for improving first reading rate of bar code reading equipment
CN104778396B (en) A kind of eyeprint identification unlocking method and system based on environmental screening frame
CN109785664A (en) A kind of statistical method and device of the remaining parking stall quantity in parking lot
CN103266444A (en) Washing machine control method and washing machine
CN110008859A (en) The dog of view-based access control model only recognition methods and device again
CN107786867A (en) Image identification method and system based on deep learning architecture
CN112215293A (en) Plant disease and insect pest identification method and device and computer equipment
CN111583180A (en) Image tampering identification method and device, computer equipment and storage medium
CN110781778B (en) Access control method and device, storage medium and home system
CN110929661A (en) Parking space detection method and system capable of parking based on convolutional neural network
CN116912880A (en) Bird recognition quality assessment method and system based on bird key point detection
CN113984761B (en) Quick two-dimension code screening method of two-dimension code batch scanning equipment
CN116958643A (en) Air-borne pollen sensitized plant intelligent identification method based on YOLO network
CN114186576A (en) Bar code positioning and decoding device, method, electronic equipment and storage medium
CN112613425B (en) Target identification system for small sample underwater image
CN114724140A (en) Strawberry maturity detection method and device based on YOLO V3
CN112307842A (en) Video identification system and method for matching of train operation monitoring record files
CN112818993A (en) Character wheel reading meter end identification method and equipment for camera direct-reading meter reader
CN117423001A (en) Rock lithology recognition method and system based on improved SSD, storage medium and equipment
CN111046262A (en) Data annotation method and device and computer storage medium
CN114398918A (en) Bar code reading method and equipment for preventing pattern interference of positioning lamp
CN109101917A (en) Mask method, training method, the apparatus and system identified again for pedestrian
CN112801013A (en) Face recognition method, system and device based on key point recognition and verification
CN114973394A (en) Gesture motion recognition method and device, electronic equipment and computer storage medium
KR20220146214A (en) Device, method, and program that analyzes tree images based on AI to determine whether or not a tree is abnormal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200609

RJ01 Rejection of invention patent application after publication