CN106934317A - Bar code scan recognition methods and device - Google Patents

Bar code scan recognition methods and device Download PDF

Info

Publication number
CN106934317A
CN106934317A CN201511008978.3A CN201511008978A CN106934317A CN 106934317 A CN106934317 A CN 106934317A CN 201511008978 A CN201511008978 A CN 201511008978A CN 106934317 A CN106934317 A CN 106934317A
Authority
CN
China
Prior art keywords
bar code
channel
light
blue
green
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
CN201511008978.3A
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.)
Wochacha Information Technology Shanghai Co ltd
Original Assignee
Wochacha Information Technology Shanghai 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 Wochacha Information Technology Shanghai Co ltd filed Critical Wochacha Information Technology Shanghai Co ltd
Priority to CN201511008978.3A priority Critical patent/CN106934317A/en
Publication of CN106934317A publication Critical patent/CN106934317A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14131D bar codes
    • 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/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Abstract

The present invention relates to a kind of bar code scan recognition methods, the method includes providing the bar code with least two colouring informations formed on the basis of one-dimensional bar code;The reflected light of bar code is received using the imageing sensor with least two Color Channels;And the data message that the light luminance identification bar code received according to each Color Channel is included.Moreover, it relates to a kind of corresponding bar code scan identifying device.By scanning recognition method and apparatus of the invention, the data message included in colour barcode can be in a straightforward manner determined.

Description

Bar code scan recognition methods and device
Technical field
The present invention relates to barcode scanning field, in particular it relates to a kind of bar code scan recognition methods and A kind of bar code scan identifying device.
Background technology
Existing barcode scanning gun is only focused in the monochrome information of bar code reflected light, does not gather bar code The colouring information of reflection.Its imageing sensor for using all band absorption.When illumination is mapped to When in bar code, light leads to by returning to barcode scanning gun, barcode scanning gun after the reflection of the bar in bar code and sky Cross internal specific module and optical signal is switched into electric signal, then digitized map is formed by analog-to-digital conversion Picture.This mode can not provide colouring information necessary to identification polychrome bar code, it is therefore desirable to replace Change the imageing sensor for being obtained in that colour information.
In order to recognize polychrome bar code and correctly translate, it is necessary to identify each by barcode scanning gun Correct color., it is necessary to select specific light source to be mended during using barcode scanning gun identification polychrome bar code Light, to obtain the image with enough brightness and enough color saturations.
However, the compensation light that existing barcode scanning gun system is provided is monochromatic light, usually using white Light or feux rouges.For common bar code, using monochrome compensation just in order to improve bar with sky Luminance contrast distinguishes the purpose of bar dummy section to reach.But, if will be made using monochromatic light For compensate light barcode scanning gun be used for colour barcode, then due to correctly to distinguish colouring information need according to Rely more complicated algorithm.
The content of the invention
In order to rapidly and accurately determine the color of the bar in colour barcode, and without complexity Algorithm, it is necessary to propose a kind of bar code scan recognition methods of optimization and corresponding device.
In order to realize the purpose of the present invention, the first aspect of the present invention is swept there is provided a kind of bar code Recognition methods is retouched, methods described includes:There is provided on the basis of one-dimensional bar code formed with extremely Few two kinds of bar codes of colouring information;Received using the imageing sensor with least two Color Channels The reflected light of the bar code;And the light luminance received according to each Color Channel recognizes the bar code Comprising data message.By above-mentioned method, directly can be received according to each Color Channel Light luminance determine data message, so as to avoid using complicated calculation for distinguishing color Method.
According to a kind of implementation method of bar code scan recognition methods of the invention, the bar At least two colouring informations of code include at least one in blue and green, using logical with blueness The imageing sensor of road and green channel receives the reflected light of the bar code.
According to a kind of implementation method of bar code scan recognition methods of the invention, the side Method also includes:Blue and green mixed light is used to irradiate the bar code to form the reflection Light.In this way, the light-supplementing system of barcode scanning gun uses blue light and green light as compensation Light, this bluish-green light-supplementing system contains blue, green, blue and other certain face for identification Color, green and other certain colors and have simultaneously bluish-green and other certain colors bar codes or Quick Response Code is all suitable for.That is, green during bar code can be quickly recognized in this way Vitta and blue bar.
According to a kind of implementation method of bar code scan recognition methods of the invention, using only Imageing sensor with blue channel and green channel receives the reflected light of the bar code, described mixed Blue light in closing light corresponds to the blue channel, and the green light in the mixed light corresponds to institute State green channel.
According to a kind of implementation method of bar code scan recognition methods of the invention, the indigo plant Chrominance channel is distributed in the same row at some intervals, and the green channel is positioned adjacent to blue channel One row.
According to a kind of implementation method of bar code scan recognition methods of the invention, the indigo plant Chrominance channel is distributed in the same a line at some intervals, and the green channel is positioned adjacent to blue channel Another row.
According to a kind of implementation method of bar code scan recognition methods of the invention, the indigo plant Chrominance channel is diagonally distributed, and the green channel is along perpendicular to the another of the blue channel direction Pair of horns directional spreding.
According to a kind of implementation method of bar code scan recognition methods of the invention, the side Method also includes:White light is used to irradiate the bar code to form the reflected light.
The second aspect of the present invention provides a kind of bar code scan identifying device, wherein, the bar Code is the bar code with least two colouring informations formed on the basis of one-dimensional bar code, the bar code Scanning recognition device includes:Imageing sensor, described image sensor is logical with least two colors Road, described image sensor is used to receive the reflected light of the bar code and according to each Color Channel institute The light luminance of reception recognizes the data message that the bar code is included.
According to a kind of implementation method of bar code scan identifying device of the invention, the bar code At least two colouring information at least one that includes in blue and green, described image sensing Utensil has blue channel and green channel.
According to a kind of implementation method of bar code scan identifying device of the invention, the bar code Scanning recognition device also includes the first compensatory light, first compensatory light be used to launching it is blue and The mixed light of green, to irradiate the bar code and form the reflected light.
According to a kind of implementation method of bar code scan identifying device of the invention, only with indigo plant The described image sensor of chrominance channel and green channel is used to receive the reflected light of the bar code, Blue light in the mixed light corresponds to the blue channel, the green light pair in the mixed light Green channel described in Ying Yu.
According to a kind of implementation method of bar code scan identifying device of the invention, the blueness Passage is distributed in the same row at some intervals, and the green channel is positioned adjacent to the one of blue channel Row.
According to a kind of implementation method of bar code scan identifying device of the invention, the blueness Passage is distributed in the same a line at some intervals, and the green channel is positioned adjacent to the another of blue channel A line.
According to a kind of implementation method of bar code scan identifying device of the invention, the blueness Passage is diagonally distributed, and the green channel is along perpendicular to the another of the blue channel direction Diagonally opposed distribution.
According to a kind of implementation method of bar code scan identifying device of the invention, the bar code Scanning recognition device also includes the second compensatory light, and second compensatory light is used to launch white Light, to irradiate the bar code and form the reflected light.
In sum, bar code scan recognition methods of the invention and bar code scan identifying device The data message included in colour barcode can in a straightforward manner be determined.
Brief description of the drawings
Embodiments of the invention are explained further with reference to following accompanying drawing and explanation, wherein:
Fig. 1 shows a kind of schematic diagram of the Color Channel of the imageing sensor in barcode scanning gun;
Fig. 2 shows the bar code scan recognition methods of an implementation method of the invention Flow chart;
Fig. 3 is shown in the bar code scan identifying device of an implementation method of the invention The schematic diagram of the Color Channel of imageing sensor;
Fig. 4 is shown in bar code scan identifying device according to another implementation of the invention Imageing sensor Color Channel schematic diagram;And
Fig. 5 is shown in the bar code scan identifying device of yet another embodiment of the invention Imageing sensor Color Channel schematic diagram.
Specific embodiment
In the specific descriptions of following preferred embodiment, will be a part of with reference to the present invention is constituted Appended accompanying drawing.Appended accompanying drawing be illustrated by way of example can realize it is of the invention Specific embodiment.The embodiment of example is not intended as limit all implementations of the invention Example.It is appreciated that without departing from the scope of the present invention, it is possible to use other implementations Example, it is also possible to carry out structural or logicality modification.Therefore, specific descriptions below are simultaneously It is nonrestrictive, and the scope of the present invention is defined by the claims appended hereto.
In order to recognize the color of the bar in colour barcode, it is necessary to using with multiple color passage Imageing sensor.For example there can be three kinds of imageing sensors of Color Channel using known Barcode scanning gun.Fig. 1 shows the signal of the Color Channel of the imageing sensor in this barcode scanning gun Figure.
As shown in figure 1, for colour barcode, it is necessary to using (green with R (red), G Color), three sensors of passage of B (blueness), that is, there is specific module to absorb red band Light, specific module absorbs the light of green band, and specific module absorbs the light of blue wave band. Traditional sensor photosensitive array is referred to as Bayer arrays, i.e., represent one by four photo-sensitive cells The RGB combination of individual pixel, it is green band photo-sensitive cell to have two in this four photo-sensitive cells, One is blue wave band photo-sensitive cell, and one is red band photo-sensitive cell.
Fig. 2 shows the bar code scan recognition methods of an implementation method of the invention Flow chart.
As shown in Fig. 2 in step s 201, there is provided formed on the basis of one-dimensional bar code The bar code with least two colouring informations.
Preferably, at least two colouring informations of the bar code include at least in blue and green Kind.For example include blue, green, blue and other certain colors, green and other certain face Color and include the bar code of bluish-green and other certain colors simultaneously, for example preferably include it is blue, Green and black, or blue, green and brown.Wherein, reflection of the blue bar to blue light is strong, Reflection of the green bar to green glow is strong.When bluish-green light source is radiated in polychrome bar code, green bar is only anti- The light of green band is penetrated, sensor is most strong in the green band reflected light that relevant position receives, Blue wave band reflected light is theoretically zero;The light of blue bar reflection blue wave band, sensor exists The blue wave band reflected light that relevant position receives is most strong, and green band reflected light is theoretically Zero;The bar of non-blue green is not due to reflecting blue light green glow, therefore sensor connects in relevant position The blue wave band reflected light and green band reflected light for receiving are zero in theory;White space meeting The light of reflection blue wave band and the light of green band, therefore sensor receives on relevant position Blue wave band reflected light and green band reflected light it is more strong.Therefore bluish-green light source scanning Rifle can show blue bar in polychrome bar code with green bar in brightness of image, i.e., blue Bar can be higher than the bar of other colors with the brightness of green bar, but still can be less than white space Brightness.
In step S202, received using the imageing sensor with least two Color Channels The reflected light of the bar code.
Preferably, using with or only there is the imageing sensor of blue channel and green channel To receive the reflected light of bar code.The blue channel is used to receiving blue light in mixed light, and the green Passage is used to receive the green glow in mixed light.Because can not be used in bar code according to GB Red channel in red, therefore traditional Bayer array does not work actually, can make on the contrary Into the waste on area.Therefore cancel red channel, strengthen only with blue, green passage to it is blue, The absorption of green glow.
In step S203, according to institute in the light luminance identification bar code that each Color Channel is received Comprising data message.
Additionally, the method shown in Fig. 2 can also include being shone using blue and green mixed light The step of bar code is penetrated to form reflected light.This sweeps with traditional use white light or the monochromatic of feux rouges Code scheme compares the speed that improve and identify blue bar or green bar.However, of the invention Method also can irradiate bar code using traditional white light.
Method corresponding to being shown in Fig. 2, present invention provides a kind of identification of bar code scan Device.It includes the imageing sensor with least two Color Channels, such as with blue channel With the imageing sensor of green channel.The imageing sensor is used to receive the reflected light and root of bar code The light luminance that is received according to each Color Channel recognizes the data message that bar code is included.Additionally, The bar code scan identifying device also includes the first compensatory light and/or the second compensatory light.This first Compensatory light is used to launch blue and green mixed light, and second compensatory light is used to launch White light.
Fig. 3 is shown in the bar code scan identifying device of an implementation method of the invention The schematic diagram of the Color Channel of imageing sensor.
As shown in figure 3, blue channel is distributed in the same row at some intervals, and green channel position In the row adjacent to blue channel.Specifically, first row and the 3rd row in be disposed with eight it is green Chrominance channel, and it is disposed with eight blue channels in secondary series and the 4th row.That is green channel and indigo plant Chrominance channel is respectively distributed at least one row being spaced.
Fig. 4 is shown in bar code scan identifying device according to another implementation of the invention Imageing sensor Color Channel schematic diagram.
As shown in figure 4, blue channel is distributed in the same a line at some intervals, and green channel position In another row adjacent to blue channel.Specifically, eight are disposed with the first row and the third line Green channel, and eight blue channels are disposed with the second row and fourth line.I.e. green channel and Blue channel is respectively distributed at least one row being spaced.
Fig. 5 further illustrates the bar code scan identification of yet another embodiment of the invention The schematic diagram of the Color Channel of the imageing sensor in device.
As shown in figure 5, blue channel is diagonally distributed, and green channel is along perpendicular to indigo plant Another diagonally opposed distribution in chrominance channel direction.Specifically, a diagonal and with the diagonal Separately and eight blue channels are set on parallel parallel lines, and in another diagonal and With another diagonal separately and eight green channels are set on parallel parallel lines.
Although showing the specific of eight blue channels and eight green channels in Fig. 3 to Fig. 5 Arrangement mode, but this is not limiting upon the present invention.Blue channel and green channel it is any number of With arbitrary arrangement mode all within protection scope of the present invention.
Although the foregoing describing specific embodiment of the invention, technology in the art Personnel can within the scope of the appended claims make various changes and modifications.

Claims (16)

1. a kind of bar code scan recognition methods, it is characterised in that methods described includes:
- bar code with least two colouring informations formed on the basis of one-dimensional bar code is provided;
- using the reflection of the imageing sensor reception bar code with least two Color Channels Light;And
- the light luminance received according to each Color Channel recognizes the data message that the bar code is included.
2. bar code scan recognition methods according to claim 1, it is characterised in that described At least two colouring informations of bar code include at least one in blue and green, using with blueness The imageing sensor of passage and green channel receives the reflected light of the bar code.
3. bar code scan recognition methods according to claim 2, it is characterised in that described Method also includes:
- bar code described in blue and green mixing light irradiation is used to form the reflected light.
4. bar code scan recognition methods according to claim 3, it is characterised in that use Only there is the reflected light of the imageing sensor reception bar code of blue channel and green channel, it is described Blue light in mixed light corresponds to the blue channel, and the green light in the mixed light corresponds to The green channel.
5. bar code scan recognition methods according to claim 4, it is characterised in that described Blue channel is distributed in the same row at some intervals, and the green channel is positioned adjacent to blue channel A row.
6. bar code scan recognition methods according to claim 4, it is characterised in that described Blue channel is distributed in the same a line at some intervals, and the green channel is positioned adjacent to blue channel Another row.
7. bar code scan recognition methods according to claim 4, it is characterised in that described Blue channel is diagonally distributed, and the green channel is along perpendicular to the blue channel direction Another diagonally opposed distribution.
8. bar code scan recognition methods according to claim 1, it is characterised in that described Method also includes:
- bar code described in white light irradiation is used to form the reflected light.
9. a kind of bar code scan identifying device, it is characterised in that the bar code is one-dimensional bar code On the basis of formed the bar code with least two colouring informations, the bar code scan identifying device bag Include:
Imageing sensor, described image sensor has at least two Color Channels, and described image is passed Sensor is used to receiving the reflected light of the bar code and bright according to the light that each Color Channel is received Spend to recognize the data message that the bar code is included.
10. bar code scan identifying device according to claim 9, it is characterised in that described At least two colouring information of bar code includes at least one in blue and green, described image Sensor has blue channel and green channel.
11. bar code scan identifying devices according to claim 10, it is characterised in that institute Stating bar code scan identifying device also includes the first compensatory light, and first compensatory light is used to launch Blue and green mixed light, to irradiate the bar code and form the reflected light.
12. bar code scan identifying devices according to claim 11, it is characterised in that only Described image sensor with blue channel and green channel is used to receive described in the bar code Reflected light, the blue light in the mixed light corresponds to the blue channel, in the mixed light Green light corresponds to the green channel.
13. bar code scan identifying devices according to claim 12, it is characterised in that institute The same row that blue channel is distributed in some intervals is stated, the green channel is positioned adjacent to blue logical One row in road.
14. bar code scan identifying devices according to claim 12, it is characterised in that institute Same a line that blue channel is distributed in some intervals is stated, the green channel is positioned adjacent to blue logical Another row in road.
15. bar code scan identifying devices according to claim 12, it is characterised in that institute State blue channel to be diagonally distributed, the green channel is along perpendicular to the blue channel direction Another diagonally opposed distribution.
16. bar code scan identifying devices according to claim 9, it is characterised in that described Bar code scan identifying device also includes the second compensatory light, and second compensatory light is used to launch white Coloured light, to irradiate the bar code and form the reflected light.
CN201511008978.3A 2015-12-29 2015-12-29 Bar code scan recognition methods and device Pending CN106934317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511008978.3A CN106934317A (en) 2015-12-29 2015-12-29 Bar code scan recognition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511008978.3A CN106934317A (en) 2015-12-29 2015-12-29 Bar code scan recognition methods and device

Publications (1)

Publication Number Publication Date
CN106934317A true CN106934317A (en) 2017-07-07

Family

ID=59457630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511008978.3A Pending CN106934317A (en) 2015-12-29 2015-12-29 Bar code scan recognition methods and device

Country Status (1)

Country Link
CN (1) CN106934317A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729789A (en) * 2017-09-04 2018-02-23 华南理工大学 A kind of express delivery list based on Cultural Differences color makes and bar code positioning identifying method
CN113432285A (en) * 2021-06-28 2021-09-24 珠海格力电器股份有限公司 Air conditioner networking method, networking device, remote controller and air conditioner system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1699978A (en) * 2004-05-11 2005-11-23 诺信公司 Apparatus and methods for high speed RGB color discrimination
CN103024305A (en) * 2012-12-27 2013-04-03 上海集成电路研发中心有限公司 Improved pixel array
CN103258224A (en) * 2012-02-21 2013-08-21 冯石文 Color bar code and color two-dimensional code
CN103327342A (en) * 2012-03-19 2013-09-25 普廷数码影像控股公司 Imaging systems with clear filter pixels
CN104243864A (en) * 2013-06-24 2014-12-24 格科微电子(上海)有限公司 Image data reading method for image sensor
CN104272071A (en) * 2012-02-17 2015-01-07 卡勒格锐研究有限公司 Method and device for measuring the colour of an object

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1699978A (en) * 2004-05-11 2005-11-23 诺信公司 Apparatus and methods for high speed RGB color discrimination
CN104272071A (en) * 2012-02-17 2015-01-07 卡勒格锐研究有限公司 Method and device for measuring the colour of an object
CN103258224A (en) * 2012-02-21 2013-08-21 冯石文 Color bar code and color two-dimensional code
CN103327342A (en) * 2012-03-19 2013-09-25 普廷数码影像控股公司 Imaging systems with clear filter pixels
CN103024305A (en) * 2012-12-27 2013-04-03 上海集成电路研发中心有限公司 Improved pixel array
CN104243864A (en) * 2013-06-24 2014-12-24 格科微电子(上海)有限公司 Image data reading method for image sensor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙颖: "物联网核心技术及应用", 《物联网核心技术及应用 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729789A (en) * 2017-09-04 2018-02-23 华南理工大学 A kind of express delivery list based on Cultural Differences color makes and bar code positioning identifying method
CN113432285A (en) * 2021-06-28 2021-09-24 珠海格力电器股份有限公司 Air conditioner networking method, networking device, remote controller and air conditioner system

Similar Documents

Publication Publication Date Title
CN103177279B (en) Four-dimensional color bar code for high capacity data encoding and decoding
US20220327302A1 (en) Data matrix code, generating method and device thereof, and decoding method and device thereof
EP1003027B1 (en) Device for optical sheet wrapping inspection
CN105865630A (en) Colorimetry system for display testing
CN108449958A (en) Systems and methods for color detection in high throughput nucleic acid sequencing systems
AR016026A1 (en) METHOD AND APPLIANCE FOR RECOGNITION OF COLOR OBJECTS
CN104181546B (en) Color information acquisition and display method of color three-dimensional scanning laser radar
CN101673412B (en) Light template matching method of structured light three-dimensional vision system
CN104221053A (en) Shape reflector and surface contour mapping
CN103389162B (en) A kind of reflecting object color measurement instrument utilizing color digital camera
CN106679808A (en) Correlated imaging system and method based on compressed spectrum
CN104581100A (en) Color filter array and image processing method
CN204422964U (en) Projection imaging system
CN106934317A (en) Bar code scan recognition methods and device
CN110910372A (en) Deep convolutional neural network-based uniform light plate defect detection method
CN104637425A (en) Assembly-line LED (light emitting diode) display unit uniformity detection method, system and device
CN101563650A (en) Colour sequential flash for digital image acquisition
CN101937505A (en) Target detection method and equipment and used image acquisition device thereof
CN110662273A (en) Network distribution method, network distribution system and robot
Wang et al. Point-by-point visual enhancement with spatially and spectrally tunable laser illumination
CN113962238B (en) Light supplementing light source and identification code scanning device
JPH06288936A (en) Foreign matter inspection method
CN104408749A (en) Quick infrared colorful night vision realization method based on color mixing
JP4392268B2 (en) Surface inspection device
CN107079072B (en) The intercrossed calibration of imager

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170707