CN102521558B - Bar code identifying method and device - Google Patents

Bar code identifying method and device Download PDF

Info

Publication number
CN102521558B
CN102521558B CN201110367610.1A CN201110367610A CN102521558B CN 102521558 B CN102521558 B CN 102521558B CN 201110367610 A CN201110367610 A CN 201110367610A CN 102521558 B CN102521558 B CN 102521558B
Authority
CN
China
Prior art keywords
bar code
boundary rectangle
image
bar
dimension
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.)
Expired - Fee Related
Application number
CN201110367610.1A
Other languages
Chinese (zh)
Other versions
CN102521558A (en
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 PORCHESOM TECHNOLOGIES Co Ltd
Original Assignee
SHENZHEN PORCHESOM TECHNOLOGIES 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 PORCHESOM TECHNOLOGIES Co Ltd filed Critical SHENZHEN PORCHESOM TECHNOLOGIES Co Ltd
Priority to CN201110367610.1A priority Critical patent/CN102521558B/en
Publication of CN102521558A publication Critical patent/CN102521558A/en
Application granted granted Critical
Publication of CN102521558B publication Critical patent/CN102521558B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applicable to the technical field of bar code identification and provides a bar code identifying method and device. The bar code identifying method comprises the following steps of: obtaining a binary bar code image to be identified and coordinates of a plurality of scanning original points of the image; respectively scanning the image in an up direction, a down direction, a left direction and a right direction row by row and column by column from each scanning original point according to a pre-set sequence of a plurality of the scanning original points, so as to obtain a circumscribed rectangle of a bar code in the image; and judging and obtaining a dimension quantity of the bar code according to the characteristics of the circumscribed rectangle and/or characteristics information of the bar code in the circumscribed rectangle. The purpose of identifying and judging the bar code with an unknown dimension quantity is realized, and the identification property is improved.

Description

A kind of bar code recognition and device
Technical field
The invention belongs to Bar Code field, relate in particular to a kind of bar code recognition and device.
Background technology
Barcode technology is the emerging technology that integrates coding, printing, identification, data acquisition and processing (DAP) growing up in infotech and Fundamentals of Computer Technology.Due to its fast recognition, accurate, reliable and low cost and other advantages, be widely used in the fields such as business, taking care of books, warehouse, post and telecommunications, traffic and Industry Control, and certainly will in " Internet of Things " application of rising gradually, bring into play great effect.
Common electronics bar code is the bar code extensively adopting, the coding standard in the world it being carried out has EAN-8, EAN-13, the various coding standards such as UPC-A and UPC-E, these standard application are quite extensive, yet its quantity of information including is quite few, it is only limited to and uses numeral, in the epoch of this information explosion, does not re-use.Progress along with infotech and hardware advances, make us be expanded the capacity of electronic bar code, thereby standard and the technology of two-dimensional bar code have been produced, the international standard of common two-dimensional bar code has the various standards such as PDF417, Data Matrix, MaxiCode and QR Code, except numeral and outer symbol, some coded system can also add various countries' spoken and written languages collection.At present, approximately there are in the world 225 kinds of above one-dimensional bar codes, every kind of bar code has a set of coding specification of oneself, to stipulate that each letter (may be word or numeral) is comprised of several lines (Bar) and several blank (Space), and the arrangement of letter.General more popular bar code has 39 yards, EAN code, and UPC code, 128 yards, and the ISBN that is specifically designed to books and periodicals management, ISSN etc.
Existing bar code recognition generally can only to known be that the bar code of one dimension or two dimension is identified, or only one, two of one dimension or two-dimensional bar code type of bar code is identified to judgement, and recognition performance is not high.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of bar code recognition and device, and be not intended to solve because prior art has to realize the bar code of unknown dimension is identified to judgement, and the not high problem of recognition performance.
The embodiment of the present invention is achieved in that a kind of bar code recognition, and described method comprises the steps:
Obtain bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of described image;
According to the order of default described a plurality of scan start points, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in described image;
According to the characteristic information of bar code in the feature of described boundary rectangle and/or described boundary rectangle, the dimension of described bar code is obtained in judgement.
Another object of the embodiment of the present invention is to provide a kind of bar code identifying device, and described device comprises:
Scan start point acquiring unit, for obtaining bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of described image;
Boundary rectangle acquiring unit, order for the described a plurality of scan start points according to default, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in described image; And
Dimension acquiring unit, for according to the characteristic information of the feature of described boundary rectangle and/or described boundary rectangle bar code, judges the dimension that obtains described bar code.
The embodiment of the present invention is by obtaining bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of this image, according to the order of default the plurality of scan start point, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scans by column, and obtains the boundary rectangle of bar code in this image; According to the characteristic information of bar code in the feature of this boundary rectangle and/or this boundary rectangle, the dimension of this bar code is obtained in judgement, do not solved because prior art has to realize the bar code of unknown dimension has been identified to judgement, and the problem that recognition performance is not high, thereby can automatically identify bar code dimension, recognition performance is also improved.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the bar code recognition that provides of first embodiment of the invention;
Fig. 2 is the realization flow figure of the bar code recognition that provides of first embodiment of the invention;
Fig. 3 is the schematic diagram of the bar code that provides of the embodiment of the present invention;
Fig. 4 a, 4b are respectively the bar code that provides of the embodiment of the present invention and the schematic diagram of two-dimensional bar code;
Fig. 5 is the realization flow figure of the bar code recognition that provides of first embodiment of the invention;
Fig. 6 be in the bar code recognition that provides of second embodiment of the invention optimal brightness value obtain process flow diagram;
Fig. 7 is the realization flow figure of the bar code recognition that provides of third embodiment of the invention;
Fig. 8 is the structural drawing of the bar code identifying device that provides of fourth embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention is by obtaining the boundary rectangle of image to be identified, according to the characteristic information of bar code in this boundary rectangle and/or this boundary rectangle, obtain the dimension of bar code in this image, realize the identification judgement of the bar code of unknown dimension being identified to a plurality of bar codes that judge and piece image is comprised, also made recognition performance be improved.
The embodiment of the present invention provides a kind of bar code recognition, and described method comprises the steps:
Obtain bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of described image;
According to the order of default described a plurality of scan start points, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in described image;
According to the characteristic information of bar code in the feature of described boundary rectangle and/or described boundary rectangle, the dimension of described bar code is obtained in judgement.
The embodiment of the present invention also provides a kind of bar code identifying device, and described device comprises:
Scan start point acquiring unit, for obtaining bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of described image;
Boundary rectangle acquiring unit, order for the described a plurality of scan start points according to default, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in described image; And
Dimension acquiring unit, for according to the characteristic information of the feature of described boundary rectangle and/or described boundary rectangle bar code, judges the dimension that obtains described bar code.
The embodiment of the present invention is by obtaining bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of this image, according to the order of default the plurality of scan start point, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scans by column, and obtains the boundary rectangle of bar code in this image; According to the characteristic information of bar code in the feature of this boundary rectangle and/or this boundary rectangle, the dimension of this bar code is obtained in judgement, realize the identification judgement of the bar code of unknown dimension being identified to a plurality of bar codes that judge and piece image is comprised, also improved the object of recognition performance.
Below in conjunction with specific embodiment, specific implementation of the present invention is described in detail:
Bar code claims again linear bar code, a plurality of " bars " that are arranged in parallel and " sky " unit, consists of, and bar code information relies on bar and empty different in width and position to express.Two-dimensional bar code is comprised of the chequered with black and white particular geometric figure distributing on two-dimensional directional according to certain rules, its can be on two-dimensional directional expressing information.Two-dimensional bar code can be divided into determinant two-dimensional bar code and matrix two-dimensional barcode.Determinant two-dimensional bar code is that representational determinant two-dimensional bar code comprises PDF417, Code49, Code 16k etc. by stacking the forming of bar code of multirow cutting back.Determinant two-dimensional barcode information method for expressing and bar code are similar, are also to rely on bar and empty different in width and position to express.Matrix two-dimensional barcode is to be comprised of black, the white module being distributed in by pre-defined rule in matrix, and representational matrix two-dimensional barcode comprises QR code, Data Matrix code, Maxi code, Aztec code, Chinese letter co etc.
embodiment mono-:
Fig. 1 shows the realization flow of the bar code recognition that first embodiment of the invention provides, and details are as follows:
In step S101, obtain bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of this image.
In specific implementation process, first from camera, obtain colour barcode image to be identified, and this colour barcode image is carried out to gray processing processing, then obtain this image after gray processing is processed, calculate the histogram of this image, because bar code is generally that black brightness and white brightness form, in this histogram, will occur near the crest of black luminance area and the crest in a close white brightness region, therefore can determine two peak-to-peak optimal brightness values of ripple, to this Image Segmentation Using, if the distance of two peak values is more approaching, be less than default distance value, think that the contrast of this image is inadequate, there is not the condition of bar code, two peak values are distant, think and have bar code, obtain certain the optimal brightness value in the middle of these two peak values, using this value as the judgment threshold of image binaryzation, the gray-scale value that is greater than threshold value in image is made as to 1, otherwise be 0, thereby obtain the image to be identified after binary conversion treatment, and then can obtain a plurality of scan start point coordinates of this image, a plurality of scan start point coordinates of this image comprise the center point coordinate of described image etc., for example with (Xc, Yc), represent the coordinate of this central point.Particularly, first need bar code image to be identified to preset the piecemeal of number, obtain the central point of each piece image after piecemeal, after piecemeal, the central point of each piece image is the scan start point of this image, has obtained a plurality of scan start points of this image, in actual identifying, this bar code image to be identified can be divided into four, obtain the central point of these four block images after piecemeal, add the central point of this view picture image to be identified, can obtain 5 scan start points.
Particularly, obtain this as described in the optimal brightness value of image binaryzation or the following embodiment bis-of the detailed process of threshold value, but be not limited to the acquisition process of this embodiment, do not repeat them here.
In embodiments of the present invention, the white that is 1 due to existing one dimension or the two-dimensional bar code black that is 0 by gray-scale value and gray-scale value forms, and image is carried out after binary conversion treatment, then carry out obtaining and the judgement of dimension of bar code, makes result more accurate.
In step S102, according to the order of default the plurality of scan start point, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in this image.
Wherein, the order of the plurality of scan start point that this is default can need to preset according to user, such as can be using the central point of included this image to be identified of the plurality of scan start point as the first scan start point, other sort to remaining scan start point according to the order of the upper left of image, upper right, lower-left, bottom right.
This step S102 specifically comprises the following steps, and the center point coordinate of this image to be identified is (Xc, Yc), as shown in Figure 2:
In step S221, obtain the first scan start point of the plurality of scan start point.
In step S222, from this scan start point, this bar code image is lined by line scan, determine minimum ordinate and maximum ordinate.
Particularly, take the initial point (0,0) that the upper left corner of image is coordinate system X-Y, level is to the right directions X, and abscissa value increases from left to right gradually, and vertical direction is Y-direction, and ordinate increases from top to bottom gradually.From scan start point (horizontal scanning) this image that starts down to line by line scan, ordinate value increases gradually, add line by line 1, according to scanning sequency, calculate on direction of scanning and in every a line image, occur that pixel value is the number of 1 (representing white) continuously, if this number is greater than default pixel threshold, this default pixel threshold can be 1/4 of the total number of the every one-row pixels of this bar code image, think the border of bar code, bar code is around white portion, the ordinate that now this row is corresponding is maximum ordinate Ymax value, otherwise continues scanning, obtains this Ymax.Equally, from scan start point, start this image of up lining by line scan, ordinate value is gradually less, subtract line by line 1, according to scanning sequency, calculate on direction of scanning in every a line image, occur that pixel value is the number of 1 (representing white) continuously, if this number is greater than default pixel threshold, this default pixel threshold can be 1/4 of the total number of pixel of the every a line of image, think the border of bar code, bar code is around white portion, and now the ordinate of this row is minimum ordinate Ymin value.
In specific implementation process, the transverse horizontal bar code that is one dimension for barcode types, Ymax value and the Ymin value scope now obtained are less, and for vertical vertical bar code or the two-dimensional bar code of one dimension, Ymax value and the Ymin value scope now obtained are larger.
In step S223, from this scan start point, this image is scanned by column, determine minimum horizontal ordinate and maximum horizontal ordinate.
Particularly, from this scan start point, start to turn left and scan by column (vertical scanning) this image, abscissa value reduces gradually, subtract by column 1, according to scanning sequency, calculate on direction of scanning in each row image, occur that pixel value is the number of 1 (representing white) continuously, if this number is greater than default pixel threshold, this default pixel threshold can be 1/4 of the total number of pixel of each row of image, think the border of bar code, bar code is around white portion, and now the horizontal ordinate of these row is minimum horizontal ordinate Xmin.Equally, from this scan start point, starting to turn right scans by column (vertical scanning) this image, and abscissa value increases gradually, adds by column 1, according to above-mentioned condition, can obtain maximum abscissa value Xmax.
In specific implementation process, the vertical vertical bar code that is one dimension for barcode types, Xmax value and the Xmin value scope now obtained are less, and for transverse horizontal bar code or the two-dimensional bar code of one dimension, Xmax value and the Xmin value scope now obtained are larger.
In step S224, according to the maximum horizontal ordinate obtaining, minimum horizontal ordinate, maximum ordinate, minimum ordinate, obtain and preserve the boundary rectangle of this bar code.
Particularly, take (Xmin, Ymin), (Xmax, Ymin), (Xmin, Ymax), (Xmax, Ymax) as tetragonal four summits, determine boundary rectangle.
In step S225, judge whether this scan start point is last scan start point of the plurality of scan start point, is, performs step S227, exits, no, perform step S226.
In step S226, obtain next scan start point of the plurality of scan start point, and return to execution step S222.
In embodiments of the present invention, this bar code recognition is supported the identification of a plurality of bar codes in piece image, while there is a plurality of bar code in this image, utilizes above-mentioned steps S221 to S227 can obtain the boundary rectangle of each bar code in this image.In addition, if user only need to identify near the bar code this picture centre to be identified, can set and using the central point of included this image to be identified of the plurality of scan start point as the first scan start point, thereby just directly exit after obtaining first boundary rectangle, carry out following step S103, can obtain near the boundary rectangle of the bar code in these other positions of image to be identified according to actual needs equally, thereby improve recognition efficiency.
In step S103, according to the characteristic information of bar code in the feature of this boundary rectangle and/or this boundary rectangle, the dimension of this bar code is obtained in judgement.
In specific implementation process, the length of the feature bag boundary rectangle of this boundary rectangle, high, the length of this boundary rectangle refers to the length of boundary rectangle on directions X or the distance between Xmax and Xmin, the height of boundary rectangle refers to length Ymax in the Y direction of boundary rectangle and the distance between Ymin, after obtaining the boundary rectangle of bar code, if the length of this boundary rectangle (distance between Xmax and Xmin) is less than default length value, or the height of this boundary rectangle (distance between Ymax and Ymin) is while being less than default height value, think that this bar code is not two-dimensional bar code, the dimension of determining this bar code is one, when the length of this boundary rectangle is less than default length value, and the higher primary school of this boundary rectangle is when default height value, thinks and does not have bar code, when the length of this boundary rectangle is less than default length value, and this boundary rectangle is tall and big when default height value, thinks that this bar code is vertical-type bar code, as shown in Figure 3, when the higher primary school of this boundary rectangle is in default height value, and growing up when default length value of this boundary rectangle thinks that this bar code is horizontal type bar code, rather than two-dimensional bar code, if growing up in default length value of this boundary rectangle, and this boundary rectangle is tall and big when default height value, need to determine further combined with the characteristic information of this bar code the dimension of this bar code, the characteristic information of this bar code refers to the empty width information of the bar of this bar code, comprise the empty width value of bar, the empty distributed intelligences of bar etc., this empty distributed intelligence refers to whether the empty distribution of the bar of any 2 row or multirow is mutually equal.
Particularly, if growing up in default length value of this boundary rectangle, and this boundary rectangle is tall and big when default height value, can be at random any 2 row or 2 row bar codes in vertical or this boundary rectangle of horizontal scanning repeatedly, if exist in this 2 row bar code in the empty width information of identical bar or this 2 row bar code and have the empty width information of identical bar, think that this bar code is bar code, as shown in Fig. 4 a, if and the empty width of each row bar is substantially equal, thinks that bar code is level; If the empty width of each row bar equates substantially, think that bar code is vertical, otherwise think that this bar code is two-dimensional bar code, as shown in Figure 4 b, the number of times of this scanning can need to set according to user, and scanning times is more, the reliability of data is more stable, and judged result is more accurate.
In addition, after definite this bar code is bar code, according to the direction of the bar ceases to be busy of the empty width of bar identical in these 2 row or 2 row bar codes, if the direction of this ceases to be busy is vertical or deflection vertical direction, when bar code kind is judged afterwards, can only carry out vertical scanning, specifically can carry out from top to bottom and vertical alternate sweep from top to bottom every row, just can determine the type of this bar code, equally, if the direction of this ceases to be busy is level or deflection horizontal direction, when bar code kind is judged afterwards, can only carry out horizontal scanning, specifically can interlacing carry out from left to right and horizontal alternate sweep from right to left, thereby no matter bar code is along putting, falling and putting, rotating and putting, can identify its type, make this method of determining the type of this bar code there is stronger adaptability, and can improve the recognition speed of barcode types.
In embodiments of the present invention, this bar code recognition is supported the identification of a plurality of bar codes in piece image, while there is a plurality of bar code in this image, according to the order that the plurality of bar code detected, the dimension of the plurality of bar code is obtained in judgement, particularly, first need bar code image to be identified to preset the piecemeal of number, such as being divided into five, obtain the central point of each piece image after piecemeal, bar code image to be identified is being carried out after binary conversion treatment, from the central point of each piece image, also from scan start point, upwards, under, left, right four direction carries out line by line this image respectively and scans by column, obtain the boundary rectangle of each bar code in this image, then obtain one by one the characteristic information of bar code in the feature of boundary rectangle of this each bar code and/or this boundary rectangle, according to the characteristic information judgement of bar code in the feature of the boundary rectangle of each bar code and/or this boundary rectangle, obtain the dimension of this bar code, due to identification piece image comprise a plurality of bar code time, in advance bar code image is preset the piecemeal of number, obtain again central point or the scan start point of each piece image after piecemeal, can guarantee that obtained scan start point drops in the plurality of bar code, thereby can carry out next step bar code dimension identification, also make the method can adapt to the application scenarios of multiple bar code, there is stronger adaptivity.
This bar code recognition is further comprising the steps of, as shown in Figure 5:
In S501, when the dimension of this bar code of judgement is while being one dimension, according to the characteristic information of bar code in this boundary rectangle, or this image is carried out to the empty information of bar obtained after pre-service, in the default multiple barcode types table of judgement, whether there is the empty information of bar of coupling.
Particularly, after definite this bar code is bar code, according to the characteristic information of bar code in this boundary rectangle having obtained, can judge the empty information of bar that whether has coupling in default multiple barcode types table, as judged after definite this bar code is bar code, also can adopt 1 dimension image edge processing method to process the pretreatment operation such as this bar code image and automatic noise removal function, to obtain more accurately the empty information of bar of this bar code, this empty information is for by carrying out the characteristic information of the multirow bar sky that vertical or horizontal scanning etc. obtain according to the direction of bar ceases to be busy to this bar code, also further obtain the empty width information of bar of this bar code after pre-service and the direction of bar ceases to be busy.
Wherein, this default multiple barcode types table is pre-configured before identification bar code, dispose polytype bar code and corresponding bar code feature, to facilitate when carrying out the identification of bar code, use, and the bar code that user can add other types as required at any time, to the type table, has good extendability.In this table, each barcode types is placed the frequency sequence according to the barcode types of using, also configure the detection identification priority level of each bar code, make the bar code detecting in present image, when the priority of its configuration is the highest, after obtaining the type of this bar code, needn't continue to detect the bar code of type below, thereby improve bar-code identification speed.
In S502, when there is the empty information of bar of coupling, obtain the barcode types corresponding with the empty information of bar of this coupling.
In S503, according to this barcode types, this bar code is identified, and exported recognition result.
In specific implementation process, if the bar code of present image is ean13, carry out the bar-code identification of ean13 type, Fig. 3 is ean13 type bar code image.According to the empty width information of the bar of this bar code multirow, determine final types results, and by this result output.
In embodiments of the present invention, the determination methods of this bar code type is by first carrying out pre-service to bar code, as rim detection, denoising etc., carry out again according to the fine scanning of bar ceases to be busy direction, obtain the empty information of bar, in conjunction with this empty information and the multiple barcode types table of presetting, obtain the types results of bar code, bar-code identification precision is improved, and misclassification rate is reduced.
This bar code recognition also comprises the type determining step to two-dimensional bar code, described in the following embodiment tri-of its specific implementation process, does not repeat them here.
embodiment bis-:
Fig. 6 shows the flow process of obtaining of optimal brightness value in the bar code recognition that second embodiment of the invention provides, be specially coloured image to be identified is carried out to gray processing processing, obtain after the histogram of this gray level image, this image is carried out to binary conversion treatment (two-value is 0,1), obtain as the optimal brightness value of binaryzation or the process of threshold value, but the acquisition process that is not limited to this embodiment, details are as follows:
In step S601, obtain the first peak value and the first gray-scale value corresponding to this first peak value in this histogram.
Particularly, for there is the number of maximum a certain gray-scale values in this gray level image in this first peak value, also i.e. maximal value in this histogram, with maxBucketCount, represent, and obtain the first gray-scale value corresponding to this maximal value, also in this gray level image, there is this maximum a certain gray-scale values, with firstPeak, represent.In addition, while there is more than one of maximum gray-scale value in this gray level image, can get the corresponding peak value of gray scale that gray-scale value is less as the first peak value.
In step S602, obtain the second peak value and the second gray-scale value corresponding to this second peak value in this histogram.
Particularly, with i, represent other gray-scale values except gray-scale value firstPeak, distanceToBiggest represents that i is to the distance of firstPeak, also be gray value differences, histogram[i] represent the histogram value that this i is corresponding, also there is the number of gray-scale value i in this gray level image, utilize following formula (1) to obtain the peak value score[i that i is corresponding]:
score[i]=histogram[i]*distanceToBiggest ∧2 (1)
Thereby, utilize formula (1) can obtain peak value corresponding to every other gray-scale value except firstPeak, wherein the peak value of maximum is the second peak value in this histogram, and obtains the second gray-scale value that this second peak value is corresponding, with secondPeak, represents.
In step S603, when this first gray-scale value is greater than this second gray-scale value, exchange this first gray-scale value and this second gray-scale value.
Particularly, compare firstPeak and secondPeak, if firstPeak is greater than secondPeak, exchange this two data, to guarantee that firstPeak is small data, also make the brightness value that this firstPeak is corresponding less, near black, and secondPeak is near white portion.
In step S604, judge whether the difference of this second gray-scale value and this first gray-scale value is greater than default distance value, be continue execution step S605, otherwise execution step S606, to exit.
In embodiments of the present invention, the data of obtaining according to actual tests are known, with numBuckets, represent the maximum gradation value of this gray level image, if subtracting the value of firstPeak, secondPeak is less than or equal to (numBuckets/16), the contrast effect that this gray level image is described is bad, image carry out content represented after binaryzation can with true picture in have larger error, illustrate and in this image, do not have bar code, also even the distance of two peak values is more approaching, be less than default distance value numBuckets/16, think that the contrast of this image is inadequate, there is not the condition of bar code, now exit this bar-code identification process, otherwise continue execution step S605.
In step S605, according to this second gray-scale value and this first gray-scale value, determine the threshold value of best binaryzation.
Particularly, with j, be illustrated in the gray-scale value between this second gray-scale value secondPeak and this first gray-scale value firstPeak, fromFirst represents the distance of j and firstPeak, utilizes following formula (2) to obtain the trough value SCORE[j of j]:
SCORE[j]=fromFirst ∧2*(secondPeak-j)*(maxBucketCount-histogram[j]) (2)
Thereby, utilize formula (1) can obtain the corresponding trough value of gray-scale value between this second gray-scale value secondPeak and this first gray-scale value firstPeak, thereby determine that the wherein maximum corresponding gray-scale value of trough value is needed optimal brightness value or threshold value for image binaryzation.
In embodiments of the present invention, this method of obtaining optimal brightness value makes the more close white portion of this trough, rather than near black region, also larger as the threshold value of binaryzation, thereby make the better effects if of image binaryzation, it is more accurate to cut apart, and the image to be identified after binaryzation is closer to the represented content of real image, and then it is more accurate to make to obtain the result of bar code in image and the judgement of bar code dimension.
embodiment tri-:
Fig. 7 shows the flow process to the judgement of two-dimensional bar code type in the bar code recognition that third embodiment of the invention provides, and details are as follows:
In step S701, when the dimension of this bar code of judgement be when two dimension, judge in this boundary rectangle, whether exist with the multiple barcode types table of presetting in the feature that matches of the bar code feature of a type.
Wherein, this default multiple barcode types table is pre-configured before identification bar code, dispose polytype bar code and corresponding bar code feature, to facilitate when carrying out the identification of bar code, use, and user can add as required at any time or the bar code of other types to the type table, there is good extendability.In this table, each barcode types is placed the frequency sequence according to the barcode types of using, also configure the detection identification priority level of each bar code, make the bar code detecting in present image, when the priority of its configuration is the highest, after obtaining the type of this bar code, needn't continue to detect the bar code of type below, thereby improve bar-code identification speed.
In step S702, when there is the feature of coupling, obtain the barcode types corresponding with this feature.
In step S703, according to this barcode types, this bar code is identified, and exported recognition result.
In specific implementation process, when this bar code is two-dimensional bar code, first obtain the feature of the bar code of the first type (priority is the highest) in this default multiple barcode types table, whether judgement there is this feature of coupling in this boundary rectangle, be, the bar code of the first type (priority is the highest) in this default multiple barcode types table is the type of this bar code to be identified, exits identifying; No, continue to obtain the feature of next type of bar code in this default multiple barcode types table, continue to repeat above-mentioned steps, until exit while there is the feature of coupling, or in this bar code boundary rectangle, do not exist with default multiple barcode types table in all types of two-dimensional bar code features match feature time exit.
Concrete, such as, first the bar code of obtaining the first type (priority is the highest) in this default multiple barcode types table is QR code, the bar code of this QR code is characterized as position locator symbol, be divided in region or in All Ranges the periphery of 4 points of bar code boundary rectangle is little, position respectively the search of detector symbol, if can not find, search for the bar code feature of another kind of two-dimensional bar code.
In addition, also default multiple barcode types table can be carried out to classification configurations according to linear code and matrix bar code, in distinguishing the deterministic process of barcode types, can judge by level, first judge the feature that whether has linear code in this boundary rectangle, be, carry out the judgement of concrete a certain linear code feature, otherwise this bar code is matrix bar code, carry out equally the judgement of concrete a certain matrix bar code feature.After obtaining the type of bar code, this bar code is carried out to decoding according to prior art, the information being comprised to identify and to export bar code.
In embodiments of the present invention, this method to the judgement of two-dimensional bar code type combines the feature of bar code in default multiple barcode types table and boundary rectangle, carries out the judgement of barcode types and obtains, and improves bar-code identification speed.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
embodiment tetra-:
Fig. 8 shows the structure of the bar code identifying device that fourth embodiment of the invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
This bar code identifying device comprises scan start point acquiring unit 81, boundary rectangle acquiring unit 82 and dimension acquiring unit 83, wherein:
Scan start point acquiring unit 81, for obtaining bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of this image.
In embodiments of the present invention, first from camera, obtain coloured image to be identified, and this coloured image is carried out to gray processing processing, then obtain this image after gray processing is processed, calculate the histogram of this image, because bar code is generally that black brightness and white brightness form, in this histogram, will occur near the crest of black luminance area and the crest in a close white brightness region, therefore can determine two peak-to-peak optimal brightness values of ripple, to this Image Segmentation Using, if the distance of two peak values is more approaching, be less than default distance value, think that the contrast of this image is inadequate, there is not the condition of bar code, two peak values are distant, think and have bar code, obtain certain middle optimal brightness value of these two peak values, using this value as the judgment threshold of image binaryzation, the gray-scale value that is greater than threshold value in image is made as to 1, otherwise be 0, thereby utilize scan start point acquiring unit 81 to obtain image to be identified after binary conversion treatment and a plurality of scan start point coordinates of this image, a plurality of scan start point coordinates of this image comprise the center point coordinate of described image etc.Particularly, first need bar code image to be identified to preset the piecemeal of number, obtain the central point of each piece image after piecemeal, after piecemeal, the central point of each piece image is the scan start point of this image, has obtained a plurality of scan start points of this image, in actual identifying, this bar code image to be identified can be divided into four, obtain the central point of these four block images after piecemeal, add the central point of this view picture image to be identified, can obtain 5 scan start points.
Boundary rectangle acquiring unit 82, order for the plurality of scan start point according to default, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in this image.
In embodiments of the present invention, the order of the plurality of scan start point that this is default can need to preset according to user, such as can be using the central point of included this image to be identified of the plurality of scan start point as the first scan start point, other sort to remaining scan start point according to the order of the upper left of image, upper right, lower-left, bottom right.Utilize boundary rectangle acquiring unit 82 according to the order of default the plurality of scan start point, successively from each scan start point, this bar code image is lined by line scan, determine minimum ordinate and maximum ordinate, from this scan start point, this image is scanned by column again, determine minimum horizontal ordinate and maximum horizontal ordinate, last according to the maximum horizontal ordinate, minimum horizontal ordinate, maximum ordinate, the minimum ordinate that obtain, can obtain the boundary rectangle of this bar code.
Dimension acquiring unit 83, for according to the characteristic information of the feature of this boundary rectangle and/or this boundary rectangle bar code, judges the dimension that obtains this bar code.
This dimension acquiring unit 83 specifically comprises:
The first judging unit, for being less than default length value when the length of this boundary rectangle, or the higher primary school of this boundary rectangle is when default height value, determines that the dimension of this bar code is one;
The second judging unit, for being less than default length value when the length of this boundary rectangle, and the higher primary school of this boundary rectangle is when default height value, thinks in this image and do not have bar code; And
The 3rd judging unit, for when the growing up in default length value of this boundary rectangle, and this boundary rectangle is tall and big when default height value,, according to the empty width information of the bar of bar code in this boundary rectangle, further determines that the dimension of this bar code is one or two.
In embodiments of the present invention, the length of the feature bag boundary rectangle of this boundary rectangle, high, the length of this boundary rectangle refers to the length of boundary rectangle on directions X or the distance between Xmax and Xmin, and the height of boundary rectangle refers to length Ymax in the Y direction of boundary rectangle and the distance between Ymin.After obtaining the boundary rectangle of bar code, if the length of this boundary rectangle (distance between Xmax and Xmin) is less than default length value, or the height of this boundary rectangle (distance between Ymax and Ymin) is while being less than default height value, think that this bar code is not two-dimensional bar code, the dimension of determining this bar code is one; When the length of this boundary rectangle is less than default length value, and the higher primary school of this boundary rectangle is when default height value, thinks and does not have bar code; When the length of this boundary rectangle is less than default length value, and this boundary rectangle is tall and big when default height value, thinks that this bar code is vertical-type bar code, as shown in Figure 3; When the higher primary school of this boundary rectangle is in default height value, and growing up when default length value of this boundary rectangle thinks that this bar code is horizontal type bar code, rather than two-dimensional bar code; If growing up in default length value of this boundary rectangle, and this boundary rectangle is tall and big when default height value, need to determine further combined with the characteristic information of this bar code the dimension of this bar code, the characteristic information of this bar code refers to the empty width information of the bar of this bar code, comprise the empty width value of bar, the empty distributed intelligences of bar etc., this empty distributed intelligence refers to whether the empty distribution of the bar of any 2 row or multirow is mutually equal.
Particularly, if growing up in default length value of this boundary rectangle, and this boundary rectangle is tall and big when default height value, can be at random any 2 row or 2 row bar codes in vertical or this boundary rectangle of horizontal scanning repeatedly, if exist in this 2 row bar code in the empty width information of identical bar or this 2 row bar code and have the empty width information of identical bar, think that this bar code is bar code, as shown in Fig. 4 a, if and the empty width of each row bar is substantially equal, thinks that bar code is level; If the empty width of each row bar equates substantially, think that bar code is vertical, otherwise think that this bar code is two-dimensional bar code, as shown in Figure 4 b, the number of times of this scanning can need to set according to user, and scanning times is more, the reliability of data is more stable, and judged result is more accurate.
In addition, after definite this bar code is bar code, according to the direction of the bar ceases to be busy of the empty width of bar identical in these 2 row or 2 row bar codes, if the direction of this ceases to be busy is vertical or deflection vertical direction, when bar code kind is judged afterwards, can only carry out vertical scanning, specifically can carry out from top to bottom and vertical alternate sweep from top to bottom every row, just can determine the type of this bar code, equally, if the direction of this ceases to be busy is level or deflection horizontal direction, when bar code kind is judged afterwards, can only carry out horizontal scanning, specifically can interlacing carry out from left to right and horizontal alternate sweep from right to left, thereby no matter bar code is along putting, falling and putting, rotating and putting, can identify its type, make this method of determining the type of this bar code there is stronger adaptability, and can improve the recognition speed of barcode types.
In embodiments of the present invention, this bar code identifying device is supported the identification of a plurality of bar codes in piece image, while there is a plurality of bar code in this image, according to the order that the plurality of bar code detected, the dimension of the plurality of bar code is obtained in judgement, particularly, first need bar code image to be identified to preset the piecemeal of number, such as being divided into five, obtain the central point of each piece image after piecemeal, bar code image to be identified is being carried out after binary conversion treatment, from the central point of each piece image, also from scan start point, upwards, under, left, right four direction carries out line by line this image respectively and scans by column, obtain the boundary rectangle of each bar code in this image, then obtain one by one the characteristic information of bar code in the feature of boundary rectangle of this each bar code and/or this boundary rectangle, according to the characteristic information judgement of bar code in the feature of the boundary rectangle of each bar code and/or this boundary rectangle, obtain the dimension of this bar code, due to identification piece image comprise a plurality of bar code time, in advance bar code image is preset the piecemeal of number, obtain again central point or the scan start point of each piece image after piecemeal, can guarantee that obtained scan start point drops in the plurality of bar code, thereby can carry out next step bar code dimension identification, also make the method can adapt to the application scenarios of multiple bar code, there is stronger adaptivity.
The embodiment of the present invention has solved is carrying out bar code while automatically identifying to piece image, by this scan start point acquiring unit 81, obtain image to be identified after binary conversion treatment and the scan start point coordinate of this image; Boundary rectangle acquiring unit 82 is according to the order of default the plurality of scan start point, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scans by column, obtain the boundary rectangle of bar code in this image and realized in the dimension situation of unknown bar code; The boundary rectangle that dimension acquiring unit 83 gets according to the feature of bar code and bar code characteristic information wherein etc., obtained the dimension of bar code, thereby can further identify the kind of bar code of this dimension and information etc., and multiple scan mode is supported in this recognition methods, also improved the recognition performance of bar code.
This bar code identifying device also comprises:
Matching unit, while being one dimension for the dimension when this bar code of judgement, according to the characteristic information of bar code in this boundary rectangle, or this image is carried out to the empty information of the bar that obtains after pre-service, in the default multiple barcode types table of judgement, whether have the empty information of bar of coupling; And
Bar code type acquiring unit, for when there is the empty information of bar of coupling, obtains the barcode types corresponding with the empty information of bar of this coupling.
Wherein, this default multiple barcode types table is pre-configured before identification bar code, dispose polytype bar code and corresponding bar code feature, to facilitate when carrying out the identification of bar code, use, and user can add as required at any time or the bar code of other types to the type table, there is good extendability.In this table, each barcode types is placed the frequency sequence according to the barcode types of using, also configure the detection identification priority level of each bar code, make the bar code detecting in present image, when the priority of its configuration is the highest, after obtaining the type of this bar code, needn't continue to detect the bar code of type below, thereby improve bar-code identification speed.
In embodiments of the present invention, after definite this bar code is bar code, adopt 1 dimension image edge processing method to process the pretreatment operation such as this bar code image and automatic noise removal function, to obtain more accurately the empty information of bar of this bar code, this empty information is for by carrying out the width information of the multirow bar sky that vertical or horizontal scanning etc. obtain according to the direction of bar ceases to be busy to this bar code, in conjunction with this empty information and the multiple barcode types table of presetting, obtain the types results of bar code, bar-code identification precision is improved, and misclassification rate is reduced.
This bar code identifying device also comprises:
Judging unit, be when two dimension for the dimension when this bar code of judgement, judge in this boundary rectangle, whether exist with the multiple barcode types table of presetting in the feature that matches of the bar code feature of a type; And
Two-dimensional bar code type acquiring unit, for when there is the feature of coupling, obtains the barcode types corresponding with this feature.
This bar code identifying device also comprises:
Output unit, for according to this barcode types, this bar code being identified, and exports recognition result.
In embodiments of the present invention, when this bar code is two-dimensional bar code, first obtain the feature of the bar code of the first type (priority is the highest) in this default multiple barcode types table, whether judgement there is this feature of coupling in this boundary rectangle, be, the bar code of the first type (priority is the highest) in this default multiple barcode types table is the type of this bar code to be identified, exits identifying; No, continue to obtain the feature of next type of bar code in this default multiple barcode types table, continue to repeat above-mentioned steps, until exit while there is the feature of coupling, or in this bar code boundary rectangle, do not exist with default multiple barcode types table in all types of two-dimensional bar code features match feature time exit.
This method to two-dimensional bar code type judgement that the embodiment of the present invention provides, combines the feature of bar code in default multiple barcode types table and boundary rectangle, carries out the judgement of barcode types and obtains, and improves bar-code identification speed.
The embodiment of the present invention is by obtaining bar code image to be identified after binary conversion treatment and the scan start point coordinate of this image, according to the order of default the plurality of scan start point, successively from each scan start point, upwards, under, left, right four direction carries out line by line this image respectively and scans by column, obtain the boundary rectangle of bar code in this image, according to the characteristic information of bar code in the feature of this boundary rectangle and/or this boundary rectangle, the dimension of this bar code is obtained in judgement, do not solved because prior art has to realize the bar code of unknown dimension has been identified to judgement, and the problem that recognition performance is not high, reached the object of the bar code of unknown dimension being identified to the identification judgement of a plurality of bar codes that judge and piece image is comprised, and improved recognition performance.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a bar code recognition, is characterized in that, described method comprises the steps:
Obtain bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of described image;
According to the order of default described a plurality of scan start points, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in described image;
According to the characteristic information of bar code in the feature of described boundary rectangle and/or described boundary rectangle, the dimension of described bar code is obtained in judgement.
2. the method for claim 1, is characterized in that, described method is further comprising the steps of:
While there is a plurality of bar code in described image, obtain the boundary rectangle of each bar code in described image;
According to the order that described a plurality of bar codes detected, according to the characteristic information of bar code in the feature of the boundary rectangle of each bar code and/or described boundary rectangle, the dimension of described each bar code is obtained in judgement.
3. the method for claim 1, is characterized in that, a plurality of scan start point coordinates of described image comprise the center point coordinate of described image, and the characteristic information of described bar code refers to the empty width information of the bar of described bar code.
4. the method for claim 1, is characterized in that, described method is further comprising the steps of:
When the dimension of this bar code of judgement is while being one dimension, according to the characteristic information of bar code in this boundary rectangle, or this image is carried out to the empty information of bar obtained after pre-service, in the default multiple barcode types table of judgement, whether there is the empty information of bar of coupling;
When there is the empty information of bar of coupling, obtain the barcode types corresponding with the empty information of bar of described coupling.
5. the method for claim 1, is characterized in that, described method is further comprising the steps of:
When the dimension of the described bar code of judgement be when two dimension, judge in described boundary rectangle, whether exist with the multiple barcode types table of presetting in the feature that matches of the bar code feature of a type;
When there is the feature of coupling, obtain the barcode types corresponding with described feature.
6. method as claimed in claim 3, is characterized in that, described method is further comprising the steps of:
When the length of described boundary rectangle is less than default length value, or the higher primary school of described boundary rectangle is when default height value, and the dimension of described bar code is one;
When the length of described boundary rectangle is less than default length value, and the higher primary school of described boundary rectangle is when default height value, in described image, does not have bar code;
When growing up in default length value of described boundary rectangle, and described boundary rectangle is tall and big when default height value,, according to the empty width information of the bar of bar code in described boundary rectangle, further determines that the dimension of described bar code is one or two.
7. a bar code identifying device, is characterized in that, described device comprises:
Scan start point acquiring unit, for obtaining bar code image to be identified after binary conversion treatment and a plurality of scan start point coordinates of described image;
Boundary rectangle acquiring unit, order for the described a plurality of scan start points according to default, successively from each scan start point, up and down, left and right four direction carries out line by line this image respectively and scan by column, and obtains the boundary rectangle of bar code in described image; And
Dimension acquiring unit, for according to the characteristic information of the feature of described boundary rectangle and/or described boundary rectangle bar code, judges the dimension that obtains described bar code.
8. device as claimed in claim 7, is characterized in that, described device also comprises:
Matching unit, while being one dimension for the dimension when this bar code of judgement, according to the characteristic information of bar code in this boundary rectangle, or this image is carried out to the empty information of the bar that obtains after pre-service, in the default multiple barcode types table of judgement, whether have the empty information of bar of coupling; And
Bar code type acquiring unit, for when there is the empty information of bar of coupling, obtains the barcode types corresponding with the empty information of bar of described coupling.
9. device as claimed in claim 7, is characterized in that, described device also comprises:
Judging unit, be when two dimension for the dimension when the described bar code of judgement, judge in described boundary rectangle, whether exist with the multiple barcode types table of presetting in the feature that matches of the bar code feature of a type; And
Two-dimensional bar code type acquiring unit, for when there is the feature of coupling, obtains the barcode types corresponding with described feature.
10. device as claimed in claim 7, is characterized in that, described dimension acquiring unit specifically comprises:
The first judging unit, for being less than default length value when the length of described boundary rectangle, or the higher primary school of described boundary rectangle is when default height value, determines that the dimension of described bar code is one;
The second judging unit, for being less than default length value when the length of described boundary rectangle, and the higher primary school of described boundary rectangle is when default height value, thinks in described image and do not have bar code; And
The 3rd judging unit, for growing up in default length value when described boundary rectangle, and described boundary rectangle is tall and big when default height value,, according to the empty width information of the bar of bar code in described boundary rectangle, further determine that the dimension of described bar code is one or two.
CN201110367610.1A 2011-11-18 2011-11-18 Bar code identifying method and device Expired - Fee Related CN102521558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110367610.1A CN102521558B (en) 2011-11-18 2011-11-18 Bar code identifying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110367610.1A CN102521558B (en) 2011-11-18 2011-11-18 Bar code identifying method and device

Publications (2)

Publication Number Publication Date
CN102521558A CN102521558A (en) 2012-06-27
CN102521558B true CN102521558B (en) 2014-04-02

Family

ID=46292469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110367610.1A Expired - Fee Related CN102521558B (en) 2011-11-18 2011-11-18 Bar code identifying method and device

Country Status (1)

Country Link
CN (1) CN102521558B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361309B (en) * 2014-12-05 2017-08-29 网易宝有限公司 Barcode recognition method and equipment
CN105654019B (en) * 2016-02-23 2018-09-04 海信集团有限公司 Quick Response Code fast decoding method and device
CN105844200B (en) * 2016-03-17 2018-07-06 杭州晟元数据安全技术股份有限公司 A kind of method for judging barcode types
CN106503604B (en) * 2016-10-18 2019-05-14 上海觉感视觉科技有限公司 A kind of position sensing figure group technology of QR code
CN111274841B (en) 2016-10-24 2023-05-12 创新先进技术有限公司 Identification method and device for bar codes
CN106779537A (en) * 2016-11-30 2017-05-31 苏州金峰物流设备有限公司 Transit depot wraps up bar code recognition of unloading
CN106953690B (en) * 2017-04-19 2019-10-22 浙江工业大学 Smart machine near field communication system based on visible light
CN109388996B (en) * 2017-08-02 2023-06-09 格科微电子(上海)有限公司 Method for improving performance of bar code recognition system
WO2019051813A1 (en) 2017-09-15 2019-03-21 达闼科技(北京)有限公司 Target recognition method and apparatus, and intelligent terminal
CN108108646B (en) * 2017-12-29 2022-04-22 Tcl王牌电器(惠州)有限公司 Bar code information identification method, terminal and computer readable storage medium
CN108280384B (en) * 2017-12-30 2019-03-15 广州市钛码电子科技有限公司 A kind of two-dimensional code identification method
CN109062648B (en) * 2018-07-23 2021-10-22 Oppo广东移动通信有限公司 Information processing method and device, mobile terminal and storage medium
CN109902529B (en) * 2019-03-01 2022-05-03 成都信息工程大学 One-dimensional bar code identification method and system based on waveform matching
CN109934040B (en) * 2019-03-22 2022-06-10 福州图腾易讯信息技术有限公司 Boundary screening method and equipment for one-dimensional bar code
CN110245536B (en) * 2019-05-09 2024-02-27 深圳盈达信息科技有限公司 Bar code identification method
CN112036199A (en) * 2020-07-17 2020-12-04 福建联迪商用设备有限公司 Two-stage scanning method and scanning gun

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5418357A (en) * 1992-06-22 1995-05-23 Matsushita Electric Industrial Co., Ltd. Bar-code reader permitting selective use of a whole or a part of an image sensor
CN101059834A (en) * 2007-05-31 2007-10-24 中国农业大学 QR two-dimensional bar code recognition method based on pickup head for chatting
CN101882201A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Barcode decoding chip and method
CN101882206A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Decoding chip of RSS (Really Simple Syndication) bar code
CN102236788A (en) * 2010-04-20 2011-11-09 荣科科技股份有限公司 Kilowatt-hour meter image automatic identification method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201025152A (en) * 2008-12-31 2010-07-01 Icp Electronics Inc Method for fast locating pattern

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5418357A (en) * 1992-06-22 1995-05-23 Matsushita Electric Industrial Co., Ltd. Bar-code reader permitting selective use of a whole or a part of an image sensor
CN101059834A (en) * 2007-05-31 2007-10-24 中国农业大学 QR two-dimensional bar code recognition method based on pickup head for chatting
CN102236788A (en) * 2010-04-20 2011-11-09 荣科科技股份有限公司 Kilowatt-hour meter image automatic identification method
CN101882201A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Barcode decoding chip and method
CN101882206A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Decoding chip of RSS (Really Simple Syndication) bar code

Also Published As

Publication number Publication date
CN102521558A (en) 2012-06-27

Similar Documents

Publication Publication Date Title
CN102521558B (en) Bar code identifying method and device
US9501680B2 (en) Method and device for batch scanning 2D barcodes
Liu et al. Recognition of QR Code with mobile phones
CN102136058B (en) Bar code image identification method
US9996780B2 (en) Specific bar code and forming method of the same
EP1469420B1 (en) Method, system and program for reconstructing a bar code
CN109993019A (en) Two-dimensional code identification method, system and equipment and medium based on connected domain analysis
US8146818B2 (en) Apparatus and method for symbol information reading
CN105069389A (en) Two-dimensional code partitioning decoding method and system
CN103034831A (en) Method and system for identifying linear bar code
CN105787403B (en) A kind of bar code reading method of high pixel image processing and the bar code recognizing apparatus of high pixel image processing
CN109741551B (en) Commodity identification settlement method, device and system
CN104298947A (en) Method and device for accurately positioning two-dimensional bar code
CN108573184A (en) A kind of two-dimensional code identification method, module and computer readable storage medium
CN108256375A (en) A kind of one-dimensional bar code scan method
CN111476053A (en) Identification method and device
WO2011011051A2 (en) Image-based barcode reader
CN110050275A (en) Optical readable label and method and system for decoding optical readable label
Lin et al. Automatic location for multi-symbology and multiple 1D and 2D barcodes
CN101908126B (en) PDF417 bar code decoding chip
CN204360383U (en) A kind of bar code recognizing apparatus of high pixel image processing
CN101882201B (en) Barcode decoding chip and method
Gallo et al. Reading challenging barcodes with cameras
Lin et al. Multi-symbology and multiple 1d/2d barcodes extraction framework
CN109711223A (en) A kind of promotion QR code decoding rate method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

Termination date: 20201118

CF01 Termination of patent right due to non-payment of annual fee