CN104866794B - Bar code decoding method based on image feature information statistics - Google Patents

Bar code decoding method based on image feature information statistics Download PDF

Info

Publication number
CN104866794B
CN104866794B CN201410840704.XA CN201410840704A CN104866794B CN 104866794 B CN104866794 B CN 104866794B CN 201410840704 A CN201410840704 A CN 201410840704A CN 104866794 B CN104866794 B CN 104866794B
Authority
CN
China
Prior art keywords
image
parameter group
bar code
differential signal
region
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
CN201410840704.XA
Other languages
Chinese (zh)
Other versions
CN104866794A (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.)
Yimabo Vision Co., Ltd.
Original Assignee
余俊池
陆骏
张凤清
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 余俊池, 陆骏, 张凤清 filed Critical 余俊池
Priority to CN201410840704.XA priority Critical patent/CN104866794B/en
Publication of CN104866794A publication Critical patent/CN104866794A/en
Application granted granted Critical
Publication of CN104866794B publication Critical patent/CN104866794B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of bar code decoding method based on image feature information statistics, is mainly 1. sampled including step;2. establish the characteristics of image statistical information data storehouse of bar code;3. shooting image;4. obtain characteristics of image statistical information;5. characteristic matching;And 6. decode.The present invention utilizes Principle of Statistics, establish bar code image characteristic statisticses information database, count quick by characteristics of image by the image for acquisition of taking pictures and determine barcode position, barcode types and bar code direction, so as to quickly realize decoding, substantially increase identification and the decoding efficiency of bar code, and can be in self-teaching and amendment database in multiple decoding process characteristics of image statistical information, decoding efficiency can be constantly improved with the increase of number of applications.

Description

Bar code decoding method based on image feature information statistics
Technical field
It is especially a kind of to count quick based on image feature information the present invention relates to bar code decoding method, efficiently Bar code decoding method.
Background technology
As bar code is more and more applied in daily life, the barcode decoding techniques based on image become more next More important, to the speed of decoding, precision proposes more requirements.
Traditional bar code decoding method, typically first by the characteristics of image of a variety of bar codes build up database exist solving In code chip, need to find the position of bar code in the first image from shooting in decoding, then obtain the image of bar code again Feature, itself and the characteristics of image in decoding chip are compared one by one, it is determined that corresponding bar code type, then according to this kind of bar The coding rule of shape code is decoded.Because traditional bar code decoding method determines that barcode position is by line by line in the picture The mode of scanning is realized, and also needs to compare one by one after determining barcode position, thus it is less efficient, and usually can not be just Really identification, decoding rate are relatively low, it is necessary to repeated multiple times shooting image repeated attempt decoding.
The content of the invention
In view of this, it is an object of the invention to provide a kind of quick, efficient bar code decoding method, this method, which utilizes, unites Meter learns principle, and fast positioning barcode position is counted by image feature information;Then, barcode types and bar code direction are judged;Most Afterwards, bar code content is parsed according to coding rule.
In order to achieve the above object, the present invention provides a kind of bar code decoding method based on image feature information statistics, It is characterised in that it includes following steps:
1. sample:Polytype bar code is shot respectively, obtains multiple image patterns with bar code;Example The image pattern of 80 kinds of bar codes in different scenes can be such as shot, every kind of bar code can shoot the figure in one or more scenes Decent;The scope of sampling can cover a variety of common bar code types, for example, EAN, UPC, Code39, ITF25, Codebar, The Quick Response Code such as the one-dimension codes such as Code93, Code128 and PDF417, Code49, Code16K, QR;
2. establish the characteristics of image statistical information data storehouse of bar code:Characteristics of image is carried out to each described image pattern The database being made up of multiple images characteristic information subset is extracted and establishes, the multiple image feature information subset comprises at least Image-region edge feature subset A={ A1, A2, A3... ..., An, wherein n is positive integer;
A1, A2, A3... ..., AnThe image-region edge feature parameter group of respectively each image pattern, passes through following step Suddenly obtain:After each image pattern progress horizontal direction and vertical direction decile are obtained into X*X region, to each extracted region Image border, the image border of all areas in each described image sample is formed into image-region edge feature parameter group;Its In, X is the integer more than 1;Each mapping relations are formed between image-region edge feature parameter group and a kind of bar code;
3. shooting image:Object to be decoded is taken pictures, gets the real image i with bar code;
4. obtain characteristics of image statistical information:Real image i is subjected to horizontal direction and vertical direction decile obtains X*X Behind region, to each extracted region images edge, the image border of all areas in the real image i is formed into real image Edges of regions characteristic parameter group Ai;In one embodiment, X is preferably 8;
5. characteristic matching:By actual image area edge feature parameter group AiWith described image edges of regions character subset A In parameter group matched, after the match is successful, and map and determine a kind of bar code;
6. decode;After determining bar code, decoded according to coding rule;
7. if successfully decoded, exports decoded result;If decoding failure, it tries solved to next secondary real image Code, repeat step is 3. to 6..
Some simple one-dimension codes, obtain actual image area edge feature parameter group AiAfterwards, A is passed throughiFast positioning bar During code position, the image-region edge feature parameter group in the database corresponding to it is also uniquely determined, so as to can Quickly determine barcode types and bar code direction.
, can not when only relying on actual image area edge feature parameter group Ai because bar code part is the region of edge aggregation When determining barcode types and bar code direction, we can be by counting image level direction and the vertical direction of bar code region The distribution of the first differential signal of image, it can rapidly judge barcode position, barcode types and bar code direction.It is for example, horizontal The first differential signal of the UPC-A codes in direction in the horizontal direction is very big, and the first differential signal very little of vertical direction;QR First differential signals of the Code in which direction all can be very big.
Specifically, the step 2. in, the multiple image feature information subset also includes the one of bar code area area image Rank differential signal character subset B={ B1, B2, B3... ..., Bn};B1, B2, B3... ..., BnBar in respectively each image pattern The image border first differential signal characteristic parameter group of shape code region, is obtained by following steps:By each image pattern In bar code region image in edge do the first differential of horizontal direction and vertical direction, first obtain two secondary single orders Differential signal figure, statistics with histogram is done respectively to two width first differential signal graphs, obtained comprising horizontal direction and vertical direction The image border first differential signal characteristic parameter group of first differential signal statistics with histogram information;Each image border single order is micro- Sub-signal characteristic parameter group all forms mapping relations between a kind of bar code;
4. the step also includes:Edge in the image of bar code region in real image i is done into level side To the first differential with vertical direction, two secondary first differential signal graphs are first obtained, two width first differential signal graphs are done directly respectively Side's figure statistics, obtains the real image edge of the first differential signal statistics with histogram information comprising horizontal direction and vertical direction First differential signal characteristic parameter group Bi
5. the step also includes:By actual image area edge feature parameter group AiWith described image edges of regions feature Parameter group in subset A is when it fails to match, by real image edge first differential signal characteristic parameter group BiWith the bar code Parameter group in the first differential signal characteristic subset B of area image is matched, and after the match is successful, mapping determines a kind of stripe shape Code.
It is, of course, also possible to the first differential letter of the image of diagonal in counting the image of bar code region simultaneously Number distribution.Specifically, the edge in the image of the bar code region in each image pattern is done into horizontal direction, vertical Direction and the first differential of diagonal, three secondary first differential signal graphs are first obtained, three width first differential signal graphs are distinguished Statistics with histogram is done, the first differential signal statistics with histogram comprising horizontal direction, vertical direction and diagonal is obtained and believes The image border first differential signal characteristic parameter group of breath.
Wherein, it is big by Bi if still can not be uniquely determined by Ai and Bi when being any bar code in database Cause judges barcode types and bar code direction, and we can pass through the peak on the spectrum analysis figure for the image water for counting bar code region It is worth number, further determines that barcode types and bar code direction.
Specifically, edge spectrum analysis feature of the multiple image feature information subset also including bar code area area image Subset C={ C1, C2, C3... ..., Cn};C1, C2, C3... ..., CnBar code region in respectively each image pattern The spectrum analysis characteristic parameter group of image, is obtained by following steps:By the bar code region in each image pattern Image does spectrum analysis, first obtains spectrum analysis figure, and then statistics obtains the spectrum analysis comprising all peak values and peak value number Characteristic parameter group;Each mapping relations are formed between spectrum analysis characteristic parameter group and a kind of bar code;
4. the step also includes:The image of bar code region in real image i is done into spectrum analysis, first obtained Spectrum analysis figure, then statistics obtains including all peak values and the actual spectrum of peak value number analyzes characteristic parameter group Ci
5. the step also includes:By real image edge first differential signal characteristic parameter group BiWith the bar code area Actual spectrum is analyzed characteristic parameter group C after it fails to match by parameter group in the first differential signal characteristic subset B of area imagei Matched with the parameter group in the edge spectrum analysis character subset C of the bar code area area image, mapped after the match is successful Determine a kind of bar code;
5. the step also includes:By actual image area edge feature parameter group AiWith described image edges of regions feature Parameter group in subset A is when it fails to match, by real image edge first differential signal characteristic parameter group BiWith the bar code Parameter group in the first differential signal characteristic subset B of area image is matched, a kind of stripe shape of mapping determination after the match is successful Code.
Preferably, the step is 7. after middle decoding failure, in addition to step:8. to coding rule under the conditions of low contrast It is adjusted, produces a new coding rule, decoded, if successfully decoded, exports decoded result.
Further, if 8. the step decodes failure, in addition to step:9. to coding rule under the conditions of low sampling rate It is adjusted, produces another new coding rule, decoded, if successfully decoded, exports decoded result.
Yet further, if 9. the step decodes failure, in addition to step:10. to coding rule under the conditions of height distorts It is adjusted, produces another new coding rule, decoded, successfully decoded, exports decoded result.
During decoding, the present invention can be also finely adjusted to the parameter group in database, when only passing through AiIt is decoded into During work(, trim step is:After successfully decoded, according to actual image area edge feature parameter group Ai , by the number corresponding to it It is finely adjusted according to the image-region edge feature parameter group in storehouse, makes the image-region edge feature parameter group in database close Actual image area edge feature parameter group Ai
When passing through AiAnd BiDuring common successfully decoded, trim step is:After successfully decoded, according to actual image area side Edge characteristic parameter group Ai With real image edge first differential signal characteristic parameter group Bi, by the figure in the database corresponding to it As the image border first differential signal characteristic parameter group of edges of regions characteristic parameter group and bar code region is finely adjusted, Make the image-region edge feature parameter group in database close to actual image area edge feature parameter group Ai, make in database Bar code region image border first differential signal characteristic parameter group close to real image edge first differential signal Characteristic parameter group Bi
When passing through Ai、BiAnd CiWhen passing through successfully decoded, trim step is:After successfully decoded, according to actual image area Edge feature parameter group Ai , real image edge first differential signal characteristic parameter group BiAnd actual spectrum analysis characteristic parameter group Ci, by the image-region edge feature parameter group in the database corresponding to it, the image border single order of bar code region The spectrum analysis characteristic parameter group of the image of differential signal characteristic parameter group and bar code region is finely adjusted, and makes database In image-region edge feature parameter group close to actual image area edge feature parameter group Ai, make the bar code in database The image border first differential signal characteristic parameter group of region is close to real image edge first differential signal characteristic parameter Group Bi, the spectrum analysis characteristic parameter group of the image of the bar code region in database is analyzed feature close to actual spectrum Parameter group Ci
When being decoded by the bar code decoding method of the present invention to the bar code on some object, typically decoded Journey is generally divided into three steps:After obtaining image feature information according to the image of shooting, A is obtained using statisticsiFast positioning bar code, Then the B obtained using statisticsiJudge barcode types and bar code direction, it is last to be decoded according to coding rule.
Compared to prior art, the present invention utilizes Principle of Statistics, establishes bar code image characteristic statisticses information data Storehouse, count quick by characteristics of image by the image for acquisition of taking pictures and determine barcode position, barcode types and bar code direction, so as to It is quick to realize decoding, identification and the decoding efficiency of bar code are substantially increased, and can self in multiple decoding process Characteristics of image statistical information in study and amendment database, it can constantly improve decoding effect with the increase of number of applications Rate.
Brief description of the drawings
Fig. 1 is process blocks schematic diagram of the present embodiment in decoding process.
Fig. 2 is the process blocks schematic diagram in the present embodiment decoding step.
Embodiment
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Refer to Fig. 1 and Fig. 2, the bar code decoding method based on image feature information statistics of the present embodiment, main bag The sampling that includes early stage, the basic steps in the characteristics of image statistical information data storehouse for establishing bar code, and shooting image, obtain figure As characteristic statisticses information, characteristic matching, decoding and the practical application of fine setting step.
In sampling process, the present embodiment is shot in different scenes respectively to 80 conventional type bar codes, Obtain multiple image patterns with bar code.Various scenes can be set according to the situation of bar code practical application, such as bar shaped The different product surface, the various complex backgrounds residing for bar code etc. that code is applied.
When establishing the characteristics of image statistical information data storehouse of bar code, image characteristics extraction is carried out to each image pattern And establish the database being made up of multiple images characteristic information subset.Multiple images characteristic information subset comprises at least image-region Edge feature subset A={ A1, A2, A3... ..., An, first differential signal characteristic subset B={ B of bar code area area image1, B2, B3... ..., Bn, and edge spectrum analysis character subset C={ C of bar code area area image1, C2, C3... ..., Cn, its Middle n is positive integer, and n is more than 80 here.
Wherein, A1, A2, A3... ..., AnThe image-region edge feature parameter group of respectively each image pattern, by with Lower step obtains:After each image pattern progress horizontal direction and vertical direction decile are obtained into 8*8 region, to each region Image border is extracted, the image border of all areas in each described image sample is formed into image-region edge feature parameter Group;Each mapping relations are formed between image-region edge feature parameter group and a kind of bar code.
B1, B2, B3 ... ..., Bn are respectively that the image border single order of the bar code region in each image pattern is micro- Sub-signal characteristic parameter group, is obtained by following steps:By in the image of the bar code region in each image pattern Edge does the first differential of horizontal direction and vertical direction, first obtains two secondary first differential signal graphs, and two width first differentials are believed Number figure does statistics with histogram respectively, obtains the first differential signal statistics with histogram information comprising horizontal direction and vertical direction Image border first differential signal characteristic parameter group;Each image border first differential signal characteristic parameter group and a kind of bar shaped Mapping relations are formed between code.
C1, C2, C3... ..., CnThe spectrum analysis of the image of bar code region in respectively each image pattern is special Parameter group is levied, is obtained by following steps:The image of bar code region in each image pattern is done into spectrum analysis, first Spectrum analysis figure is obtained, then statistics obtains the spectrum analysis characteristic parameter group comprising all peak values and peak value number;Each frequency Spectrum analysis characteristic parameter group all forms mapping relations between a kind of bar code.
After the completion of Database, it is possible to carried out using the image of implication bar code of the Principle of Statistics to taking pictures to obtain Feature extraction and statistics obtain the corresponding characteristic parameter group of real image, then can quickly judge barcode position, barcode types and Bar code direction, and then decoded according to coding rule.
As shown in figure 1, the decoding process detailed description of the present embodiment is as follows
Step S01:Start.
Step S02:Object to be decoded is shot, obtains the real image i with bar code.
Step S03:After real image i progress horizontal directions and vertical direction decile are obtained into 8*8 region, to each area Image border is extracted in domain, and the image border of all areas in the real image i is formed into actual image area edge feature ginseng Array Ai;By actual image area edge feature parameter group AiWith the parameter group in image-region edge feature subset A in database Matched, after the match is successful, and map and determine a kind of bar code.
Then bar code is decoded according to coding rule by step S031, after successfully decoded, exports decoded result. Afterwards, in addition to image-region edge feature subset A in database, corresponding parameter group is finely adjusted step S032, makes number According to the image-region edge feature parameter group in storehouse close to actual image area edge feature parameter group Ai
As actual image area edge feature parameter group AiWith the parameter group in described image edges of regions character subset A During with failure, barcode position is determined using Ai, then passes through step S04, statistics real image edge first differential signal characteristic Parameter group Bi, specifically, BiStatistic processes be:Edge in the image of bar code region in real image i is done into water Square to the first differential with vertical direction, two secondary first differential signal graphs are first obtained, two width first differential signal graphs are distinguished Statistics with histogram is done, obtains the real image of the first differential signal statistics with histogram information comprising horizontal direction and vertical direction Edge first differential signal characteristic parameter group Bi
Then by real image edge first differential signal characteristic parameter group BiWith the bar code area area image in database First differential signal characteristic subset B in parameter group matched, after the match is successful, mapping determines a kind of bar code.
Then bar code is decoded according to coding rule by step S041, after successfully decoded, exports decoded result. Afterwards, by trim step S042, according to Ai、BiThe parameter group corresponding to image-region edge feature subset A in database and The parameter group that the first differential signal characteristic subset B of bar code area area image is corresponding is finely adjusted, and makes the image in database Edges of regions characteristic parameter group is close to actual image area edge feature parameter group Ai, make the bar code area area image in database First differential signal characteristic parameter group close to real image edge first differential signal characteristic parameter group Bi
As real image edge first differential signal characteristic parameter group BiWith one of the bar code area area image in database Parameter group in rank differential signal character subset B is when also it fails to match;Using the obtained substantially barcode types of Bi and bar code direction, Again by step S05, the image of the bar code region in real image i is done into spectrum analysis, first obtains spectrum analysis figure, Then statistics obtains the actual spectrum analysis characteristic parameter group C comprising all peak values and peak value numberi, actual spectrum is analyzed special Levy parameter group CiWith the parameter group progress in the edge spectrum analysis character subset C of the bar code area area image in database Match somebody with somebody, a kind of bar code of mapping determination after the match is successful.
Bar code is decoded according to coding rule by step S051 again, after successfully decoded, exports decoded result.It Afterwards, by trim step S052, according to Ai、Bi、Ci, the parameter corresponding to image-region edge feature subset A in database Group, the first differential signal characteristic subset B of bar code area area image corresponding parameter group and the side of bar code area area image Edge spectrum analysis character subset C relative to parameter group be finely adjusted, make the image-region edge feature parameter group in database Close to actual image area edge feature parameter group Ai, make the first differential signal characteristic of the bar code area area image in database Parameter group is close to real image edge first differential signal characteristic parameter group Bi, make database, the barcode size or text field in database Parameter group in the edge spectrum analysis character subset C of image is close to actual spectrum analysis characteristic parameter group Ci
In addition, the present embodiment is also improved the specific steps of decoding, make the bar code decoding side using the present invention The solution code system of method can autonomous learning, constantly adjust coding rule to adapt to solve the conventional environment of code system, it is quickly real Now decode.As shown in Fig. 2 the present embodiment is to pass through AiAnd BiThe parameter group matching of two image information statistics determines bar code bit Put, exemplified by barcode types and bar code direction, decoding step specifically includes:
Step S11:Determine barcode position, barcode types and bar code direction.
Step S12:Normally decoded according to default coding rule, after successfully decoded, exported and decoded by step S17 As a result, otherwise into step S13.
Step S13:Coding rule is adjusted under the conditions of low contrast, new coding rule is produced, is decoded, After successfully decoded, decoded result is exported by step S17, otherwise into step S14.
Step S14:Coding rule is adjusted under the conditions of low sampling rate, produces another new coding rule, is carried out Decode, after successfully decoded, decoded result is exported by step S17, otherwise into step S15.
Step S15:Coding rule is adjusted under the conditions of height distorts, another new coding rule is produced, is solved Yard, after successfully decoded, decoded result is exported by step S17, otherwise passes through step S16 and attempts to shoot next pictures and repetition Above decoding process S02 to S05 and decoding step S11 to S14, until successfully decoded.
The above embodiments merely illustrate the technical concept and features of the present invention, and its object is to allow person skilled in the art Scholar can understand present disclosure and implement according to this, and it is not intended to limit the scope of the present invention, all according to the present invention The equivalent change or modification that Spirit Essence is made, it should all be included within the scope of the present invention.

Claims (8)

1. a kind of bar code decoding method based on image feature information statistics, it is characterised in that comprise the following steps:
1. sample:Polytype bar code is shot respectively, obtains multiple image patterns with bar code;
2. establish the characteristics of image statistical information data storehouse of bar code:Image characteristics extraction is carried out to each described image pattern And the database being made up of multiple images characteristic information subset is established, the multiple image feature information subset comprises at least image Edges of regions character subset A={ A1, A2, A3... ..., An, wherein n is positive integer;
A1, A2, A3... ..., AnThe image-region edge feature parameter group of respectively each image pattern, is obtained by following steps Arrive:After each image pattern progress horizontal direction and vertical direction decile are obtained into X*X region, to each extracted region images Edge, the image border of all areas in each described image sample is formed into image-region edge feature parameter group;Wherein, X For the integer more than 1;Each mapping relations are formed between image-region edge feature parameter group and a kind of bar code;
3. shooting image:Object to be decoded is taken pictures, gets the real image i with bar code;
4. obtain characteristics of image statistical information:Real image i is subjected to horizontal direction and vertical direction decile obtains X*X region Afterwards, to each extracted region images edge, the image border of all areas in the real image i is formed into actual image area Edge feature parameter group Ai
5. characteristic matching:By actual image area edge feature parameter group AiWith the ginseng in described image edges of regions character subset A Array is matched, and after the match is successful, and is mapped and is determined a kind of bar code;
6. decode;After determining bar code, decoded according to coding rule;
7. if successfully decoded, exports decoded result;If decoding failure, it tries decoded to next secondary real image, weight Multiple step is 3. to 6.;
The step 2. in, the multiple image feature information subset also first differential signal including bar code area area image is special Levy subset B={ B1, B2, B3... ..., Bn};B1, B2, B3... ..., BnBar code region in respectively each image pattern Image border first differential signal characteristic parameter group, obtained by following steps:By the bar code institute in each image pattern Edge in the image in region does the first differential of horizontal direction and vertical direction, first obtains two secondary first differential signal graphs, Statistics with histogram is done respectively to two width first differential signal graphs, obtains the first differential signal comprising horizontal direction and vertical direction The image border first differential signal characteristic parameter group of statistics with histogram information;Each image border first differential signal characteristic ginseng Array all forms mapping relations between a kind of bar code;
4. the step also includes:By the edge in the image of the bar code region in real image i do horizontal direction and The first differential of vertical direction, two secondary first differential signal graphs are first obtained, histogram is done respectively to two width first differential signal graphs Statistics, obtain the real image edge single order of the first differential signal statistics with histogram information comprising horizontal direction and vertical direction Differential signal characteristic parameter group Bi
5. the step also includes:By actual image area edge feature parameter group AiWith described image edges of regions character subset A In parameter group when it fails to match, by real image edge first differential signal characteristic parameter group BiWith the barcode size or text field figure Parameter group in the first differential signal characteristic subset B of picture is matched, and after the match is successful, mapping determines a kind of bar code.
A kind of 2. bar code decoding method based on image feature information statistics according to claim 1, it is characterised in that: The step 2. in, the multiple image feature information subset also including bar code area area image edge spectrum analysis feature son Collect C={ C1, C2, C3... ..., Cn};C1, C2, C3... ..., CnThe figure of bar code region in respectively each image pattern The spectrum analysis characteristic parameter group of picture, is obtained by following steps:By the figure of the bar code region in each image pattern As doing spectrum analysis, spectrum analysis figure is first obtained, then it is special to obtain the spectrum analysis comprising all peak values and peak value number for statistics Levy parameter group;Each mapping relations are formed between spectrum analysis characteristic parameter group and a kind of bar code;
4. the step also includes:The image of bar code region in real image i is done into spectrum analysis, first obtains frequency spectrum Analysis chart, then statistics obtains including all peak values and the actual spectrum of peak value number analyzes characteristic parameter group Ci
5. the step also includes:By real image edge first differential signal characteristic parameter group BiWith the barcode size or text field figure Actual spectrum is analyzed characteristic parameter group C after it fails to match by parameter group in the first differential signal characteristic subset B of pictureiWith institute The parameter group stated in the edge spectrum analysis character subset C of bar code area area image is matched, mapping determination after the match is successful A kind of bar code;
5. the step also includes:By actual image area edge feature parameter group AiWith described image edges of regions character subset A In parameter group when it fails to match, by real image edge first differential signal characteristic parameter group BiWith the barcode size or text field figure Parameter group in the first differential signal characteristic subset B of picture is matched, a kind of bar code of mapping determination after the match is successful.
A kind of 3. bar code decoding method based on image feature information statistics according to claim 1, it is characterised in that: The step is 7. after middle decoding failure, in addition to step:8. being adjusted under the conditions of low contrast to coding rule, one is produced Individual new coding rule, is decoded, if successfully decoded, exports decoded result.
A kind of 4. bar code decoding method based on image feature information statistics according to claim 3, it is characterised in that: If 8. the step decodes failure, in addition to step:9. being adjusted under the conditions of low sampling rate to coding rule, produce another Individual new coding rule, is decoded, if successfully decoded, exports decoded result.
A kind of 5. bar code decoding method based on image feature information statistics according to claim 4, it is characterised in that: If 9. the step decodes failure, in addition to step:10. being adjusted under the conditions of height distorts to coding rule, another is produced New coding rule, is decoded, successfully decoded, exports decoded result.
6. a kind of bar code decoding method based on image feature information statistics according to claim 1 to 5 any one, It is characterized in that:Also include trim step:After successfully decoded, according to actual image area edge feature parameter group Ai , by its Image-region edge feature parameter group in corresponding database is finely adjusted, and makes the image-region edge feature in database Parameter group is close to actual image area edge feature parameter group Ai
7. a kind of bar code decoding method based on image feature information statistics according to claim 1 to 5 any one, It is characterized in that:Also include trim step:After successfully decoded, according to actual image area edge feature parameter group Ai And reality Image border first differential signal characteristic parameter group Bi, by the image-region edge feature parameter group in the database corresponding to it It is finely adjusted with the image border first differential signal characteristic parameter group of bar code region, makes the image-region in database Edge feature parameter group is close to actual image area edge feature parameter group Ai, make the figure of the bar code region in database As edge first differential signal characteristic parameter group is close to real image edge first differential signal characteristic parameter group Bi
8. a kind of bar code decoding method based on image feature information statistics according to claim 2 to 5 any one, It is characterized in that:Also include trim step:After successfully decoded, according to actual image area edge feature parameter group Ai , it is actual Image border first differential signal characteristic parameter group BiAnd actual spectrum analysis characteristic parameter group Ci, by the database corresponding to it In image-region edge feature parameter group, the image border first differential signal characteristic parameter group of bar code region and bar The spectrum analysis characteristic parameter group of the image of shape code region is finely adjusted, and joins the image-region edge feature in database Array is close to actual image area edge feature parameter group Ai, make the image border single order of the bar code region in database Differential signal characteristic parameter group is close to real image edge first differential signal characteristic parameter group Bi, make the bar code in database The spectrum analysis characteristic parameter group of the image of region is close to actual spectrum analysis characteristic parameter group Ci
CN201410840704.XA 2014-12-30 2014-12-30 Bar code decoding method based on image feature information statistics Expired - Fee Related CN104866794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410840704.XA CN104866794B (en) 2014-12-30 2014-12-30 Bar code decoding method based on image feature information statistics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410840704.XA CN104866794B (en) 2014-12-30 2014-12-30 Bar code decoding method based on image feature information statistics

Publications (2)

Publication Number Publication Date
CN104866794A CN104866794A (en) 2015-08-26
CN104866794B true CN104866794B (en) 2018-02-23

Family

ID=53912616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410840704.XA Expired - Fee Related CN104866794B (en) 2014-12-30 2014-12-30 Bar code decoding method based on image feature information statistics

Country Status (1)

Country Link
CN (1) CN104866794B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557713A (en) * 2015-09-24 2017-04-05 福建新大陆电脑股份有限公司 Recognizing apparatus automatic test approach
CN108229233B (en) * 2017-04-27 2021-10-08 深圳市创梦天地科技有限公司 Decoding method and device
CN108647549B (en) * 2018-03-14 2022-10-21 福州迈新生物技术开发有限公司 Bar code image processing method, device and system
CN111368574A (en) * 2020-03-06 2020-07-03 联想(北京)有限公司 Bar code identification method and device
CN111460845B (en) * 2020-05-14 2024-03-12 上海果纳半导体技术有限公司 Identification device and identification method for wafer engraving number on wafer side face

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063616A (en) * 2010-12-30 2011-05-18 上海电机学院 Automatic identification system and method for commodities based on image feature matching
EP2393036A1 (en) * 2010-06-01 2011-12-07 Fujian Newland Computer Co., Ltd. Barcode decoding chip
CN102393959A (en) * 2010-06-28 2012-03-28 索尼公司 Image processing apparatus, image processing method, and image processing program
CN104143105A (en) * 2013-09-22 2014-11-12 腾讯科技(深圳)有限公司 Graph recognition method, device and system and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2393036A1 (en) * 2010-06-01 2011-12-07 Fujian Newland Computer Co., Ltd. Barcode decoding chip
CN102393959A (en) * 2010-06-28 2012-03-28 索尼公司 Image processing apparatus, image processing method, and image processing program
CN102063616A (en) * 2010-12-30 2011-05-18 上海电机学院 Automatic identification system and method for commodities based on image feature matching
CN104143105A (en) * 2013-09-22 2014-11-12 腾讯科技(深圳)有限公司 Graph recognition method, device and system and terminal device

Also Published As

Publication number Publication date
CN104866794A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104866794B (en) Bar code decoding method based on image feature information statistics
CN105069394B (en) Quick Response Code weighted average gray level method coding/decoding method and system
CN104573688B (en) Mobile platform tobacco laser code intelligent identification Method and device based on deep learning
CN103996057B (en) Real-time Handwritten Numeral Recognition Method based on multi-feature fusion
CN106228129A (en) A kind of human face in-vivo detection method based on MATV feature
CN103325122B (en) Based on the pedestrian retrieval method of Bidirectional sort
Cruz et al. Handwritten digit recognition using multiple feature extraction techniques and classifier ensemble
CN111046886B (en) Automatic identification method, device and equipment for number plate and computer readable storage medium
CN103761507B (en) Local multi-value pattern face recognition method based on Weber law
CN107862234A (en) A kind of recognition methods of color bar code, electronic equipment and storage medium
CN102254188B (en) Palmprint recognizing method and device
CN102194275A (en) Automatic ticket checking method for train tickets
CN106096348B (en) A kind of card verifying system and method based on multidimensional code
CN102521575A (en) Iris identification method based on multidirectional Gabor and Adaboost
CN107609108A (en) A kind of sportsman's photo method for sorting based on number slip identification and recognition of face
CN105335744B (en) A kind of one-dimension code zone location extracting band distribution characteristics based on image backbone
CN102208020A (en) Human face recognition method based on optimal dimension scale cutting criterion
CN109583493A (en) A kind of credit card detection and digit recognition method based on deep learning
US20210124886A1 (en) System and method of decoding a barcode using machine learning
CN106709474A (en) Handwritten telephone number identification, verification and information sending system
González-Soler et al. On the impact of different fabrication materials on fingerprint presentation attack detection
CN106650696A (en) Handwritten electrical element identification method based on singular value decomposition
CN112560850A (en) Automatic identity card information extraction and authenticity verification method based on custom template
CN110458200A (en) A kind of flower category identification method based on machine learning
CN105069403B (en) A kind of three-dimensional human ear identification based on block statistics feature and the classification of dictionary learning rarefaction representation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180709

Address after: 215000 Room 502, 13 new town garden, Suzhou Industrial Park, Jiangsu.

Co-patentee after: Zhang Fengqing

Patentee after: Lu Jun

Address before: 215000 Room 303, time square, Suzhou City, Suzhou, Jiangsu

Co-patentee before: Lu Jun

Patentee before: Yu Junchi

Co-patentee before: Zhang Fengqing

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181224

Address after: Maai Province, Republic of Seychelles

Patentee after: Yimabo Vision Co., Ltd.

Address before: 215000 Room 502, 13 new town garden, Suzhou Industrial Park, Jiangsu.

Co-patentee before: Zhang Fengqing

Patentee before: Lu Jun

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

Granted publication date: 20180223

Termination date: 20191230