CN105868676A - Improved two-dimension code region positioning system and positioning method thereof - Google Patents
Improved two-dimension code region positioning system and positioning method thereof Download PDFInfo
- Publication number
- CN105868676A CN105868676A CN201610409312.7A CN201610409312A CN105868676A CN 105868676 A CN105868676 A CN 105868676A CN 201610409312 A CN201610409312 A CN 201610409312A CN 105868676 A CN105868676 A CN 105868676A
- Authority
- CN
- China
- Prior art keywords
- layer
- characteristic vector
- module
- transmission
- dimension code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
- G06K7/1443—Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses an improved two-dimension code region positioning system, which comprises an image collecting module, a training module, a feature extraction module, a feature classification module and a recognition module, wherein the image collecting module is used for collecting image layer information; the training module uses a sample image layer collected by the image collection module as input information to obtain a plurality of pieces of transmission image layer information relevant to the sample image through calculation; the feature extraction module uses the transmission image layer information to extract the feature vectors of image layers collected by the image collecting module; the feature classification module is used for performing classified storage on the feature vectors of the image layers; the recognition module uses the classification result of the feature vectors of the image layers to be recognized to be compared with the classification result of the feature vectors of the sample image layer, and judges whether the image layer to be recognized is a two-dimension code region or not. The invention also discloses a positioning method of the improved two-dimension code region positioning system. The defects in the prior art can be solved; the problems of the existing method that a great number of training samples are needed, but the conflict of trapping into the locally optimal solution can easily occur are solved.
Description
Technical field
The present invention relates to field of information security technology, the two-dimension code area alignment system of a kind of improvement and location thereof
Method.
Background technology
In recent years, along with the development of the Internet and popularizing of smart mobile phone, and Quick Response Code is in quantity of information and safety side
The advantage in face, the Quick Response Code application in fields such as information transmission, authentication and mobile payments is more and more extensive.Quick Response Code is applied
Time, first the reading equipment (such as scanner or smart mobile phone) with photographic head is directed at Quick Response Code;Photographic head is adopted by reading equipment
Collect to image carry out two-dimension code area location, i.e. finding the Quick Response Code in image;Intercept the successful image in location and carry out follow-up
Video procession.
The influence factor of success or not of two-dimension code area location mainly has the following aspects:
1, reading the distance of equipment and Quick Response Code, when distance is for 25cm~30cm, position success rate is higher;
2, read the angle between equipment and Quick Response Code, read the angle gathered between face and Quick Response Code of equipment closer to
0 degree, position success rate is the highest;
3, the space deformation of Quick Response Code carrier, space deformation is the least, and position success rate is the highest;
4, Quick Response Code position in the picture, during closer to middle position, position success rate is the highest;
5, Quick Response Code occupies the ratio of image, and ratio is the biggest, and position success rate is the highest;
6, the background of Quick Response Code place image, background is the simplest, and time the highest with Quick Response Code contrast, position success rate is more
High.
Existing two-dimension code area localization method cannot carry out feature extraction to target on deeper level, it is difficult in complexity
Environment positions accurately.Existing two-dimension code area location technology is broadly divided into following a few class:
1, area positioning technology based on Quick Response Code designator, i.e. carries out region by the designator of searching Quick Response Code fixed
Position.Although location technology based on designator is the most intuitively, but when image information is impaired, when particularly designator is impaired, hold
Easily cause and position unsuccessfully.
2, two-dimension code area location technology based on textural characteristics, i.e. carries out two dimension by the textural characteristics of extraction Quick Response Code
Code zone location.This kind of technology make use of the global characteristics of Quick Response Code, has certain robustness for image information is impaired, but very
Difficulty extracts the Quick Response Code textural characteristics that adaptability is stronger.
3, two-dimension code area location technology based on frequency domain character, i.e. by image is transformed into frequency domain, and extracts two dimension
The frequency domain character of code carries out zone location.This kind of technology is similar with technology based on textural characteristics, simply feature is turned from spatial domain
Arrive frequency domain.
4, two-dimension code area location technology based on machine learning, i.e. finds out two-dimension code area by the method for machine learning
With the grader of non-two-dimension code area, carry out two-dimension code area location.This kind of technology needs substantial amounts of sample to be trained, and works as
When sample size is bigger, tend to be absorbed in locally optimal solution.
Summary of the invention
The technical problem to be solved in the present invention is to provide two-dimension code area alignment system and the localization method thereof of a kind of improvement,
Can solve the problem that the deficiencies in the prior art, but a large amount of training sample of needs solving the existence of existing method is easily absorbed in local optimum
The contradiction solved.
For solving above-mentioned technical problem, the technical solution used in the present invention is as follows.
A kind of two-dimension code area alignment system of improvement, including,
Image capture module, is used for gathering map data mining platform;
Training module, the sample graph layer that use image capture module collects is as input information, many by being calculated
The individual transmission map data mining platform relevant to sample image;
Characteristic extracting module, uses transmission map data mining platform to put forward the characteristic vector of image capture module collection figure layer
Take;
Tagsort module, for carrying out classification storage to the characteristic vector of figure layer;
Identification module, uses the classification results of figure layer characteristic vector to be identified and the classification results of sample graph layer characteristic vector
Contrast, it is determined that whether figure layer to be identified is two-dimension code area.
The localization method of the two-dimension code area alignment system of a kind of above-mentioned improvement, comprises the following steps:
A, use image capture module 1 gather the sample map data mining platform of training, form sample set;
B, training module 2 calculate the probability that transmission figure layer jth node is 0 or 1,
Wherein, x is sample graph layer, and y is transmission figure layer, and k is the degree of association between sample graph layer and transmission figure layer;
C, training module 2 calculate, according to the information of transmission figure layer, the probability that sample graph layer jth node is 0 or 1,
D, training module 2 calculate the δ making L (δ) must be worth maximum,
The information of transmission figure layer is calculated by δ;
E, using known transmission figure layer as transmission figure layer, repeat step B~D, show that several transmit map data mining platform;
F, characteristic extracting module 3 use transmission map data mining platform to carry out the characteristic vector of image capture module 1 collection figure layer
Extract;
G, tagsort module 4 carry out classification storage to the characteristic vector of figure layer;
H, figure layer to be identified is brought in step F and G, obtain the classification results of figure layer characteristic vector to be identified, use sample
The classification results of this figure layer characteristic vector contrasts with the classification results of figure layer characteristic vector to be identified, it is determined that figure layer to be identified
Whether it is two-dimension code area;If figure layer to be identified is two-dimension code area, realize the location of two-dimension code area, if figure layer to be identified
It not that two-dimension code area then repeats step H, till two-dimension code area being detected.
As preferably, in step E, transmission figure layer and sample graph layer are adjusted.
As preferably, in step F, extract characteristic vector and comprise the following steps,
F1, each transmission figure layer is used to obtain the transformation matrix between transmission figure layer and target figure layer respectively;
F2, obtain the characteristic vector of each transformation matrix;
F3, the most linear incoherent characteristic vector of extraction are as the characteristic vector of target figure layer.
As preferably, in step G, characteristic vector classification is comprised the following steps,
G1, obtain the eigenmatrix of target figure layer gray scale, obtain the characteristic vector of eigenmatrix;
It is right that each characteristic vector of the target figure layer obtained in G1, use step F and the characteristic vector of eigenmatrix are carried out
Ratio, asks for its similarity;
The characteristic vector of target figure layer is divided into 10 groups~20 groups by G3, height according to similarity.
What employing technique scheme was brought has the beneficial effects that: the present invention can automatically carry out feature by multilamellar
Extracting, whole process need not any priori.Feature not only includes color, edge and the texture etc. that existing method extracts
Information, further comprises the Quick Response Code feature of the high abstraction that existing method cannot be extracted.These features substantially increase Quick Response Code
Some existing methods cannot be positioned the image of Quick Response Code, also can accurately position by the efficiency of zone location and precision.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of one detailed description of the invention of the present invention.
In figure: 1, image capture module;2, training module;3, characteristic extracting module;4, tagsort module;5, mould is identified
Block.
Detailed description of the invention
With reference to Fig. 1, one detailed description of the invention of the present invention includes,
Image capture module 1, is used for gathering map data mining platform;
Training module 2, the sample graph layer that use image capture module 1 collects is as input information, by being calculated
Multiple transmission map data mining platform relevant to sample image;
Characteristic extracting module 3, uses transmission map data mining platform to put forward the characteristic vector of image capture module 1 collection figure layer
Take;
Tagsort module 4, for carrying out classification storage to the characteristic vector of figure layer;
Identification module 5, uses the classification results of figure layer characteristic vector to be identified and the classification knot of sample graph layer characteristic vector
Fruit contrasts, it is determined that whether figure layer to be identified is two-dimension code area.
The localization method of the two-dimension code area alignment system of one above-mentioned improvement, comprises the following steps,
A, use image capture module 1 gather the sample map data mining platform of training, form sample set;
B, training module 2 calculate the probability that transmission figure layer jth node is 0 or 1,
Wherein, x is sample graph layer, and y is transmission figure layer, and k is the degree of association between sample graph layer and transmission figure layer;
C, training module 2 calculate, according to the information of transmission figure layer, the probability that sample graph layer jth node is 0 or 1,
D, training module 2 calculate the δ making L (δ) must be worth maximum,
The information of transmission figure layer is calculated by δ;
E, using known transmission figure layer as transmission figure layer, repeat step B~D, show that several transmit map data mining platform;
F, characteristic extracting module 3 use transmission map data mining platform to carry out the characteristic vector of image capture module 1 collection figure layer
Extract;
G, tagsort module 4 carry out classification storage to the characteristic vector of figure layer;
H, figure layer to be identified is brought in step F and G, obtain the classification results of figure layer characteristic vector to be identified, use sample
The classification results of this figure layer characteristic vector contrasts with the classification results of figure layer characteristic vector to be identified, it is determined that figure layer to be identified
Whether it is two-dimension code area;If figure layer to be identified is two-dimension code area, realize the location of two-dimension code area, if figure layer to be identified
It not that two-dimension code area then repeats step H, till two-dimension code area being detected.
In step E, transmission figure layer and sample graph layer are adjusted.During adjustment, use transmission figure layer and sample graph
The characteristic point that in Ceng, texture image is identical is as a reference point, is adjusted the edge of figure layer, and figure tomographic image follows layer edges
Conscientious synchronization control, makes the similarity of whole figure layer remain maximum.This can effectively reduce each transmission figure layer when asking for
The picture distortion produced.
It addition, degree of association k between sample graph layer and transmission figure layer is before every use, the joint once calculated before all using
Point probability and degree of association k are modified,
k′j=kj+P(kj-1-kj),
This can effectively reduce the Acquisition Error impact for whole figure layer characteristic vector of single sample, and it is whole fixed to improve
The serious forgiveness of position process.
The present invention can realize quick two-dimension code area location, and method is easy, and recognition accuracy is high.
Foregoing description is only used as the enforceable technical scheme of the present invention and proposes, single not as to its technical scheme itself
Restrictive condition.
Claims (5)
1. the two-dimension code area alignment system improved, it is characterised in that: include,
Image capture module (1), is used for gathering map data mining platform;
Training module (2), the sample graph layer that use image capture module (1) collects is as input information, by being calculated
Multiple transmission map data mining platform relevant to sample image;
Characteristic extracting module (3), uses transmission map data mining platform to put forward the characteristic vector of image capture module (1) collection figure layer
Take;
Tagsort module (4), for carrying out classification storage to the characteristic vector of figure layer;
Identification module (5), uses the classification results of figure layer characteristic vector to be identified and the classification results of sample graph layer characteristic vector
Contrast, it is determined that whether figure layer to be identified is two-dimension code area.
2. the localization method of the two-dimension code area alignment system of the improvement used described in claim 1, it is characterised in that bag
Include following steps:
A, use image capture module (1) gather the sample map data mining platform trained, and form sample set;
B, training module (2) calculate the probability that transmission figure layer jth node is 0 or 1,
Wherein, x is sample graph layer, and y is transmission figure layer, and k is the degree of association between sample graph layer and transmission figure layer;
C, training module (2) calculate, according to the information of transmission figure layer, the probability that sample graph layer jth node is 0 or 1,
D, training module (2) calculate the δ making L (δ) must be worth maximum,
The information of transmission figure layer is calculated by δ;
E, using known transmission figure layer as transmission figure layer, repeat step B~D, show that several transmit map data mining platform;
F, characteristic extracting module (3) use transmission map data mining platform to carry out the characteristic vector of image capture module (1) collection figure layer
Extract;
G, tagsort module (4) carry out classification storage to the characteristic vector of figure layer;
H, figure layer to be identified is brought in step F and G, obtain the classification results of figure layer characteristic vector to be identified, use sample graph
The layer classification results of characteristic vector contrasts with the classification results of figure layer characteristic vector to be identified, it is determined that whether figure layer to be identified
For two-dimension code area;If figure layer to be identified is two-dimension code area, realize the location of two-dimension code area, if figure layer to be identified is not
Two-dimension code area then repeats step H, till two-dimension code area being detected.
Localization method the most according to claim 2, it is characterised in that: in step E, transmission figure layer and sample graph layer are carried out
Adjust.
Localization method the most according to claim 2, it is characterised in that: in step F, extract characteristic vector and include following step
Suddenly,
F1, each transmission figure layer is used to obtain the transformation matrix between transmission figure layer and target figure layer respectively;
F2, obtain the characteristic vector of each transformation matrix;
F3, the most linear incoherent characteristic vector of extraction are as the characteristic vector of target figure layer.
Localization method the most according to claim 2, it is characterised in that: in step G, include following for characteristic vector classification
Step,
G1, obtain the eigenmatrix of target figure layer gray scale, obtain the characteristic vector of eigenmatrix;
The each characteristic vector of target figure layer obtained in G1, use step F contrasts with the characteristic vector of eigenmatrix, asks
Take its similarity;
The characteristic vector of target figure layer is divided into 10 groups~20 groups by G3, height according to similarity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610409312.7A CN105868676A (en) | 2016-06-13 | 2016-06-13 | Improved two-dimension code region positioning system and positioning method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610409312.7A CN105868676A (en) | 2016-06-13 | 2016-06-13 | Improved two-dimension code region positioning system and positioning method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105868676A true CN105868676A (en) | 2016-08-17 |
Family
ID=56650092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610409312.7A Pending CN105868676A (en) | 2016-06-13 | 2016-06-13 | Improved two-dimension code region positioning system and positioning method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105868676A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897758A (en) * | 2016-12-26 | 2017-06-27 | 蒋涵民 | A kind of QRL for plane consecutive tracking yards and its method for consecutive tracking |
CN107220577A (en) * | 2017-05-12 | 2017-09-29 | 广州智慧城市发展研究院 | A kind of Quick Response Code localization method and system based on machine learning |
CN109800616A (en) * | 2019-01-17 | 2019-05-24 | 柳州康云互联科技有限公司 | A kind of two dimensional code positioning identification system based on characteristics of image |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100084470A1 (en) * | 2008-10-03 | 2010-04-08 | Microsoft Corporation | Two-dimensional barcode localization for camera based devices |
CN102693409A (en) * | 2012-05-18 | 2012-09-26 | 四川大学 | Method for quickly identifying two-dimension code system type in images |
-
2016
- 2016-06-13 CN CN201610409312.7A patent/CN105868676A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100084470A1 (en) * | 2008-10-03 | 2010-04-08 | Microsoft Corporation | Two-dimensional barcode localization for camera based devices |
CN102693409A (en) * | 2012-05-18 | 2012-09-26 | 四川大学 | Method for quickly identifying two-dimension code system type in images |
Non-Patent Citations (2)
Title |
---|
QIAOLING LIU: ""The Multi-QR Codes Extraction Method in Illegible Image Based on Contour Tracing"", 《2011 IEEE INTERNATIONAL CONFERENCE ON ANTI-COUNTERFEITING, SECURITY AND IDENTIFICATION》 * |
刘辉武: ""基于Android的QR码识别及应用研究"", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897758A (en) * | 2016-12-26 | 2017-06-27 | 蒋涵民 | A kind of QRL for plane consecutive tracking yards and its method for consecutive tracking |
CN106897758B (en) * | 2016-12-26 | 2020-02-21 | 蒋涵民 | QRL code for plane continuous positioning and continuous positioning method thereof |
CN107220577A (en) * | 2017-05-12 | 2017-09-29 | 广州智慧城市发展研究院 | A kind of Quick Response Code localization method and system based on machine learning |
CN109800616A (en) * | 2019-01-17 | 2019-05-24 | 柳州康云互联科技有限公司 | A kind of two dimensional code positioning identification system based on characteristics of image |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108846835B (en) | Image change detection method based on depth separable convolutional network | |
CN108182413B (en) | Mine moving target detection and tracking identification method | |
CN101996401B (en) | Target analysis method and apparatus based on intensity image and depth image | |
CN110969166A (en) | Small target identification method and system in inspection scene | |
CN102509118B (en) | Method for monitoring video retrieval | |
CN109657716A (en) | A kind of vehicle appearance damnification recognition method based on deep learning | |
CN102541954B (en) | Method and system for searching trademarks | |
CN105160310A (en) | 3D (three-dimensional) convolutional neural network based human body behavior recognition method | |
CN103208008A (en) | Fast adaptation method for traffic video monitoring target detection based on machine vision | |
CN101551852B (en) | Training system, training method and detection method | |
CN102129573A (en) | SAR (Synthetic Aperture Radar) image segmentation method based on dictionary learning and sparse representation | |
CN104408482A (en) | Detecting method for high-resolution SAR (Synthetic Aperture Radar) image object | |
CN110991397B (en) | Travel direction determining method and related equipment | |
CN104036289A (en) | Hyperspectral image classification method based on spatial and spectral features and sparse representation | |
CN101515328B (en) | Local projection preserving method for identification of statistical noncorrelation | |
CN104077596A (en) | Landmark-free tracking registering method | |
CN105069811A (en) | Multi-temporal remote sensing image change detection method | |
CN105160303A (en) | Fingerprint identification method based on mixed matching | |
CN105279772A (en) | Trackability distinguishing method of infrared sequence image | |
CN105069774A (en) | Object segmentation method based on multiple-instance learning and graph cuts optimization | |
CN105868676A (en) | Improved two-dimension code region positioning system and positioning method thereof | |
CN105184317A (en) | License plate character segmentation method based on SVM classification | |
CN103226825B (en) | Based on the method for detecting change of remote sensing image of low-rank sparse model | |
CN106295556A (en) | A kind of Approach for road detection based on SUAV Aerial Images | |
CN103530612B (en) | Fast target detection method based on a small amount of sample |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |
|
WD01 | Invention patent application deemed withdrawn after publication |