CN103699869A - Method and device for recognizing two-dimension codes - Google Patents

Method and device for recognizing two-dimension codes Download PDF

Info

Publication number
CN103699869A
CN103699869A CN201310742473.4A CN201310742473A CN103699869A CN 103699869 A CN103699869 A CN 103699869A CN 201310742473 A CN201310742473 A CN 201310742473A CN 103699869 A CN103699869 A CN 103699869A
Authority
CN
China
Prior art keywords
position sensing
quick response
response code
tlv triple
component characteristic
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.)
Granted
Application number
CN201310742473.4A
Other languages
Chinese (zh)
Other versions
CN103699869B (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.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN201310742473.4A priority Critical patent/CN103699869B/en
Publication of CN103699869A publication Critical patent/CN103699869A/en
Application granted granted Critical
Publication of CN103699869B publication Critical patent/CN103699869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for recognizing two-dimension codes. The method comprises the following steps of: recognizing all position detection graphics from an acquired picture; searching out position detection graphic triples conforming to the composition characteristics of the two-dimension codes from all the position detection graphics, wherein the composition characteristics of the two-dimension codes comprise the fact that two shortest connecting lines in the three connecting lines formed among the position detection graphics in the position detection graphic triples are vertical to each other and equal in length; determining the areas of the two-dimension codes on the basis of the searched-out position detection graphic triples; recognizing information of the two-dimension codes from the determined areas of the two-dimension codes. The method and the device for recognizing the two-dimension codes provided by the invention have the advantages that fast and batch recognition of the information contained by the multiple two-dimension codes can be realized under the condition without the help of a camera.

Description

A kind of Quick Response Code recognition methods and device
Technical field
The present invention relates to mobile communication technology field, more specifically, relate to a kind of Quick Response Code recognition methods and device.
 
Background technology
QR(Quick Response, rapid reaction) Quick Response Code is a kind of matrix two-dimensional code symbol of being invented in 1994 and brought into use by the Denso Wave of subsidiary company of Japanese Toyota.Not only information capacity is large, reliability is high for QR Quick Response Code, cost is low, also can represent that the kinds of words information such as Chinese character and image, its security and antiforge purpose are strong and very easy to use.Therefore, worldwide start soon a large amount of uses.
At present, the information analysis of this Quick Response Code generally adopts camera scanning two-dimension code image, thereby obtains the information comprising in Quick Response Code; This traditional Quick Response Code analysis mode, need aim at two-dimension code image by the camera of scanning device in hand mobile devices such as (normally) mobile phones and go scanning, resolve and just can obtain the information comprising in two-dimension code image, the 2 D code information parsing can be presented on scanning device.Along with the widespread use of Quick Response Code, in picture, occur that the probability of Quick Response Code is also more and more, even in a webpage, sometimes can comprise a plurality of Quick Response Codes.In the time of this, if the Quick Response Code in webpage is taken to scanning one by one by the camera of scanning device, there will be some problems: need to utilize camera scan repeatedly to adjust to Quick Response Code and make to take frame aligning Quick Response Code and Quick Response Code could be identified, operate and be not very convenient and need to expend certain hour, while there is a plurality of Quick Response Code in the page, also need to scan one by one, very inconvenient.For example, user passes by billboard, has a plurality of Quick Response Codes above, if user wants to obtain these 2 D code informations, need to stop and take out mobile phone and scan singly, expends the plenty of time.
Summary of the invention
The object of the invention is to propose a kind of Quick Response Code recognition methods and device, can, not by camera in the situation that, realize batch identification rapidly and go out the information that in picture, a plurality of Quick Response Codes comprise.
According to an aspect of the present invention, provide a kind of Quick Response Code recognition methods, having comprised: from obtained picture, identified each position sensing figure; From described each position sensing figure, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic, described Quick Response Code component characteristic comprises: in three lines that form between the position sensing figure in described position sensing figure tlv triple, the shortest two lines of length are vertical and equal in length; Position sensing figure tlv triple based on searched out, determines Quick Response Code region; From determined Quick Response Code region, parse 2 D code information, wherein, in determined Quick Response Code region, exist a plurality of based on position sensing figure tlv triple when comprising same position and surveying the Quick Response Code region of figure and parse 2 D code information from one of them Quick Response Code region, the untreated Quick Response Code region in the plurality of Quick Response Code region is not resolved.
According to an aspect of the present invention, provide a kind of two-dimension code recognition device, having comprised: position sensing figure identification module, identifies each position sensing figure for the picture from obtained; Search module, for searching out from described each position sensing figure the position sensing figure tlv triple that meets Quick Response Code component characteristic, described Quick Response Code component characteristic comprises: in three lines that form between the position sensing figure in described position sensing figure tlv triple, the shortest two lines of length are vertical and equal in length; Quick Response Code determination module, for the position sensing figure tlv triple based on searched out, determines Quick Response Code region; Quick Response Code parsing module, for parsing 2 D code information from determined Quick Response Code region, wherein, in determined Quick Response Code region, exist a plurality of based on position sensing figure tlv triple when comprising same position and surveying the Quick Response Code region of figure and parse 2 D code information from one of them Quick Response Code region, the untreated Quick Response Code region in the plurality of Quick Response Code region is not resolved.
Said method and device that the present invention proposes identify all position sensing figures from picture; Obtain the position sensing figure tlv triple that meets Quick Response Code component characteristic, according to position sensing figure tlv triple, can from picture, determine the region that represents of Quick Response Code; The information that Quick Response Code comprises that obtains is resolved in the region that represents to definite Quick Response Code; The Quick Response Code recognition methods that the present invention proposes and device do not need the auxiliary of camera, and batch identification goes out the information that a plurality of Quick Response Codes comprise rapidly.
In order to realize above-mentioned relevant object, one or more aspects of the present invention comprise below by the feature that describes in detail and particularly point out in the claims.Explanation below and accompanying drawing describe some illustrative aspects of the present invention in detail.Yet, the indication of these aspects be only some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
 
Accompanying drawing explanation
According to following detailed description of carrying out with reference to accompanying drawing, above and other object of the present invention, feature and advantage will become more apparent.In the accompanying drawings:
Fig. 1 shows the process flow diagram of the Quick Response Code recognition methods of embodiments of the invention;
Fig. 2 to Fig. 5 shows the schematic diagram of Quick Response Code component characteristic;
Fig. 6 shows the schematic diagram of determining Quick Response Code region;
Fig. 7 a to Fig. 7 g shows the schematic diagram that utilizes scan box scanning position to survey figure;
Fig. 8 shows tlv triple and meets Quick Response Code component characteristic, but can not form the tlv triple schematic diagram of Quick Response Code;
Fig. 9 shows another process flow diagram of the Quick Response Code recognition methods of embodiments of the invention;
Figure 10 shows the block diagram of the two-dimension code recognition device of embodiments of the invention;
Figure 11 shows another block diagram of the two-dimension code recognition device of embodiments of the invention.
In institute's drawings attached, identical label is indicated similar or corresponding feature or function.
Embodiment
Various aspects of the present disclosure are described below.Should be understood that, instruction herein can be with varied form imbody, and disclosed any concrete structure, function or both are only representational in this article.Instruction based on herein, those skilled in the art should be understood that, an aspect disclosed herein can be independent of any other side and realize, and the two or more aspects in these aspects can combine according to variety of way.For example, can use the aspect of any number described in this paper, implement device or hands-on approach.In addition, can use other structure, function or except one or more aspects described in this paper or be not the 26S Proteasome Structure and Function of one or more aspects described in this paper, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
Each embodiment of the present invention is described below with reference to accompanying drawings.
The present invention proposes a kind of Quick Response Code recognition methods, and Fig. 1 shows the process flow diagram of the Quick Response Code recognition methods of embodiments of the invention, comprising step:
S1, from obtained picture, identify each position sensing figure; Particularly, can utilize all position sensing figures on third-party software (as the ZXing software of increasing income, it is the java class storehouse of increasing income) identifying purpose webpage capture;
In an example of the present invention, described picture can be the photo that camera is taken, and can be also the sectional drawing of webpage, or the picture in other sources.
After identifying each position sensing figure, proceed to step S2.
S2, from each position sensing figure, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic; Wherein, Quick Response Code component characteristic comprises: in three lines that form between the position sensing figure in position sensing figure tlv triple, the shortest two lines of length are vertical and equal in length.Concrete, term " position sensing figure tlv triple " refers to that the position sensing figure being comprised of three position sensing figures combines.
For better understanding Quick Response Code component characteristic, can be with reference to shown in accompanying drawing 2, position sensing figure A, B, C; Wherein, the line of position sensing figure A, B is d1; The line of position sensing figure A, C is d2; The line of position sensing figure C, B is d3; D1 and d2 are 2 the shortest in three lines, and wherein, d1 and d2 are equal in length, and d1 is vertical with d2; Quick Response Code can also be the state obtaining as shown in Figures 3 to 5 that is rotated on Fig. 1 basis, can also be other states, in the drawings example one by one not.
Concrete, the step that searches out the position sensing figure tlv triple that meets Quick Response Code component characteristic can adopt but be not limited to following mode:
Set up the horizontal rectangular coordinate system of display screen place plane; Obtain X, the Y coordinate figure of each position sensing figure;
The X of three position sensing figures based on found out, Y coordinate figure, according to the coordinate figure of each position sensing figure, calculate the length of three lines that form between the position sensing figure in position sensing figure tlv triple, and the angle of the shortest two lines of length wherein;
According to the length of three lines and the angle of the shortest two lines of length wherein, from divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
Be understandable that, can also, based on other reference point, set up the coordinate system not identical with the present embodiment.
After searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic, proceed to step S3.
S3, the position sensing figure tlv triple based on determined, determine Quick Response Code region; While wherein, determining Quick Response Code region, can adopt but be not limited to following mode and determine:
Fig. 6 shows the schematic diagram of determining Quick Response Code region, for ease of explanation, usings the QR Quick Response Code of standard as example; Wherein, A, B, C are position sensing figure; The method of determining Quick Response Code region comprises step:
1) obtain the distance K2 at center and the position sensing figure B center of position sensing figure A, obtain the center of position sensing figure A and the vertical range K1 of position sensing figure A left side edge; Obtain the vertical range K3 of position sensing figure B center and position sensing figure B right side edge;
2) and the distance L 2 of obtaining center and the position sensing figure C center of position sensing figure A; Obtain the center of position sensing figure A and the vertical range L1 of position sensing figure A coboundary; Obtain the vertical range L3 of position sensing figure C center and position sensing figure C lower limb;
3) shape due to QR Quick Response Code is a square, i.e. K1+K2+K3=L1+L2+L3 can determine the region that represents of Quick Response Code according to L1+L2+L3; As shown in the black thick dashed line frame of Fig. 6.
After determining Quick Response Code region, proceed to step S4.
S4, in pending Quick Response Code region, choose a Quick Response Code region.Because determined position sensing figure tlv triple may have a plurality ofly, the Quick Response Code region determined also exists a plurality of, while choosing, can choose successively according to a definite sequence, for example from left to right, from top to bottom.
Next, proceed to step S5.
S5, judge whether to exist based on the position sensing figure tlv triple Quick Response Code region that comprises the position sensing figure identical with selected Quick Response Code region.For example, selected Quick Response Code region Q based on position sensing figure tlv triple comprise position sensing figure a, b, c, another Quick Response Code region Q1 comprises position sensing figure c, d, e, represent to exist based on the position sensing figure tlv triple Quick Response Code region Q1 that comprises the position sensing figure c identical with selected Quick Response Code region Q.If judgment result is that to be, enter step S6; If the determination result is NO, enter step S7.
S6, judge whether to parse 2 D code information from one of them Quick Response Code region.Particularly, be judge whether from based on position sensing figure tlv triple parse 2 D code information with the Quick Response Code region that selected Quick Response Code region has identical position sensing figure.If so, enter step S8; Otherwise enter step S7.
S7, from selected Quick Response Code region, parse 2 D code information; Proceed to step S9.
S8, abandon the parsing to selected Quick Response Code region; Proceed to step S9.
S9, judge whether to also have untreated Quick Response Code region.If so, proceed to step S4; If not, flow process finishes.
The said method that the present invention proposes identifies all position sensing figures from picture; Obtain the position sensing figure tlv triple that meets Quick Response Code component characteristic, according to position sensing figure tlv triple, can from picture, determine the region that represents of Quick Response Code; The information that Quick Response Code comprises that obtains is resolved in the region that represents to definite Quick Response Code; The Quick Response Code recognition methods that the present invention proposes and device do not need the auxiliary of camera, and batch identification goes out the information that a plurality of Quick Response Codes comprise rapidly.
What it will be appreciated by those skilled in the art that is, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, for example, those steps or unit that the process that has comprised series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise clearly do not list or for these processes, method, product or equipment intrinsic other step or unit.
Wherein, in step S2, while searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic from each position sensing figure, can adopt but be not limited to following 2 kinds of modes to search out the position sensing figure tlv triple that meets Quick Response Code component characteristic:
Mode one: each position sensing figure is grouped into a plurality of position sensing figure tlv triple according to every ternary mode; According to Quick Response Code component characteristic, search out the position sensing figure tlv triple meeting.
 
Mode two: utilize scan box, according to the mode of scanning line by line, each position sensing figure is grouped into a plurality of position sensing figure tlv triple; From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
When employing mode two, for ease of understanding, below elaborate; Concrete, referring to Fig. 7 a to Fig. 7 c, this three width figure is the schematic diagram while utilizing scan box to carry out tlv triple grouping; The size of scan box is configured to the size of Quick Response Code, and wherein, the size of Quick Response Code can obtain based on experience value; Be understandable that, the size of scan box can be adjusted according to actual needs.As Fig. 7 a, in scan box, there are three position sensing figures, judge whether its combination meets Quick Response Code component characteristic, if so, storage, otherwise abandon this array configuration, according to the mode of lining by line scan, enter Fig. 7 b; In scan box, there are three position sensing figures, judge whether its combination meets Quick Response Code component characteristic, if so, storage, otherwise abandon this array configuration, according to the mode of lining by line scan, enter Fig. 7 c.
Be understandable that, when scan box size is larger, the position sensing figure that scan box obtains by scanning has a plurality of, as shown in Fig. 7 d, in scan box, be numbered 1,2,3,4,55 position sensing figures altogether, can form 10 kinds of tlv triple, judgement is respectively organized tlv triple and whether is met Quick Response Code component characteristic, if, storage, otherwise abandon this array configuration, the mode according to scanning line by line, enters Fig. 7 e.In Fig. 7 e, in scan box, there are 5 position sensing figures, can form 10 kinds of tlv triple, can form 10 kinds of tlv triple, judgement is respectively organized tlv triple and whether is met Quick Response Code component characteristic, if so, storage, otherwise abandon this array configuration, the mode according to scanning line by line, enters Fig. 7 f.In Fig. 7 f, in scan box, there are 5 position sensing figures, can form 10 kinds of tlv triple, can form 10 kinds of tlv triple, judgement is respectively organized tlv triple and whether is met Quick Response Code component characteristic, if, storage, otherwise abandon the array configuration of this tlv triple, the mode according to scanning line by line, enters Fig. 7 g.By that analogy, until all position sensing graph scannings are complete.
In one or more above-mentioned embodiment, after searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic, because although some tlv triple meets Quick Response Code component characteristic, but this tlv triple can not form Quick Response Code, as shown in Figure 8, although position sensing figure 1, 4, 6 tlv triple that form meet Quick Response Code component characteristic, but position sensing figure 1, 4, the 6th, impossible composition Quick Response Code, if also being carried out to parsing, the position sensing figure tlv triple of this class can there is the not high enough problem of efficiency, in order to raise the efficiency, the present embodiment has been done following improvement: after searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic, judge between two position sensing figures of two arbitrary lines in line and whether have other position sensing figures, between two position sensing figures of the arbitrary line in three lines that form between the position sensing figure in the position sensing figure tlv triple that searches out of judgement in the shortest two lines of length, whether there is other position sensing figures, when existing, delete corresponding position sensing figure tlv triple, when not existing, the position sensing figure tlv triple based on searched out, determines Quick Response Code region.
In one embodiment, based on Fig. 1 embodiment, improve, the implementing procedure of the Quick Response Code recognition methods that the present invention proposes can be with reference to figure 9, and Fig. 9 is another process flow diagram of the embodiment of the present invention, comprising:
As shown in Figure 9, in S901, from obtained picture, identify each position sensing figure; Then carry out step S902.
In S902, from each position sensing figure, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic; Carry out step S903.
In S903, judge between two position sensing figures of two arbitrary lines in line whether have other position sensing figures; Between two position sensing figures of the arbitrary line in three lines that form between the position sensing figure in the position sensing figure tlv triple that searches out of judgement in the shortest two lines of length, whether there is other position sensing figures, when existing, carry out step S904; When not existing, carry out step S905.
In S904, delete corresponding position sensing figure tlv triple;
In S905, the position sensing figure tlv triple based on searched out, determines Quick Response Code region;
In S906, the information that Quick Response Code comprises that obtains is resolved in Quick Response Code region.
 
In an example of the present invention, the size of scan box can manually be arranged by user, also can allow system automatically adjust.Scan box, can also manually be moved, and when whenever necessary, can change according to manual operation the position of scan box.
 
The present invention also provides a kind of two-dimension code recognition device, and Figure 10 shows the block diagram of two-dimension code recognition device 100 of the present invention.
As shown in the figure, described two-dimension code recognition device 100 comprises: position sensing figure identification module 101, identifies each position sensing figure for the picture from obtained; Search module 102, for searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic from each position sensing figure; Wherein, Quick Response Code component characteristic comprises: in three lines that form between the position sensing figure in position sensing figure tlv triple, the shortest two lines of length are vertical and equal in length; Quick Response Code determination module 103, for the position sensing figure tlv triple based on determined, determines Quick Response Code region; Quick Response Code parsing module 104, parses 2 D code information for the Quick Response Code region from determined; Judge module 105, for judge in determined Quick Response Code region, exist a plurality of based on position sensing figure tlv triple whether comprise same position and survey the Quick Response Code region of figure and parse 2 D code information from one of them Quick Response Code region; When judgment result is that while being, described Quick Response Code parsing module is not resolved the untreated Quick Response Code region in the plurality of Quick Response Code region.
The said method that the present invention proposes identifies all position sensing figures from obtained picture; Obtain the position sensing figure tlv triple that meets Quick Response Code component characteristic, according to position sensing figure tlv triple, can from picture, determine the region that represents of Quick Response Code; The information that Quick Response Code comprises that obtains is resolved in the region that represents to definite Quick Response Code; The Quick Response Code recognition methods that the present invention proposes and device do not need the auxiliary of camera, and batch identification goes out the information that a plurality of Quick Response Codes comprise rapidly.
In one or more embodiment of the present invention, in order to reduce invalid tlv triple, improve Quick Response Code analyzing efficiency, invalid tlv triple refers to these tlv triple can not form Quick Response Code; Therefore, done following improvement, its block diagram please refer to Figure 11:
As shown in figure 11, two-dimension code recognition device 100 also comprises removal module 106.While there are other position sensing figures between two position sensing figures of the arbitrary line in three lines that form between the position sensing figure of described removal module 106 for the position sensing figure tlv triple searched out in the shortest two lines of length, remove this position sensing figure tlv triple.
 
In one or more embodiment of the present invention, when search module 102 searches out the position sensing figure tlv triple that meets Quick Response Code component characteristic from each position sensing figure, can adopt but be not limited to following 2 kinds of modes to search out the position sensing figure tlv triple that meets Quick Response Code component characteristic:
Mode one, search module are grouped into a plurality of position sensing figure tlv triple by each position sensing figure according to every ternary mode; From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
Mode two, search module utilize scan box that each position sensing figure is grouped into a plurality of position sensing figure tlv triple;
From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
In one or more embodiment of the present invention, search module 102, from divided into groups position sensing figure tlv triple, while searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic, obtains X, the Y coordinate figure of each position sensing figure;
The X of three position sensing figures based on found out, Y coordinate figure, from divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
In one or more embodiment of the present invention, the size of scan box is manually arranged by user.
In one or more embodiment of the present invention, the size of scan box is selected according to Quick Response Code size.
 
In addition, typically, mobile terminal of the present invention can be the various hand-held terminal devices with Bluetooth function, for example, have mobile phone, the PDA(Personal Digital Assistant) of Bluetooth function.
In addition, the method according to this invention can also be implemented as the computer program that the processor (such as CPU) in mobile terminal is carried out, and is stored in the storer of mobile terminal.When this computer program is executed by processor, carry out the above-mentioned functions limiting in method of the present invention.
In addition, the method according to this invention can also be embodied as a kind of computer program, this computer program comprises computer-readable medium, stores for carrying out the computer program of the above-mentioned functions that method of the present invention limits on this computer-readable medium.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
Although disclosed content shows exemplary embodiment of the present invention above, it should be noted that under the prerequisite of scope of the present invention that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of inventive embodiments described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Although described each embodiment according to the present invention above with reference to figure, be described, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, can also on the basis that does not depart from content of the present invention, make various improvement.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (14)

1. a Quick Response Code recognition methods, comprising:
From obtained picture, identify each position sensing figure;
From described each position sensing figure, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic, described Quick Response Code component characteristic comprises: in three lines that form between the position sensing figure in described position sensing figure tlv triple, the shortest two lines of length are vertical and equal in length; Position sensing figure tlv triple based on searched out, determines Quick Response Code region;
From determined Quick Response Code region, parse 2 D code information,
Wherein, in determined Quick Response Code region, exist a plurality of based on position sensing figure tlv triple when comprising same position and surveying the Quick Response Code region of figure and parse 2 D code information from one of them Quick Response Code region, the untreated Quick Response Code region in the plurality of Quick Response Code region is not resolved.
2. Quick Response Code recognition methods according to claim 1, searches out after the step of position sensing figure tlv triple described, and described method also comprises:
While there are other position sensing figures between two position sensing figures of the arbitrary line in three lines that form between the position sensing figure in searched out position sensing figure tlv triple in the shortest two lines of length, remove this position sensing figure tlv triple.
3. Quick Response Code recognition methods according to claim 1 wherein, searches out the position sensing figure tlv triple that meets Quick Response Code component characteristic and comprises from described each position sensing figure:
Described each position sensing figure is grouped into a plurality of position sensing figure tlv triple according to every ternary mode;
From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
4. Quick Response Code recognition methods according to claim 1 wherein, searches out the position sensing figure tlv triple that meets Quick Response Code component characteristic and comprises from described each position sensing figure:
Utilize scan box that described each position sensing figure is grouped into a plurality of position sensing figure tlv triple;
From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
5. according to the Quick Response Code recognition methods described in claim 3 or 4, wherein, described from divided into groups position sensing figure tlv triple, the step that searches out the position sensing figure tlv triple that meets Quick Response Code component characteristic comprises:
Obtain X, the Y coordinate figure of each position sensing figure;
The X of three position sensing figures based on found out, Y coordinate figure, from divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
6. Quick Response Code recognition methods according to claim 4, wherein, the size of described scan box is manually arranged by user.
7. Quick Response Code recognition methods according to claim 4, wherein, the size of described scan box is selected according to Quick Response Code size.
8. a two-dimension code recognition device, comprising:
Position sensing figure identification module, identifies each position sensing figure for the picture from obtained;
Search module, for searching out from described each position sensing figure the position sensing figure tlv triple that meets Quick Response Code component characteristic, described Quick Response Code component characteristic comprises: in three lines that form between the position sensing figure in described position sensing figure tlv triple, the shortest two lines of length are vertical and equal in length;
Quick Response Code determination module, for the position sensing figure tlv triple based on searched out, determines Quick Response Code region;
Quick Response Code parsing module, parses 2 D code information for the Quick Response Code region from determined,
Judge module, for judge in determined Quick Response Code region, exist a plurality of based on position sensing figure tlv triple whether comprise same position and survey the Quick Response Code region of figure and parse 2 D code information from one of them Quick Response Code region; Wherein, when judgment result is that while being, described Quick Response Code parsing module is not resolved the untreated Quick Response Code region in the plurality of Quick Response Code region.
9. two-dimension code recognition device according to claim 8, described two-dimension code recognition device also comprises:
Remove module;
Wherein, while there are other position sensing figures between two position sensing figures of described removal module for the arbitrary line in two the shortest lines of length in three lines that form between the position sensing figure of searched out position sensing figure tlv triple, remove this position sensing figure tlv triple.
10. two-dimension code recognition device according to claim 8, wherein, described search module is grouped into a plurality of position sensing figure tlv triple by described each position sensing figure according to every ternary mode;
From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
11. two-dimension code recognition devices according to claim 8, wherein, described search module utilizes scan box that described each position sensing figure is grouped into a plurality of position sensing figure tlv triple;
From divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
12. according to the two-dimension code recognition device described in claim 10 or 11, wherein, described search module, from divided into groups position sensing figure tlv triple, while searching out the position sensing figure tlv triple that meets Quick Response Code component characteristic, obtains X, the Y coordinate figure of each position sensing figure;
The X of three position sensing figures based on found out, Y coordinate figure, from divided into groups position sensing figure tlv triple, search out the position sensing figure tlv triple that meets Quick Response Code component characteristic.
13. two-dimension code recognition devices according to claim 11, wherein, the size of described scan box is manually arranged by user.
14. two-dimension code recognition devices according to claim 11, wherein, the size of described scan box is selected according to Quick Response Code size.
CN201310742473.4A 2013-12-30 2013-12-30 Method and device for recognizing two-dimension codes Active CN103699869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310742473.4A CN103699869B (en) 2013-12-30 2013-12-30 Method and device for recognizing two-dimension codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310742473.4A CN103699869B (en) 2013-12-30 2013-12-30 Method and device for recognizing two-dimension codes

Publications (2)

Publication Number Publication Date
CN103699869A true CN103699869A (en) 2014-04-02
CN103699869B CN103699869B (en) 2017-02-01

Family

ID=50361393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310742473.4A Active CN103699869B (en) 2013-12-30 2013-12-30 Method and device for recognizing two-dimension codes

Country Status (1)

Country Link
CN (1) CN103699869B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363400A (en) * 2014-10-29 2015-02-18 广东欧珀移动通信有限公司 Method and device for scanning local two-dimensional codes
CN104848858A (en) * 2015-06-01 2015-08-19 北京极智嘉科技有限公司 Two-dimensional code and vision-inert combined navigation system and method for robot
CN105046186A (en) * 2015-08-27 2015-11-11 北京恒华伟业科技股份有限公司 Two-dimensional code recognition method and device
CN105184203A (en) * 2015-06-29 2015-12-23 努比亚技术有限公司 Method and device for mobile terminal to scan two-dimension code
CN105303148A (en) * 2015-12-08 2016-02-03 深圳天珑无线科技有限公司 Bar code scanning method and device
CN106156685A (en) * 2016-07-07 2016-11-23 立德高科(昆山)数码科技有限责任公司 The method of multiple Quick Response Codes, device and the terminal that recognition is in the same area
CN106326802A (en) * 2016-08-19 2017-01-11 腾讯科技(深圳)有限公司 Two-dimensional code correction method and device and terminal device
CN106446737A (en) * 2016-08-30 2017-02-22 西安小光子网络科技有限公司 Fast recognition method for multiple optical labels
CN104268498B (en) * 2014-09-29 2017-09-19 杭州华为数字技术有限公司 A kind of recognition methods of Quick Response Code and terminal
WO2017157034A1 (en) * 2016-03-15 2017-09-21 中兴通讯股份有限公司 Method, device, and storage medium for identifying two-dimensional code
CN104182712B (en) * 2014-08-22 2017-09-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107704793A (en) * 2016-07-07 2018-02-16 立德高科(昆山)数码科技有限责任公司 According to the size of Quick Response Code with automatically adjust recognition area size method and device
CN107818282A (en) * 2017-09-30 2018-03-20 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN107832652A (en) * 2017-09-28 2018-03-23 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN108510266A (en) * 2018-03-21 2018-09-07 维沃移动通信有限公司 A kind of Digital Object Unique Identifier recognition methods and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924899A (en) * 2006-09-26 2007-03-07 福建榕基软件开发有限公司 Precise location method of QR code image symbol region at complex background
US20110085732A1 (en) * 2009-10-09 2011-04-14 Ting-Yuan Cheng Qr code processing method and apparatus thereof
CN103177235A (en) * 2013-04-18 2013-06-26 河海大学常州校区 Chinese-sensible code recognition device and Chinese-sensible code recognition method under complicated background

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924899A (en) * 2006-09-26 2007-03-07 福建榕基软件开发有限公司 Precise location method of QR code image symbol region at complex background
US20110085732A1 (en) * 2009-10-09 2011-04-14 Ting-Yuan Cheng Qr code processing method and apparatus thereof
CN103177235A (en) * 2013-04-18 2013-06-26 河海大学常州校区 Chinese-sensible code recognition device and Chinese-sensible code recognition method under complicated background

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182712B (en) * 2014-08-22 2017-09-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104268498B (en) * 2014-09-29 2017-09-19 杭州华为数字技术有限公司 A kind of recognition methods of Quick Response Code and terminal
CN104363400A (en) * 2014-10-29 2015-02-18 广东欧珀移动通信有限公司 Method and device for scanning local two-dimensional codes
CN104848858A (en) * 2015-06-01 2015-08-19 北京极智嘉科技有限公司 Two-dimensional code and vision-inert combined navigation system and method for robot
CN105184203A (en) * 2015-06-29 2015-12-23 努比亚技术有限公司 Method and device for mobile terminal to scan two-dimension code
CN105046186A (en) * 2015-08-27 2015-11-11 北京恒华伟业科技股份有限公司 Two-dimensional code recognition method and device
CN105046186B (en) * 2015-08-27 2018-06-29 北京恒华伟业科技股份有限公司 A kind of recognition methods of Quick Response Code and device
CN105303148A (en) * 2015-12-08 2016-02-03 深圳天珑无线科技有限公司 Bar code scanning method and device
CN105303148B (en) * 2015-12-08 2019-04-02 深圳天珑无线科技有限公司 Bar code scanning method and device
WO2017157034A1 (en) * 2016-03-15 2017-09-21 中兴通讯股份有限公司 Method, device, and storage medium for identifying two-dimensional code
CN106156685A (en) * 2016-07-07 2016-11-23 立德高科(昆山)数码科技有限责任公司 The method of multiple Quick Response Codes, device and the terminal that recognition is in the same area
CN107704793A (en) * 2016-07-07 2018-02-16 立德高科(昆山)数码科技有限责任公司 According to the size of Quick Response Code with automatically adjust recognition area size method and device
CN106326802B (en) * 2016-08-19 2018-07-27 腾讯科技(深圳)有限公司 Quick Response Code bearing calibration, device and terminal device
CN106326802A (en) * 2016-08-19 2017-01-11 腾讯科技(深圳)有限公司 Two-dimensional code correction method and device and terminal device
CN106446737A (en) * 2016-08-30 2017-02-22 西安小光子网络科技有限公司 Fast recognition method for multiple optical labels
CN106446737B (en) * 2016-08-30 2019-07-09 西安小光子网络科技有限公司 A kind of method for quickly identifying of multiple optical labels
CN107832652A (en) * 2017-09-28 2018-03-23 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN107818282A (en) * 2017-09-30 2018-03-20 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer-readable recording medium
CN107818282B (en) * 2017-09-30 2020-04-28 努比亚技术有限公司 Two-dimensional code identification method, terminal and computer readable storage medium
CN108510266A (en) * 2018-03-21 2018-09-07 维沃移动通信有限公司 A kind of Digital Object Unique Identifier recognition methods and mobile terminal

Also Published As

Publication number Publication date
CN103699869B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN103699869A (en) Method and device for recognizing two-dimension codes
CN103714313A (en) Two-dimension code recognizing method and device
CN107885430B (en) Audio playing method and device, storage medium and electronic equipment
US10025985B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable storage medium storing program
JP4727614B2 (en) Image processing apparatus, control program, computer-readable recording medium, electronic apparatus, and control method for image processing apparatus
CN109074657B (en) Target tracking method and device, electronic equipment and readable storage medium
CN106777007A (en) Photograph album Classified optimization method, device and mobile terminal
US11288307B2 (en) Method, electronic device, and computer readable medium for photo organization
CN104199906B (en) A kind of recommendation method and device of shooting area
CN104428792A (en) Parameter selection and coarse localization of regions of interest for MSER processing
US8917957B2 (en) Apparatus for adding data to editing target data and displaying data
US20180225542A1 (en) Image information recognition processing method and device, and computer storage medium
JP4727615B2 (en) Image processing apparatus, control program, computer-readable recording medium, electronic apparatus, and control method for image processing apparatus
US20150169948A1 (en) Electronic apparatus and method
WO2014014678A1 (en) Feature extraction and use with a probability density function and divergence|metric
CN112560862B (en) Text recognition method and device and electronic equipment
US20130236069A1 (en) Face Recognition System and Face Recognition Method Thereof
JP2008250949A5 (en)
CN112949661B (en) Detection frame self-adaptive external expansion method and device, electronic equipment and storage medium
JP2008250950A (en) Image processor, control program, computer-readable recording medium, electronic equipment and control method of image processor
JP2008250950A5 (en)
JP2008250951A5 (en)
KR101747299B1 (en) Method and apparatus for displaying data object, and computer readable storage medium
CN102831428A (en) Method for extracting quick response matrix code region in image
CN104537082A (en) File sorting display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100083, Haidian District, Beijing, Fu Cheng Road, No. 28 excellent building, block A, floor 12

Applicant after: Excelle View Technology Co., Ltd.

Address before: 100080 Beijing City, Haidian District Suzhou Street No. 29 building 16 room 10-20 Scandinavia

Applicant before: Excelle View Technology Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 310052 room 508, 5th floor, building 4, No. 699 Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100083 12 / F, block a, Yousheng building, 28 Chengfu Road, Haidian District, Beijing

Patentee before: UC MOBILE Ltd.