CN106156674B - A kind of recognition methods and electronic equipment - Google Patents

A kind of recognition methods and electronic equipment Download PDF

Info

Publication number
CN106156674B
CN106156674B CN201510150054.0A CN201510150054A CN106156674B CN 106156674 B CN106156674 B CN 106156674B CN 201510150054 A CN201510150054 A CN 201510150054A CN 106156674 B CN106156674 B CN 106156674B
Authority
CN
China
Prior art keywords
dimensional code
binary image
template
pixel
value
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.)
Active
Application number
CN201510150054.0A
Other languages
Chinese (zh)
Other versions
CN106156674A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510150054.0A priority Critical patent/CN106156674B/en
Publication of CN106156674A publication Critical patent/CN106156674A/en
Application granted granted Critical
Publication of CN106156674B publication Critical patent/CN106156674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a kind of recognition methods and electronic equipments, which comprises obtains image data;Binary conversion treatment is carried out to described image data, obtains binary image;Based on preset standard setting template pixel ratio, all locating templates in the binary image are determined;According to position of each locating template in the binary image, multiple two dimensional codes in the binary image are determined.The present invention passes through after acquisition is obtained there may be the image data of multiple two dimensional codes, binary conversion treatment is carried out to the image data, and then all locating templates in binary image are determined based on standard setting template pixel ratio, determine all two dimensional codes in entire binary image according to position of each locating template in binary image again later, it realizes while identifying multiple two dimensional codes in an image, thus improve the recognition efficiency of two dimensional code.

Description

A kind of recognition methods and electronic equipment
Technical field
The present invention relates to technical field of data processing, in particular to a kind of recognition methods and electronic equipment.
Background technique
With the development of electronic technology, identify that the application for obtaining corresponding decoding information is more and more wider by scanning the two-dimensional code It is general.
In the existing implementation scanned and recognized to two dimensional code, a two dimensional code can only be identified every time, so that Recognition efficiency is lower.
Summary of the invention
The object of the present invention is to provide a kind of recognition methods and electronic equipments, to solve in the prior art to two dimension In the implementation that code scans and recognizes, a two dimensional code can only be identified every time, so that the technical problem that recognition efficiency is lower.
The present invention provides a kind of recognition methods, which comprises
Obtain image data;
Binary conversion treatment is carried out to described image data, obtains binary image;
Based on preset standard setting template pixel ratio, all locating templates in the binary image are determined;
According to position of each locating template in the binary image, determine more in the binary image A two dimensional code.
The above method, it is preferred that according to position of each locating template in the binary image, determine described in Two dimensional code in binary image, comprising:
According to position of each locating template in the binary image, mould is carried out to each locating template Board group divides, and obtains multiple template group, includes three locating templates in each template group;
Determine the corresponding two dimensional code corner location of each template group;
Based on the two dimensional code corner location, the corresponding two dimensional code of each template group is determined.
The above method, it is preferred that be based on preset standard setting template pixel ratio, determine in the binary image All locating templates, comprising:
By traversing each pixel in the binary image, by position is adjacent and of the identical pixel of pixel value Number adds up, and obtains accumulated value;
Determine the ratio and the standard setting template pixel ratio in the binary image between continuous accumulated value Consistent pixel group;
Based on the accumulated value in pixel group each in the binary image, the positioning in the binary image is determined Template.
The above method, it is preferred that based on each accumulated value in pixel group each in the binary image, determine institute State the locating template in binary image, comprising:
Obtain the accumulated value in the binary image in each pixel group and value;
Obtain described and value and the sum of proportional element value in the standard setting template pixel ratio ratio;
Determine target pixel points group, each accumulated value and the ratio exist multiplied by the accumulated value in the target pixel points group The absolute difference of the product of corresponding proportional element value is less than default locating threshold in the standard setting template pixel ratio;
Based on the target pixel points group, locating template is determined.
The above method, it is preferred that after multiple two dimensional codes in the determination binary image, the method is also Include:
Following operation is executed as current two-dimension to each two dimensional code in the binary image:
The variance and contrast of central area based on the current two-dimension in the binary image, work as to described Whether preceding two dimensional code is that the two dimensional code correctly identified is judged, obtains judging result.
The above method, it is preferred that the central area based on the current two-dimension in the binary image Whether variance and contrast are that the two dimensional code correctly identified judges to the current two-dimension, obtain judging result, packet It includes:
Obtain the variance and contrast of central area of the current two-dimension in the binary image;
When the variance is greater than preset first threshold value and the contrast is greater than default second threshold, generate described current Two dimensional code is the judging result of the two dimensional code correctly identified, otherwise, generates the two dimension that the current two-dimension is incorrect identification The judging result of code.
The above method, it is preferred that in the side for obtaining central area of the current two-dimension in the binary image Before difference and contrast, the method also includes:
Judge to identify data, institute with the presence or absence of two dimensional code corresponding with the current two-dimension in preset two dimensional code set State the history two dimensional code identification data in two dimensional code set including described image data;
If there is two dimensional code corresponding with the current two-dimension in the two dimensional code set identifies data, it is arranged described the One threshold value and the second threshold increase to respective numerical value respectively, the current two-dimension centre coordinate with it is described When two dimensional code identifies that the difference between the corresponding centre coordinate of data is less than default third threshold value, it is described current to execute the acquisition The variance and contrast of central area of the two dimensional code in the binary image, to obtain judging result, otherwise, described in generation Current two-dimension is the judging result of the two dimensional code of incorrect identification;
If two dimensional code corresponding with current two-dimension identification data are not present in the two dimensional code set, described in setting First threshold and the second threshold are respectively reduced to respective numerical value, execute the acquisition current two-dimension in institute The variance and contrast of the central area in binary image are stated, to obtain judging result.
The present invention also provides a kind of electronic equipment, comprising:
Image data acquisition unit, for obtaining image data;
Binary conversion treatment unit obtains binary image for carrying out binary conversion treatment to described image data;
Locating template determination unit determines the binary picture for being set to template pixel ratio based on preset standard All locating templates as in;
Two dimensional code determination unit is determined for the position according to each locating template in the binary image Multiple two dimensional codes in the binary image.
Above-mentioned electronic equipment, it is preferred that the two dimensional code determination unit includes:
Template divides subelement, for obtaining multiple template group according to each locating template progress template group division, It include three locating templates in each template group;
Quadrangle determines subelement, for determining the corresponding two dimensional code corner location of each template group;
Code determines subelement, for being based on the two dimensional code corner location, determines the corresponding two dimension of each template group Code.
Above-mentioned electronic equipment, it is preferred that the locating template determination unit includes:
Pixel number adds up subelement, for by traversing each pixel in the binary image, by position phase Adjacent and the identical pixel of pixel value number adds up, and obtains accumulated value;
Pixel group determines subelement, for determining ratio and institute in the binary image between continuous accumulated value The standard of stating is set to the consistent pixel group of template pixel ratio;
Locating template determines subelement, for based on the accumulated value in pixel group each in the binary image, really Locating template in the fixed binary image.
Above-mentioned electronic equipment, it is preferred that the locating template determines that subelement includes:
Tired addition and value obtains module, for obtaining the sum of the accumulated value in the binary image in each pixel group Value;
Ratio obtains module, for obtain proportional element that described and value and the standard are set in template pixel ratio it The ratio of sum;
Target determination module, for determining target pixel points group, in the target pixel points group each accumulated value with it is described Ratio multiplied by accumulated value product of corresponding proportional element value in the standard setting template pixel ratio absolute difference Less than default locating threshold;
Template determining module determines locating template for being based on the target pixel points group.
Above-mentioned electronic equipment, it is preferred that further include:
Two dimensional code judges rejected unit by accident, multiple in the binary image for determining in the two dimensional code determination unit After two dimensional code, following operation is executed as current two-dimension to each two dimensional code in the binary image:
The variance and contrast of central area based on the current two-dimension in the binary image, work as to described Whether preceding two dimensional code is that the two dimensional code correctly identified is judged, obtains judging result.
Above-mentioned electronic equipment, it is preferred that the two dimensional code judges rejected unit by accident and includes:
Variance contrast obtains subelement, for obtaining center of the current two-dimension in the binary image The variance and contrast in domain, when the variance is greater than preset first threshold value and the contrast is greater than default second threshold, touching It sends out the first result and generates subelement, otherwise, the second result of triggering generates subelement;
First result generates subelement, for generating the judgement knot that the current two-dimension is the two dimensional code correctly identified Fruit;
Second result generates subelement, for generating the judgement knot for the two dimensional code that the current two-dimension is incorrect identification Fruit.
Above-mentioned electronic equipment, it is preferred that further include:
History identifies judging unit, whether there is and the current two-dimension pair in preset two dimensional code set for judging The two dimensional code answered identifies data, includes the history two dimensional code identification data of described image data in the two dimensional code set, if It is that activation threshold value relaxes unit, otherwise, activation threshold value tightens unit;
Threshold value relaxes unit, increases respective number respectively for the first threshold and the second threshold to be arranged Value, the difference between the centre coordinate centre coordinate corresponding with two dimensional code identification data of the current two-dimension are less than It when default third threshold value, triggers the variance contrast and obtains subelement, otherwise, trigger second result and generate subelement;
Threshold value tightens unit, respectively reduces for the first threshold and the second threshold to be arranged to respective number Value triggers the variance contrast and obtains subelement.
By above scheme it is found that a kind of recognition methods provided by the invention and electronic equipment, by obtain there may be After the image data of multiple two dimensional codes is obtained, binary conversion treatment is carried out to the image data, and then be based on standard setting Template pixel ratio determines all locating templates in binary image, later again according to each locating template in binary image In position determine all two dimensional codes in entire binary image, realize multiple two dimensional codes in one image of identification simultaneously, Thus the recognition efficiency of two dimensional code is improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of recognition methods embodiment one provided by the invention;
Fig. 2 a and Fig. 2 b are respectively the application exemplary diagram of the embodiment of the present invention;
Fig. 3 is a kind of partial process view of recognition methods embodiment two provided by the invention;
Fig. 4 a and Fig. 4 b are respectively the other application exemplary diagram of the embodiment of the present invention;
Fig. 5 is a kind of partial process view of recognition methods embodiment three provided by the invention;
Fig. 6 is the another application exemplary diagram of the embodiment of the present invention;
Fig. 7 is another part flow chart of the embodiment of the present invention three;
Fig. 8 is a kind of flow chart of recognition methods example IV provided by the invention;
Fig. 9 is a kind of partial process view of recognition methods embodiment five provided by the invention;
Figure 10 is another part flow chart of the embodiment of the present invention five;
Figure 11 is the structural schematic diagram of a kind of electronic equipment six provided by the invention;
Figure 12 is the partial structure diagram of a kind of electronic equipment embodiment seven provided by the invention;
Figure 13 is the partial structure diagram of a kind of electronic equipment embodiment eight provided by the invention;
Figure 14 is the partial structure diagram of the embodiment of the present invention eight;
Figure 15 is the structural schematic diagram of a kind of electronic equipment embodiment nine provided by the invention;
Figure 16 is the partial structure diagram of a kind of electronic equipment embodiment ten provided by the invention;
Figure 17 is another part structural schematic diagram of the embodiment of the present invention ten.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It is a kind of flow chart of recognition methods embodiment one provided by the invention with reference to Fig. 1, wherein the method can be with Suitable for various electronic equipments, the electronic equipment can be the terminal devices such as mobile phone, pad.
In the present embodiment, the method may include following steps:
Step 101: obtaining image data.
Specifically, can to obtain, there may be two dimensional codes by image acquisition units such as camera etc. in the present embodiment Image data, the image data as obtained video screen or brochure in the present embodiment by the camera in equipment, with standard The standby all two dimensional codes obtained on video screen or on adverting booklet.
Step 102: binary conversion treatment being carried out to described image data, obtains binary image.
Wherein, binary conversion treatment is carried out to described image data in the present embodiment, referred to, pixel each in image is clicked through Row binaryzation, the size relation of pixel value and presetted pixel threshold value such as based on each pixel, is arranged the pixel Corresponding to 0 or 1, specifically, when the pixel value of the pixel is greater than the pixel threshold, by the pixel value of the pixel 1 is reset to, when the pixel value of the pixel is less than the pixel threshold, the pixel value of the pixel is reset to 0, it is complete At the binary conversion treatment of described image data, binary image is obtained.
Step 103: being based on the preset standard setting template pixel ratio, determine all in the binary image Locating template.
It wherein, as shown in Figure 2 a, is the pixel distribution frame of a standard setting template, as a result, in the standard setting A straight line by standard setting template center pixel is marked in the pixel distribution frame of template, which crosses experience Pixel distribution are as follows: 1 (a) * 1 (binaryzation pixel value), 1 (a) * 0 (binaryzation pixel value), 3*1,1*0,1*1, as a result, institute State standard setting template pixel ratio from left to right are as follows: 1:1:3:1:1.It, can be with based on the standard setting template pixel ratio It obtains by the locating template of the corresponding all size of the standard setting template pixel ratio, it is as shown in figure 2b, fixed by this Pixel distribution on the straight line of position template center pixel are as follows: 2*1 (binaryzation pixel value), 2 (a) * 0 (binaryzation pixels Value), 6*1,2*0,2*1, pixel ratio is same are as follows: 1:1:3:1:1.
As a result, in the present embodiment, it is based on the standard setting template pixel ratio, to determine in the binary image It is locating template that pixel, which is laid out the pixel region consistent with the standard setting template pixel ratio, is thereby determined that described All locating templates in binary image.
Step 104: according to position of each locating template in the binary image, determining the binary picture Multiple two dimensional codes as in.
Wherein, position of the locating template in the binary image it is to be understood that the locating template in institute The opposed area position in binary image and the relative position between each locating template are stated, determines the binaryzation as a result, Each two dimensional code in image, and then identify and obtain multiple two dimensional codes in described image data.
It should be noted that in the present embodiment after identification determination obtains each two dimensional code in described image data, Operation can be decoded to each two dimensional code, to obtain data information corresponding to each two dimensional code.
By above scheme it is found that a kind of recognition methods embodiment one provided by the invention, by obtaining, there may be more After the image data of a two dimensional code is obtained, binary conversion treatment is carried out to the image data, and then be based on standard setting mould Plate pixel ratio determines all locating templates in binary image, later again according to each locating template in binary image Position determine all two dimensional codes in entire binary image, realize multiple two dimensional codes in one image of identification simultaneously, by This improves the recognition efficiency of two dimensional code.
It is the implementation flow chart of step 104 described in a kind of recognition methods embodiment two provided by the invention with reference to Fig. 3, Wherein, the step 104 can be realized by following steps:
Step 141: according to position of each locating template in the binary image, to the locating template into Row module group divides, and obtains multiple template group.
It wherein, include three locating templates in each template group.
Specifically, can compare by carrying out two two positions to all locating templates in the present embodiment, it is based on standard two Tie up code locating template layout, as in Fig. 4 a Plays two dimensional code locating template layout in locating template S relative positional relationship, By comparing position of each locating template in the binary image, to match out may correspond to the same two dimensional code three A locating template, it would be possible to which three locating templates of the corresponding same two dimensional code are divided in a template group.
Step 142: determining the corresponding two dimensional code corner location of each template group.
Specifically, being determined in the present embodiment by the placement position to three locating templates in each template group The corner location of its corresponding two dimensional code, as shown in fig 4b, there are three locating template A, B, C, this realities for tool in the template group X The position progress corner location that example is applied based on these three locating templates A, B, C determines, is such as based on described three locating templates A, B, C Three positions A1, B1, C1 are determined respectively, later, are connected A1 and B1, and connect B1 and C1, are obtained connecting line Y1 and Y2, then so Afterwards, connecting line Y3 is marked perpendicular to connecting line Y1 by A1, and mark connecting line Y4 perpendicular to connecting line Y2 by C1, at this point, Connecting line Y3 and connecting line Y4 determine that position A1, B1, C1 and D1 are the corresponding two dimension of the template group compared to position D1 as a result, Code corner location.
Step 143: being based on the two dimensional code corner location, determine the corresponding two dimensional code of each template group.
By taking such as Fig. 4 b as an example, corner location in the present embodiment according to the two dimensional code can determine that the corner location Corresponding two-dimentional code position Z, and then determine the corresponding two dimensional code of the template group, correspondingly, determining the binary image In each corresponding two dimensional code of template group.
It is the implementation flow chart of step 103 described in a kind of recognition methods embodiment three provided by the invention with reference to Fig. 5, Wherein, the step 103 can be realized by following steps:
Step 131: position is adjacent and pixel value is identical by traversing each pixel in the binary image The number of pixel adds up, and obtains accumulated value.
For in Fig. 6 shown in pixel distribution, the present embodiment successively traverses described two according to by left-to-right from top to bottom Each pixel in value image, by position is adjacent and pixel value it is identical be such as 1 or be 0 pixel number into Row is cumulative, each accumulated value is obtained, such as 2,2,6,2,2,1,1,3,1 in Fig. 6.
Step 132: determining the ratio and the standard setting template in the binary image between continuous accumulated value The consistent pixel group of pixel ratio.
By taking pixel layout in Fig. 6 as an example, 14 pixels corresponding to preceding 5 accumulated values are determined as in the present embodiment One pixel group, ratio between continuous 5 accumulated values and the standard setting template pixel ratio in the pixel group Example is consistent.
Step 133: based on the accumulated value in pixel group each in the binary image, determining the binary image In locating template.
It wherein, in the present embodiment, can directly will be in the binary image where identified each pixel group Pixel region be identified as a locating template, thus accelerate the determination efficiency of locating template, and then in subsequent operation In can accelerate the recognition efficiency of two dimensional code in described image data.
And in practical implementations, it is described therefore, it is necessary to guarantee in order to guarantee the accuracy rate of two dimensional code in described image data The recognition accuracy of each locating template in binary image is step 133 described in the embodiment of the present invention three with reference to Fig. 7 Implementation flow chart, wherein the step 133 can be realized by following steps:
Step 701: obtain the accumulated value in the binary image in each pixel group and value.
By taking pixel group in Fig. 6 as an example: accumulated value in the pixel group and value be 14.
Step 702: obtaining described and value and the sum of proportional element value in the standard setting template pixel ratio ratio.
Wherein, the sum of proportional element value is 7 in the standard setting template pixel ratio, by taking pixel group in Fig. 6 as an example: The ratio of in the pixel group and value and the sum of the proportional element value is 2.
Step 703: determining target pixel points group, each accumulated value and the ratio are multiplied by this in the target pixel points group The absolute difference of accumulated value product of corresponding proportional element value in the standard setting template pixel ratio is less than presetting Position threshold value.
Wherein, the locating threshold can be preset, such as: 1.
By taking pixel group in Fig. 6 as an example: accumulated value 2 is less than with the ratio 2 multiplied by the absolute difference 0 of 1 product described Locating threshold 1, accumulated value 6 and the ratio 2 are less than the locating threshold 1 multiplied by the absolute difference of 3 product, and so on, Each accumulated value and the ratio are right in the standard setting template pixel ratio multiplied by the accumulated value in the pixel group When the absolute difference of the product for the proportional element value answered is respectively less than the locating threshold, which is determined as by the present embodiment Target pixel points group.
Step 704: being based on the target pixel points group, determine locating template.
It should be noted that there are in the unsharp situation of image data, it is understood that there may be the feelings of two dimensional code edge blurry Condition leads to the edge blurry of locating template, and then influences the judging result of locating template, and utilizes the present embodiment, can pass through The locating threshold is set, to improve the accuracy rate of template pixel group, and then improves the accuracy rate of locating template identification, accordingly Raising two dimensional code recognition accuracy.
It should be noted that above-described embodiment can be by one one-dimension array with five array elements of setting come real Existing, the present embodiment is in traversing the binary image during each pixel as a result, in the pixel that it is currently traversed When there is same pixel value with its previous pixel, 1 is added up on the corresponding array element of the previous pixel, work as at it It, will be described in the pixel currently traversed correspondence when the pixel of preceding traversal has different pixel values from its previous pixel It is next to be arranged 1 in empty array element and by the array element in one-dimension array, for example, by taking Fig. 6 as an example: a dimension Each array element is sky to group in the initial state, and the present embodiment begins stepping through each pixel of the binary image, First pixel is 1,1 is arranged in first array element of the one-dimension array, second pixel point is 1, described Adding up 1 in first array element, third pixel is 0, in second array element setting 1 of the one-dimension array, the Four pixels are 0, add up 1 in second array element, and the 5th pixel is 1, the of the one-dimension array 1 is arranged in three array elements, the 6th pixel is 1, cumulative 1 in the third array element, the 7th pixel It is 1, cumulative 1 in the third array element, and so on, the equal non-empty of array element in the one-dimension array, and When the pixel value difference of the pixel value of the pixel currently traversed and its previous pixel, judge each in the one-dimension array Whether the ratio of a array element is consistent with the standard setting template pixel ratio, if it is then to a dimension Accumulated value summation in group, obtains the sum value, and obtains multiple value modulesize divided by 7 to this and value, to the multiple value and institute The difference for stating the element in one-dimension array carries out the judgement of threshold size, and then determines the locating template, otherwise, clear described one First array element in dimension group, and by other remaining four array element migrations, continue in the one-dimension array The 5th array element carry out accumulated value calculating, traversed until to all pixels point in the binary image At.
In practical applications, due to there are under certain special scenes, described image data may for cement floor image or Image etc. comprising fiber grain may be considered that there are two dimensional codes due to the characteristic of these images, thus lead to two dimension The erroneous judgement of code identification.It therefore, is a kind of flow chart of recognition methods example IV provided by the invention with reference to Fig. 8, wherein After the step 104, the method can with the following steps are included:
Step 105: following operation is executed as current two-dimension to each two dimensional code in the binary image:
The variance and contrast of central area based on the current two-dimension in the binary image, work as to described Whether preceding two dimensional code is that the two dimensional code correctly identified is judged, obtains judging result.
That is, in the present embodiment, after getting the two dimensional code in image data, by being added in two dimensional code Heart region contrast compares and central area variance compares, and can judge in described image data to a certain extent as a result, Whether the current two-dimension recognized is two dimensional code that the two dimensional code correctly identified still falls within erroneous judgement, improves two dimension as a result, The accuracy of code identification and the smooth degree of identification.
It is the implementation flow chart of step 105 described in a kind of recognition methods embodiment five provided by the invention with reference to Fig. 9, Wherein, the step 105 may comprise steps of:
Step 151: the variance and contrast of central area of the current two-dimension in the binary image are obtained, When the variance is greater than preset first threshold value and the contrast is greater than default second threshold, executes step 152 and otherwise hold The row step 153.
Step 152: generating the judging result that the current two-dimension is the two dimensional code correctly identified.
Step 153: generating the judging result for the two dimensional code that the current two-dimension is incorrect identification.
It should be noted that in the present embodiment can when judging the two dimensional code is correct identification, can by this two The identification data of dimension code are placed in preset two dimensional code set, and are judging that the two dimensional code is that incorrect identification is judged by accident When, the clear two-dimensional barcode information currently recognized.
And in practical applications, before the present embodiment can also be by reference to carrying out two dimensional code identification to described image data The adjustment that frame recognition result is relaxed or tightened to above-mentioned two threshold value, that is, first threshold and second threshold afterwards, further to drop Low False Rate improves recognition accuracy.
Be another part flow chart of the embodiment of the present invention five specifically, with reference to Figure 10, wherein above-mentioned steps 151 it Before, the method can with the following steps are included:
Step 106: judging to know in preset two dimensional code set with the presence or absence of two dimensional code corresponding with the current two-dimension Otherwise other data, execute step 108 if so, executing step 107.
Wherein, the history two dimensional code in the two dimensional code set including described image data identifies data, it is possible to understand that are as follows: Described image data are carried out with the history recognition result of two dimensional code identification.
Step 107: the first threshold being set and the second threshold increases to corresponding numerical value respectively, described Difference between the centre coordinate of current two-dimension centre coordinate corresponding with two dimensional code identification data is less than default third When threshold value, step 151 is executed, the step 153 is otherwise executed.
Specifically, in the present embodiment the first threshold can be relaxed and increased according to preset adjusting thresholds rule To its corresponding numerical value, and the second threshold is relaxed and increases to its corresponding numerical value.
Wherein, between the centre coordinate of current two-dimension centre coordinate corresponding with two dimensional code identification data Difference it is larger when, that is, it is larger to the before and after frames coordinate identification of current two-dimension difference in described image data when, Current two-dimension can be judged for erroneous judgement gained, i.e., incorrect identification executes the step 153, corresponding image at this time Data are image where unconventional two dimensional code, such as cement floor image or the image containing fiber grain, work as the first two described When tieing up the difference between the centre coordinate centre coordinate corresponding with two dimensional code identification data of code less than the third threshold value, When being not much different to the before and after frames coordinate identification of the current two-dimension namely in described image data, it can judge to deserve Preceding two dimensional code may be for obtained by non-erroneous judgement, it is possible to and for the two dimensional code correctly identified, triggering executes the step 151 at this time, into One step judges whether the variance of central area of the current two-dimension in the binary image and contrast meet threshold value and want It asks, and when the variance is greater than preset first threshold value and the contrast is greater than default second threshold, executes step 152 with life It is the judging result of the two dimensional code correctly identified at the current two-dimension, otherwise, it is described when the first two to generate to execute step 153 Tie up the judging result for the two dimensional code that code is incorrect identification.
Step 108: the first threshold being set and the second threshold is respectively reduced to respective numerical value, executes institute State step 151.
Specifically, first threshold tightening can be reduced according to preset adjusting thresholds rule in the present embodiment Its corresponding numerical value is reduced to its corresponding numerical value, and by second threshold tightening.
It is the structural schematic diagram of a kind of electronic equipment six provided by the invention, wherein the electronic equipment can with reference to Figure 11 Think the terminal devices such as mobile phone, pad.
In the present embodiment, the electronic equipment may include following structural unit:
Image data acquisition unit 1101, for obtaining image data.
Specifically, can to obtain, there may be two dimensional codes by image acquisition units such as camera etc. in the present embodiment Image data, the image data as obtained video screen or brochure in the present embodiment by the camera in equipment, with standard The standby all two dimensional codes obtained on video screen or on adverting booklet.
Binary conversion treatment unit 1102 obtains binary image for carrying out binary conversion treatment to described image data.
Wherein, binary conversion treatment is carried out to described image data in the present embodiment, referred to, pixel each in image is clicked through Row binaryzation, the size relation of pixel value and presetted pixel threshold value such as based on each pixel, is arranged the pixel Corresponding to 0 or 1, specifically, when the pixel value of the pixel is greater than the pixel threshold, by the pixel value of the pixel 1 is reset to, when the pixel value of the pixel is less than the pixel threshold, the pixel value of the pixel is reset to 0, it is complete At the binary conversion treatment of described image data, binary image is obtained.
Locating template determination unit 1103 determines the two-value for being set to template pixel ratio based on preset standard Change all locating templates in image.
It wherein, as shown in Figure 2 a, is the pixel distribution frame of a standard setting template, as a result, in the standard setting A straight line by standard setting template center pixel is marked in the pixel distribution frame of template, which crosses experience Pixel distribution are as follows: 1 (a) * 1 (binaryzation pixel value), 1 (a) * 0 (binaryzation pixel value), 3*1,1*0,1*1, as a result, institute State standard setting template pixel ratio from left to right are as follows: 1:1:3:1:1.It, can be with based on the standard setting template pixel ratio It obtains by the locating template of the corresponding all size of the standard setting template pixel ratio, as shown in figure 2b, is with Fig. 2 b , the pixel distribution on the straight line by the locating template central pixel point are as follows: 3*1 (binaryzation pixel value), 3 (a) * 0 (binaryzation pixel value), 9*1,3*0,3*1, pixel ratio are same are as follows: 1:1:3:1:1.
As a result, in the present embodiment, it is based on the standard setting template pixel ratio, to determine in the binary image It is locating template that pixel, which is laid out the pixel region consistent with the standard setting template pixel ratio, is thereby determined that described All locating templates in binary image.
Two dimensional code determination unit 1104, for the position according to each locating template in the binary image, Determine multiple two dimensional codes in the binary image.
Wherein, position of the locating template in the binary image it is to be understood that the locating template in institute The opposed area position in binary image and the relative position between each locating template are stated, determines the binaryzation as a result, Each two dimensional code in image, and then identify and obtain multiple two dimensional codes in described image data.
It should be noted that in the present embodiment after identification determination obtains each two dimensional code in described image data, Operation can be decoded to each two dimensional code, to obtain data information corresponding to each two dimensional code.
By above scheme it is found that a kind of electronic equipment embodiment six provided by the invention is by the way that in acquisition, there may be multiple After the image data of two dimensional code is obtained, binary conversion treatment is carried out to the image data, and then be based on standard setting template Pixel ratio determines all locating templates in binary image, later again according to each locating template in binary image Position determines all two dimensional codes in entire binary image, realizes while identifying multiple two dimensional codes in an image, thus Improve the recognition efficiency of two dimensional code.
It is two dimensional code determination unit 1104 described in a kind of electronic equipment embodiment seven provided by the invention with reference to Figure 12 Structural schematic diagram, wherein the two dimensional code determination unit 1104 may include with flowering structure:
Template divides subelement 1141, for carrying out template group division according to each locating template, obtains multiple moulds Board group.
It wherein, include three locating templates in each template group.
Specifically, can compare by carrying out two two positions to all locating templates in the present embodiment, it is based on standard two Tie up code locating template layout, as in Fig. 4 a Plays two dimensional code locating template layout in locating template relative positional relationship, By comparing position of each locating template in the binary image, to match out may correspond to the same two dimensional code three A locating template, it would be possible to which three locating templates of the corresponding same two dimensional code are divided in a template group.
Quadrangle determines subelement 1142, for determining the corresponding two dimensional code corner location of each template group.
Specifically, being determined in the present embodiment by the placement position to three locating templates in each template group The corner location of its corresponding two dimensional code, as shown in fig 4b, there are three locating template A, B, C, this realities for tool in the template group X Apply example based on these three locating templates A, B, C position carry out corner location determine, such as based on three locating template A, B, C determines three positions A1, B1, C1 respectively, later, connects A1 and B1, and connect B1 and C1, obtains connecting line Y1 and Y2, then Then, connecting line Y3 is marked perpendicular to connecting line Y1 by A1, and mark connecting line Y4 perpendicular to connecting line Y2 by C1, this When, connecting line Y3 and connecting line Y4 determine that position A1, B1, C1 and D1 are the template group corresponding two compared to position D1 as a result, Tie up code corner location.
Code determines subelement 1143, for being based on the two dimensional code corner location, determines that each template group is corresponding Two dimensional code.
By taking such as Fig. 4 b as an example, corner location in the present embodiment according to the two dimensional code can determine that the corner location Corresponding two-dimentional code position Z, and then determine the corresponding two dimensional code of the template group, correspondingly, determining the binary image In each corresponding two dimensional code of template group.
It is locating template determination unit 1103 described in a kind of electronic equipment embodiment eight provided by the invention with reference to Figure 13 Structural schematic diagram, wherein the locating template determination unit 1103 may include being realized with flowering structure:
Pixel number adds up subelement 1131, for by traversing each pixel in the binary image, by position The number for setting the identical pixel of adjacent and pixel value adds up, and obtains accumulated value.
For in Fig. 6 shown in pixel distribution, the present embodiment successively traverses described two according to by left-to-right from top to bottom Each pixel in value image, by position is adjacent and pixel value it is identical be such as 1 or be 0 pixel number into Row is cumulative, each accumulated value is obtained, such as 2,2,6,2,2,1,1,3,1 in Fig. 6.
Pixel group determines subelement 1132, for determining the ratio in the binary image between continuous accumulated value With the standard pixel group that be set to template pixel ratio consistent.
By taking pixel layout in Fig. 6 as an example, 14 pixels corresponding to preceding 5 accumulated values are determined as in the present embodiment One pixel group, ratio between continuous 5 accumulated values and the standard setting template pixel ratio in the pixel group Example is consistent.
Locating template determines subelement 1133, for based on cumulative in pixel group each in the binary image Value, determines the locating template in the binary image.
It wherein, in the present embodiment, can directly will be in the binary image where identified each pixel group Pixel region be identified as a locating template, thus accelerate the determination efficiency of locating template, and then in subsequent operation In can accelerate the recognition efficiency of two dimensional code in described image data.
And in practical implementations, it is described therefore, it is necessary to guarantee in order to guarantee the accuracy rate of two dimensional code in described image data The recognition accuracy of each locating template in binary image is locating template described in the embodiment of the present invention eight with reference to Figure 14 Determine the structural schematic diagram of subelement 1133, wherein the locating template determines that subelement 1133 may include having with flowering structure:
Tired addition and value obtains module 1401, for obtaining the accumulated value in the binary image in each pixel group And value.
By taking pixel group in Fig. 6 as an example: accumulated value in the pixel group and value be 14.
Ratio obtains module 1402, first for obtaining the ratio that described and value and the standard are set in template pixel ratio The ratio of the sum of element.
Wherein, the sum of proportional element value is 7 in the standard setting template pixel ratio, by taking pixel group in Fig. 6 as an example: The ratio of in the pixel group and value and the sum of the proportional element value is 2.
Target determination module 1403, for determining target pixel points group, in the target pixel points group each accumulated value with The ratio is exhausted multiplied by the difference of accumulated value product of corresponding proportional element value in the standard setting template pixel ratio Default locating threshold is less than to value.
Wherein, the locating threshold can be preset, such as: 1.
By taking pixel group in Fig. 6 as an example: accumulated value 2 is less than with the ratio 2 multiplied by the absolute difference 0 of 1 product described Locating threshold 1, accumulated value 6 and the ratio 2 are less than the locating threshold 1 multiplied by the absolute difference of 3 product, and so on, Each accumulated value and the ratio are right in the standard setting template pixel ratio multiplied by the accumulated value in the pixel group When the absolute difference of the product for the proportional element value answered is respectively less than the locating threshold, which is determined as by the present embodiment Target pixel points group.
Template determining module 1404 determines locating template for being based on the target pixel points group.
It should be noted that there are in the unsharp situation of image data, it is understood that there may be the feelings of two dimensional code edge blurry Condition leads to the edge blurry of locating template, and then influences the judging result of locating template, and utilizes the present embodiment, can pass through The locating threshold is set, to improve the accuracy rate of template pixel group, and then improves the accuracy rate of locating template identification, accordingly Raising two dimensional code recognition accuracy.
In practical applications, due to there are under certain special scenes, described image data may for cement floor image or Image etc. comprising fiber grain may be considered that there are two dimensional codes due to the characteristic of these images, thus lead to two dimension The erroneous judgement of code identification.It therefore, is the structural schematic diagram of a kind of electronic equipment embodiment nine provided by the invention with reference to Figure 15, In, the electronic equipment can also include with flowering structure:
Two dimensional code judges rejected unit 1105 by accident, for determining the binary image in the two dimensional code determination unit 1104 In multiple two dimensional codes after, following operation is executed as current two-dimension to each two dimensional code in the binary image:
The variance and contrast of central area based on the current two-dimension in the binary image, work as to described Whether preceding two dimensional code is that the two dimensional code correctly identified is judged, obtains judging result.
That is, in the present embodiment, after getting the two dimensional code in image data, by being added in two dimensional code Heart region contrast compares and central area variance compares, and can judge in described image data to a certain extent as a result, Whether the current two-dimension recognized is two dimensional code that the two dimensional code correctly identified still falls within erroneous judgement, improves two dimension as a result, The accuracy of code identification and the smooth degree of identification.
It is the erroneous judgement row's unit 1105 of two dimensional code described in a kind of electronic equipment embodiment ten provided by the invention with reference to Figure 16 Structural schematic diagram, wherein two dimensional code erroneous judgement rejected unit 1105 may include having with flowering structure:
Variance contrast obtain subelement 1151, for obtain the current two-dimension in the binary image in The variance and contrast in heart district domain are greater than preset first threshold value in the variance and the contrast are greater than default second threshold When, the first result of triggering generates subelement 1152, and otherwise, the second result of triggering generates subelement 1153.
First result generates subelement 1152, for generating the judgement that the current two-dimension is the two dimensional code correctly identified As a result.
Second result generates subelement 1153, sentences for generating the two dimensional code that the current two-dimension is incorrect identification Disconnected result.
It should be noted that in the present embodiment can when judging the two dimensional code is correct identification, can by this two The identification data of dimension code are placed in preset two dimensional code set, and are judging that the two dimensional code is that incorrect identification is judged by accident When, the clear two-dimensional barcode information currently recognized.
And in practical applications, before the present embodiment can also be by reference to carrying out two dimensional code identification to described image data The adjustment that frame recognition result is relaxed or tightened to above-mentioned two threshold value, that is, first threshold and second threshold afterwards, further to drop Low False Rate improves recognition accuracy.
Specifically, being another part structural schematic diagram of the embodiment of the present invention ten, wherein the electronics is set with reference to Figure 17 Standby can also include with flowering structure:
History identifies judging unit 1106, whether there is and institute in preset two dimensional code set for judging;
The corresponding two dimensional code identification data of current two-dimension are stated, if so, activation threshold value relaxes unit 1107, otherwise, touching It sends out threshold value and tightens unit 1108.
Wherein, the history two dimensional code in the two dimensional code set including described image data identifies data, it is possible to understand that are as follows: Described image data are carried out with the history recognition result of two dimensional code identification.
Threshold value relaxes unit 1107, for the first threshold is set and the second threshold increase respectively it is respective Numerical value, the difference between the centre coordinate centre coordinate corresponding with two dimensional code identification data of the current two-dimension are small It when default third threshold value, triggers the variance contrast and obtains subelement 1151, otherwise, trigger second result and generate son Unit 1153;
Specifically, in the present embodiment the first threshold can be relaxed and increased according to preset adjusting thresholds rule To its corresponding numerical value, and the second threshold is relaxed and increases to its corresponding numerical value.
Wherein, between the centre coordinate of current two-dimension centre coordinate corresponding with two dimensional code identification data Difference it is larger when, that is, it is larger to the before and after frames coordinate identification of current two-dimension difference in described image data when, Current two-dimension can be judged for erroneous judgement gained, i.e., incorrect identification triggers second result at this time and generates subelement 1153, corresponding image data is image where unconventional two dimensional code, such as cement floor image or contains the figure of fiber grain Picture etc., the difference between the centre coordinate centre coordinate corresponding with two dimensional code identification data of the current two-dimension The before and after frames coordinate identification of the current two-dimension is differed not when less than the third threshold value, that is, in described image data When big, it can judge that the current two-dimension may be for obtained by non-erroneous judgement, it is possible to for the two dimensional code correctly identified, trigger at this time The variance contrast obtains subelement 1151, further judges center of the current two-dimension in the binary image Whether the variance and contrast in domain meet threshold requirement, and are greater than preset first threshold value in the variance and the contrast is greater than When default second threshold, triggers the first result generation subelement 1152 and correctly identified with generating the current two-dimension The judging result of two dimensional code, otherwise, it is non-for triggering second result and generating subelement 1153 to generate the current two-dimension The judging result of the two dimensional code correctly identified.
Threshold value tightens unit 1108, respectively reduces for the first threshold and the second threshold to be arranged to respectively corresponding Numerical value, trigger the variance contrast and obtain subelement 1151.
Specifically, first threshold tightening can be reduced according to preset adjusting thresholds rule in the present embodiment Its corresponding numerical value is reduced to its corresponding numerical value, and by second threshold tightening.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, the terms "include", "comprise" or its any other variant be intended to it is non-exclusive Property include so that include a series of elements process, method, article or equipment not only include those elements, but also Further include other elements that are not explicitly listed, or further include for this process, method, article or equipment it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described There is also other identical elements in the process, method, article or equipment of element.
A kind of recognition methods provided herein and electronic equipment are described in detail above, it is used herein The principle and implementation of this application are described for specific case, and the above embodiments are only used to help understand originally The method and its core concept of application;At the same time, for those skilled in the art, according to the thought of the application, specific There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to the application's Limitation.

Claims (12)

1. a kind of recognition methods, which comprises
Obtain image data;
Binary conversion treatment is carried out to described image data, obtains binary image;
Based on preset standard setting template pixel ratio, all locating templates in the binary image are determined;
According to position of each locating template in the binary image, multiple two in the binary image are determined Tie up code;
Wherein, it is based on preset standard setting template pixel ratio, determines all locating templates in the binary image, is wrapped It includes:
By traversing each pixel in the binary image, by position is adjacent and the number of the identical pixel of pixel value into Row is cumulative, obtains accumulated value;
Determine the ratio and the standard setting template pixel ratio phase one in the binary image between continuous accumulated value The pixel group of cause;
Based on the accumulated value in pixel group each in the binary image, the positioning mould in the binary image is determined Plate.
2. the method according to claim 1, wherein according to each locating template in the binary image In position, determine the two dimensional code in the binary image, comprising:
According to position of each locating template in the binary image, template group is carried out to each locating template It divides, obtains multiple template group, include three locating templates in each template group;
Determine the corresponding two dimensional code corner location of each template group;
Based on the two dimensional code corner location, the corresponding two dimensional code of each template group is determined.
3. the method according to claim 1, wherein based in pixel group each in the binary image Each accumulated value determines the locating template in the binary image, comprising:
Obtain the accumulated value in the binary image in each pixel group and value;
Obtain described and value and the sum of proportional element value in the standard setting template pixel ratio ratio;
Determine target pixel points group, in the target pixel points group each accumulated value with the ratio multiplied by the accumulated value described The absolute difference of the product of corresponding proportional element value is less than default locating threshold in standard setting template pixel ratio;
Based on the target pixel points group, locating template is determined.
4. the method according to claim 1, wherein multiple two dimensions in the determination binary image After code, the method also includes:
Following operation is executed as current two-dimension to each two dimensional code in the binary image:
The variance and contrast of central area based on the current two-dimension in the binary image work as the first two to described It ties up whether code is that the two dimensional code correctly identified is judged, obtains judging result.
5. according to the method described in claim 4, it is characterized in that, described be based on the current two-dimension in the binary picture Whether the variance and contrast of the central area as in, be that the two dimensional code correctly identified judges to the current two-dimension, Obtain judging result, comprising:
Obtain the variance and contrast of central area of the current two-dimension in the binary image;
When the variance is greater than preset first threshold value and the contrast is greater than default second threshold, the current two dimension is generated Code is the judging result of the two dimensional code correctly identified, otherwise, generates the two dimensional code that the current two-dimension is incorrect identification Judging result.
6. according to the method described in claim 5, it is characterized in that, obtaining the current two-dimension in the binary image In central area variance and contrast before, the method also includes:
Judge to whether there is two dimensional code corresponding with current two-dimension identification data in preset two dimensional code set, described two It ties up the history two dimensional code including described image data in code collection conjunction and identifies data;
If there is two dimensional code corresponding with the current two-dimension in the two dimensional code set identifies data, first threshold is set Value and the second threshold increase to respective numerical value respectively, centre coordinate and the two dimension in the current two-dimension When difference between the corresponding centre coordinate of code identification data is less than default third threshold value, execution is described to obtain the current two dimension Otherwise the variance and contrast of central area of the code in the binary image, are generated described current with obtaining judging result Two dimensional code is the judging result of the two dimensional code of incorrect identification;
If there is no two dimensional codes corresponding with the current two-dimension to identify data, setting described first in the two dimensional code set Threshold value and the second threshold are respectively reduced to respective numerical value, execute the acquisition current two-dimension described two The variance and contrast of central area in value image, to obtain judging result.
7. a kind of electronic equipment, comprising:
Image data acquisition unit, for obtaining image data;
Binary conversion treatment unit obtains binary image for carrying out binary conversion treatment to described image data;
Locating template determination unit determines in the binary image for being based on preset standard setting template pixel ratio All locating templates;
Two dimensional code determination unit, for the position according to each locating template in the binary image, determine described in Multiple two dimensional codes in binary image;
Wherein, the locating template determination unit includes:
Pixel number adds up subelement, for by traversing each pixel in the binary image, by position it is adjacent and The number of the identical pixel of pixel value adds up, and obtains accumulated value;
Pixel group determines subelement, for determining ratio and the mark in the binary image between continuous accumulated value The consistent pixel group of quasi- locating template pixel ratio;
Locating template determines subelement, for determining institute based on the accumulated value in pixel group each in the binary image State the locating template in binary image.
8. the electronic equipment according to claim 7, which is characterized in that the two dimensional code determination unit includes:
Template divides subelement, for carrying out template group division according to each locating template, obtains multiple template group, each It include three locating templates in the template group;
Quadrangle determines subelement, for determining the corresponding two dimensional code corner location of each template group;
Code determines subelement, for being based on the two dimensional code corner location, determines the corresponding two dimensional code of each template group.
9. electronic equipment according to claim 8, which is characterized in that the locating template determines that subelement includes:
Tired addition and value obtains module, for obtain the accumulated value in the binary image in each pixel group and value;
Ratio obtains module, for obtaining the sum of proportional element in described and value and the standard setting template pixel ratio Ratio;
Target determination module, for determining target pixel points group, each accumulated value and the ratio in the target pixel points group Multiplied by the accumulated value, the absolute difference of the product of corresponding proportional element value is less than in the standard setting template pixel ratio Default locating threshold;
Template determining module determines locating template for being based on the target pixel points group.
10. electronic equipment according to claim 7, which is characterized in that further include:
Two dimensional code judges rejected unit by accident, for determining multiple two dimensions in the binary image in the two dimensional code determination unit After code, following operation is executed as current two-dimension to each two dimensional code in the binary image:
The variance and contrast of central area based on the current two-dimension in the binary image work as the first two to described It ties up whether code is that the two dimensional code correctly identified is judged, obtains judging result.
11. electronic equipment according to claim 10, which is characterized in that the two dimensional code judges rejected unit by accident and includes:
Variance contrast obtains subelement, for obtaining central area of the current two-dimension in the binary image Variance and contrast, when the variance is greater than preset first threshold value and the contrast and is greater than default second threshold, triggering the One result generates subelement, and otherwise, the second result of triggering generates subelement;
First result generates subelement, for generating the judging result that the current two-dimension is the two dimensional code correctly identified;
Second result generates subelement, for generating the judging result for the two dimensional code that the current two-dimension is incorrect identification.
12. electronic equipment according to claim 11, which is characterized in that further include:
History identifies judging unit, for judging in preset two dimensional code set with the presence or absence of corresponding with the current two-dimension Two dimensional code identifies data, includes the history two dimensional code identification data of described image data in the two dimensional code set, if so, touching Hair threshold value relaxes unit, and otherwise, activation threshold value tightens unit;
Threshold value relaxes unit, increases respective numerical value respectively for the first threshold and the second threshold to be arranged, Difference between the centre coordinate of current two-dimension centre coordinate corresponding with two dimensional code identification data is less than default It when third threshold value, triggers the variance contrast and obtains subelement, otherwise, trigger second result and generate subelement;
Threshold value tightens unit, respectively reduces for the first threshold and the second threshold to be arranged to respective numerical value, It triggers the variance contrast and obtains subelement.
CN201510150054.0A 2015-03-31 2015-03-31 A kind of recognition methods and electronic equipment Active CN106156674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510150054.0A CN106156674B (en) 2015-03-31 2015-03-31 A kind of recognition methods and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510150054.0A CN106156674B (en) 2015-03-31 2015-03-31 A kind of recognition methods and electronic equipment

Publications (2)

Publication Number Publication Date
CN106156674A CN106156674A (en) 2016-11-23
CN106156674B true CN106156674B (en) 2019-03-08

Family

ID=57337873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510150054.0A Active CN106156674B (en) 2015-03-31 2015-03-31 A kind of recognition methods and electronic equipment

Country Status (1)

Country Link
CN (1) CN106156674B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861560B (en) * 2017-09-27 2023-12-22 创新先进技术有限公司 Two-dimensional code positioning method and device
CN113378595B (en) * 2020-03-10 2023-09-22 顺丰科技有限公司 Two-dimensional code positioning method, device, equipment and storage medium
CN113723136A (en) * 2021-08-31 2021-11-30 杭州海康威视数字技术股份有限公司 Bar code correction method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492661A (en) * 2002-07-18 2004-04-28 ������������ʽ���� Two-dimension code reader and reading method, portable terminal and digital camera
CN103870790A (en) * 2014-04-02 2014-06-18 胡建国 Recognition method and device of two-dimensional bar code
JP2014120014A (en) * 2012-12-18 2014-06-30 Fujitsu Ltd Image processing apparatus, image processing method, and image processing program
CN103955659A (en) * 2014-04-22 2014-07-30 广州宽度信息技术有限公司 Batch true-known code identification method
WO2014187474A1 (en) * 2013-05-21 2014-11-27 Sicpa Holding Sa Identifying one- or two-dimensional bar codes via weighted image data combination
CN104392238A (en) * 2014-09-29 2015-03-04 樊晓莉 Identification method for information carrier comprising multi-type identifications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492661A (en) * 2002-07-18 2004-04-28 ������������ʽ���� Two-dimension code reader and reading method, portable terminal and digital camera
JP2014120014A (en) * 2012-12-18 2014-06-30 Fujitsu Ltd Image processing apparatus, image processing method, and image processing program
WO2014187474A1 (en) * 2013-05-21 2014-11-27 Sicpa Holding Sa Identifying one- or two-dimensional bar codes via weighted image data combination
CN103870790A (en) * 2014-04-02 2014-06-18 胡建国 Recognition method and device of two-dimensional bar code
CN103955659A (en) * 2014-04-22 2014-07-30 广州宽度信息技术有限公司 Batch true-known code identification method
CN104392238A (en) * 2014-09-29 2015-03-04 樊晓莉 Identification method for information carrier comprising multi-type identifications

Also Published As

Publication number Publication date
CN106156674A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106156674B (en) A kind of recognition methods and electronic equipment
US20140310097A1 (en) Information processing system, information processing method, communications terminals and control method and control program thereof
CN104284057B (en) A kind of method for processing video frequency and device
CN104952027A (en) Face-information-contained picture cutting method and apparatus
CN105227873B (en) A kind of test method and device of on-screen display data
CN113505682B (en) Living body detection method and living body detection device
EP0851389B1 (en) Contour tracing method
CN107590741A (en) A kind of method and system of predicted pictures popularity
US20220067888A1 (en) Image processing method and apparatus, storage medium, and electronic device
CN116126580B (en) Touch display control method, device, equipment and storage medium
CN112862842B (en) Image data processing method and device, storage medium and electronic device
CN106951811A (en) A kind of image processing method and terminal
CN111885419B (en) Posture processing method and device, storage medium and electronic device
CN113469869A (en) Image management method and device
CN112166435A (en) Target tracking method and device, electronic equipment and storage medium
CN116128823A (en) Gold spot detection method and device for IC carrier plate and electronic equipment
CN113691811B (en) Coding block dividing method, device, system and storage medium
CN110991050B (en) CAD (computer-aided design) image stacking method and related product
CN110730152A (en) Login verification method and device and electronic equipment
CN110163829B (en) Image generation method, device and computer readable storage medium
CN112798600A (en) Detection method and system
CN113066128A (en) Visual detection and recovery method, device, equipment and medium for self-identification plate
CN108263096A (en) Silk-screen detection method, device, terminal device and storage medium
CN112200864A (en) Image processing method, positioning method, device, equipment and storage medium
CN109214230A (en) Data matrix code recognition methods, device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant