CN109271826A - The method and apparatus of two dimensional code for identification - Google Patents

The method and apparatus of two dimensional code for identification Download PDF

Info

Publication number
CN109271826A
CN109271826A CN201811149886.0A CN201811149886A CN109271826A CN 109271826 A CN109271826 A CN 109271826A CN 201811149886 A CN201811149886 A CN 201811149886A CN 109271826 A CN109271826 A CN 109271826A
Authority
CN
China
Prior art keywords
dimensional code
fish body
body region
binary array
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811149886.0A
Other languages
Chinese (zh)
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.)
Lianshang Xinchang Network Technology Co Ltd
Original Assignee
Lianshang Xinchang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN201811149886.0A priority Critical patent/CN109271826A/en
Publication of CN109271826A publication Critical patent/CN109271826A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus of two dimensional code for identification.A specific embodiment of the method for two dimensional code includes: acquisition two dimensional code for identification;If two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate, binary array is extracted from the first predetermined sequence in the coding region of two dimensional code, wherein the first predetermined sequence includes at least two presets;Binary array is decoded, character string corresponding with binary array is obtained.The embodiment can the two dimensional code effectively to Diagram of the Supreme Ultimate pattern identify, improve the recognition accuracy of the two dimensional code to Diagram of the Supreme Ultimate pattern.

Description

The method and apparatus of two dimensional code for identification
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus of two dimensional code for identification.
Background technique
It is universal with smart machine, two dimensional code using more and more extensive.Two dimensional code is also known as two-dimensional bar code, and common two Dimension code is QR Code, QR full name Quick Response, is with certain specific geometric figure according to certain rules in plane (two Tie up direction on) distribution chequered with black and white shorthand numerical information figure.Composition meter is dexterously utilized in code compilation The concept of " 0 " on calculation machine internal logic basis, " 1 " bit stream, carrys out table using several geometrical bodies corresponding with binary system Show text numerical information.By image input device or photoelectric scanning device, the automatic reading and identification of two dimensional code may be implemented, It is calm to realize automatic processing of information function.
However, the two dimensional code of the existing generally rectangular pattern of two dimensional code, existing two-dimensional code recognition mode also only needle The two dimensional code of rectangular patterns is identified.
Summary of the invention
The embodiment of the present application proposes the method and apparatus of two dimensional code for identification.
In a first aspect, the embodiment of the present application provides a kind of method of two dimensional code for identification, comprising: obtain two dimensional code; If two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate, two are extracted from the first predetermined sequence in the coding region of two dimensional code System array, wherein the first predetermined sequence includes at least two presets;Binary array is decoded, obtain with two into The corresponding character string of array processed.
In some embodiments, binary array is extracted from the first predetermined sequence in the coding region of two dimensional code, It include: the pixel for the preset for successively identifying that the first predetermined sequence includes;The preset for including based on first predetermined sequence Pixel, determine binary array.
In some embodiments, this method further include: successively identify that the second predetermined sequence in coding region includes pre- The pixel to set up an office, wherein the second predetermined sequence includes at least two presets;The preset for including based on the second predetermined sequence Pixel determines the mask of two dimensional code;Based on the pixel that the first predetermined sequence includes, binary array is determined, comprising: utilize two dimension The mask pair of code binary array corresponding with the pixel that the first predetermined sequence includes carries out mask operation, after obtaining mask operation Binary array;Based on the binary array after mask operation, binary array is determined.
In some embodiments, based on the binary array after mask operation, binary array is determined, comprising: to mask Binary array after operation carries out error correction, obtains binary array.
In some embodiments, the coding region of the Diagram of the Supreme Ultimate includes fish body region, and fish body region is assembled by multiple points, The multiple points for being gathered into fish body region include preset, and preset is evenly distributed on the inside in fish body region and mutually non-conterminous.
In some embodiments, fish body region includes positive fish body region and negative fish body region, and is gathered into positive fish body region The closeness of point be lower than the closeness for being gathered into the point in negative fish body region so that the color in positive fish body region and negative fish body region Distribution has differences.
In some embodiments, the Diagram of the Supreme Ultimate further includes flake region, and flake region includes positive flake region and negative fish-eye area Domain, the closeness that flake region is assembled by multiple points, and is gathered into the point in positive flake region, which is higher than, is gathered into Yang Yutiqu The closeness of the point in domain, the closeness for being gathered into the point in negative flake region are lower than the closeness for being gathered into the point in negative fish body region.
In some embodiments, Diagram of the Supreme Ultimate box made of multiple point aggregations surrounds, wherein the four of the four edges of box A intersection point is the anchor point of two dimensional code corresponding with character string.
In some embodiments, box is square, and the multiple points for being gathered into box include anchor point.
In some embodiments, box is rounded square, and the multiple points for being gathered into box do not include anchor point, positioning Point is to carry out four intersection points after both ends extend to intersection to the four edges of box.
In some embodiments, binary array is extracted in the first predetermined sequence in the coding region from two dimensional code Before, further includes: processing operation is executed to two dimensional code;Wherein, processing operation includes at least one of the following: the outer of identification two dimensional code Circle contour, to determine that two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate;The anchor point for identifying two dimensional code, determines two dimensional code Position;Identify the distribution of color of two dimensional code, determine the position in sun fish body region and negative fish body region, and based on positive fish body region and The position in negative fish body region is corrected two dimensional code;Resampling is carried out to two dimensional code according to default resolution ratio;To two dimensional code into Row denoising;Binary conversion treatment is carried out to two dimensional code.
Second aspect, the embodiment of the present application provide a kind of device of two dimensional code for identification, comprising: acquiring unit, quilt It is configured to obtain two dimensional code;Extraction unit, if the two dimensional code that two dimensional code is the pattern of the Diagram of the Supreme Ultimate is configured to, from two dimensional code Binary array is extracted in the first predetermined sequence in coding region, wherein the first predetermined sequence includes at least two default Point;Decoding unit is configured to be decoded binary array, obtains character string corresponding with binary array.
The third aspect, the embodiment of the present application provide a kind of network equipment, which includes: one or more processing Device;Storage device stores one or more programs thereon;When one or more programs are executed by one or more processors, make Obtain method of the one or more processors realization as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method as described in implementation any in first aspect is realized when computer program is executed by processor.
The method and apparatus of two dimensional code for identification provided by the embodiments of the present application, for the two dimension of the pattern of the Diagram of the Supreme Ultimate Code, extracts binary array from the first predetermined sequence in the coding region of two dimensional code first;Then to binary array It is decoded, to obtain character string corresponding with binary array.Provide a kind of new two-dimensional code recognition mode, Neng Gouyou Effect ground identifies the two dimensional code of Diagram of the Supreme Ultimate pattern, improves the recognition accuracy of the two dimensional code to Diagram of the Supreme Ultimate pattern.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, purpose and high point will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the method for the two dimensional code for identification of the application;
Fig. 3 is the flow chart according to another embodiment of the method for the two dimensional code for identification of the application;
Fig. 4 A is the schematic diagram for the two dimensional code that box provided by the embodiments of the present application is square;
Fig. 4 B is the schematic diagram for the two dimensional code that box provided by the embodiments of the present application is rounded square;
Fig. 5 is adapted for the structural schematic diagram for the computer system for realizing the network equipment of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the exemplary system architecture 100 of the method for the two dimensional code for identification of the application.
As shown in Figure 1, system architecture 100 may include the network equipment 101, network 102 and the network equipment 103.Network 102 To provide the medium of communication link between the network equipment 101 and the network equipment 103.Network 102 may include various connections Type, such as wired, wireless communication link or fiber optic cables etc..
The network equipment 101,103 can be support network connection to provide the hardware device or soft of various network services Part.When the network equipment is hardware, it can be the various electronic equipments for supporting two dimensional code identification, including but not limited to intelligent hand Machine, tablet computer, pocket computer on knee, desktop computer and server etc..It at this moment, can be with as hardware device It is implemented as the distributed network equipment group of multiple network equipment compositions, single network equipment also may be implemented into.Work as the network equipment When for software, it may be mounted in above-mentioned cited electronic equipment.At this moment, as software, may be implemented into for example for The multiple softwares or software module of Distributed Services are provided, single software or software module also may be implemented into.It does not do and has herein Body limits.
In practice, the network equipment can be provided corresponding by installing corresponding client application or server-side application Network service.The network equipment can be presented as client after being mounted with client application in network communications.Accordingly Ground can be presented as server-side after being mounted with server-side application in network communications.
As an example, the network equipment 103 is presented as server-side, and the network equipment 101 is presented as client in Fig. 1.Tool Body, the network equipment 101 can be the client for being equipped with two dimensional code identification software, and the network equipment 103 can be two dimensional code knowledge The background server of other software.The background server of two dimensional code identification software can be obtained from the client of two dimensional code identification software Two dimensional code carries out two dimensional code the processing such as to analyze, generate processing result (such as character string), and processing result is fed back to two Tie up the client of code identification software.It is understood that the client of two dimensional code identification software can also locally identify two dimensional code. The client of two dimensional code identification software can scan the two-dimensional code, and carry out the processing such as analyzing to two dimensional code, generate processing result (example Such as character string).
It should be noted that the method for two dimensional code can be by the network equipment for identification provided by the embodiment of the present application 103 execute, and can also be executed by the network equipment 101.In the case where being executed by the network equipment 101, system architecture 100 can not The network equipment 103 is set.
It should be understood that the number of network and the network equipment in Fig. 1 is only schematical.It, can be with according to needs are realized With any number of network and the network equipment.
With continued reference to Fig. 2, it illustrates the streams according to one embodiment of the method for the two dimensional code for identification of the application Journey 200.This for identification two dimensional code method the following steps are included:
Step 201, two dimensional code is obtained.
In the present embodiment, executing subject (such as the network equipment shown in FIG. 1 101 or the network of two dimensional code for identification Equipment 103) available two dimensional code.Wherein, two dimensional code can be with certain specific geometric figure according to certain rules in plane The figure of the chequered with black and white shorthand numerical information of (on two-dimensional directional) distribution.The lteral data information that two dimensional code is recorded Can include but is not limited to network address, address, card information, merchandise news, Transaction Information, Wi-Fi (WIreless-Fidelity, Wireless Fidelity) password etc..The pattern of two dimensional code can include but is not limited to rectangular patterns, chrysanthemum pattern, cyclic annular pattern, Tai Ji Pattern formula etc..
In practice, when above-mentioned executing subject is hardware, server can be.At this point, server can lead to from it The terminal device of letter connection obtains two dimensional code.In addition, above-mentioned executing subject is also possible to terminal device, at this point, terminal device can To obtain two dimensional code by scanning the two-dimensional code image.
In some optional implementations of the present embodiment, above-mentioned executing subject can will scan the original that be directly obtained Beginning two dimensional code is as acquired two dimensional code, acquired in the two dimensional code that obtains after can also handling original two dimensional code is used as Two dimensional code.For example, above-mentioned executing subject can obtain original two dimensional code first;Then image is carried out to original two dimensional code to locate in advance Reason, to obtain two dimensional code.Wherein, original two dimensional code can be the two dimensional code being directly obtained by scanning the two-dimensional code image. Image preprocessing can include but is not limited to image scaling, image denoising etc..Two dimensional code after image preprocessing is known Not, two dimensional code recognition result can be impacted to avoid size, the noise etc. of two dimensional code, to improve the identification to two dimensional code Accuracy.
Step 202, pre- from first in the coding region of two dimensional code if two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate If extracting binary array in sequence.
In the present embodiment, above-mentioned executing subject can analyze the shape of two dimensional code, to determine the sample of two dimensional code Formula.In the case where the pattern of two dimensional code is the pattern of the Diagram of the Supreme Ultimate, above-mentioned executing subject can be from the coding region of two dimensional code The first predetermined sequence in extract binary array.In general, the Diagram of the Supreme Ultimate is also known as the female and male fish Diagram of the Supreme Ultimate, shape such as yin-yang two Fish is mutually entangled together, may include positive fish region, negative fish region etc..Positive fish region can also include positive fish body region and positive flake Region.Negative fish region can also include negative fish body region and negative flake region.The coding region of two dimensional code may include the Diagram of the Supreme Ultimate Arbitrary region.For example, the coding region of the Diagram of the Supreme Ultimate can include but is not limited to positive fish body region and the Diagram of the Supreme Ultimate of the Diagram of the Supreme Ultimate Negative fish body region etc..Wherein, above-mentioned first predetermined sequence may include at least two presets in coding region.From two dimension The binary array extracted in the first predetermined sequence in the coding region of code can be the lteral data that two dimensional code is recorded Information obtained binary array after being encoded.The lteral data information of two dimensional code record is usually character string, character string It can be made of letter, number, symbol, Chinese character etc..Character string is recorded for the ease of two dimensional code, it usually needs is compiled using binary system Character string is converted into corresponding binary array by code mode, the first predetermined sequence being then stored into the coding region of two dimensional code In, thus extract from the first predetermined sequence in the coding region of two dimensional code binary array can be it is corresponding with character string Binary array.In general, a character string corresponds to only one binary array.
In practice, since two dimensional code is by by the corresponding spy of binary number in binary array corresponding with character string Determine on the first predetermined sequence that geometric figure is successively plotted in the coding region of two dimensional code and generates.It therefore, can be successively Identify the particular geometric figure on preset that the first predetermined sequence includes, and according between particular geometric figure and binary number Corresponding relationship determine binary array corresponding with character string.Here, particular geometric figure corresponding with binary number can To be matched with the shape of preset, size.Particular geometric figure is usually pure color figure.For example, black dot can represent Binary number 1, white dot can represent binary number 0.
In some optional implementations of the present embodiment, the coding region of the Diagram of the Supreme Ultimate may include fish body region.Fish Body region can be assembled by multiple points.The multiple points for being gathered into fish body region may include preset.For example, first is default The preset that sequence includes can be the partial dot for selecting and from the point for being gathered into fish body region.For the ease of to generation Two dimensional code is identified that the preset that the first predetermined sequence includes is typically at the point of the inside in fish body region, rather than locates In the point on the edge in fish body region.In order to keep the two dimensional code of the Diagram of the Supreme Ultimate pattern generated more beautiful, the first predetermined sequence packet The preset included can be evenly distributed on the inside in fish body region.In order to avoid consecutive points store identical data and are drawn homochromy Dot and link together to two dimensional code identification impact, can be selected from the point of the inside in fish body region mutually it is non-conterminous Point as preset generate the first predetermined sequence.
It include positive fish body region and negative fish body region in fish body region in some optional implementations of the present embodiment In the case where, the closeness for being gathered into the point in positive fish body region is usually less than the closeness for being gathered into the point in negative fish body region, with Have differences positive fish body region and the distribution of color in negative fish body region.In general, not stored data information or non-storing data The point of information is black dot.Since the closeness for being gathered into the point in positive fish body region is lower, in this way, just making positive fish body region Distribution of color is mainly rendered as white.Since the closeness for being gathered into the point in negative fish body region is higher, in this way, with regard to Shi Yin fish body area The distribution of color in domain is mainly rendered as black.In this way, the distribution of color in positive fish body region and negative fish body region has differences, right When the two dimensional code of generation is identified, two dimensional code can be determined according to the distribution of color in positive fish body region and negative fish body region Direction.
It further include flake region in the Diagram of the Supreme Ultimate, flake region includes in some optional implementations of the present embodiment In the case where positive flake region and negative flake region, flake region can be assembled by multiple points.Also, it is gathered into positive flake The closeness of the point in region is higher than the closeness for being gathered into the point in positive fish body region, in this way, convenient for distinguishing positive flake region and sun Fish body region.The closeness for being gathered into the point in negative flake region is lower than the closeness for being gathered into the point in negative fish body region, in this way, just In the negative flake region of differentiation and negative fish body region.In general, the point for being gathered into flake region is not used in storing data information.
In some optional implementations of the present embodiment, the Diagram of the Supreme Ultimate can the box packet made of multiple point aggregations It encloses.Wherein, four intersection points of the four edges of box can be the anchor point of two dimensional code corresponding with character string.For example, box can To be square, at this point, the multiple points for being gathered into box include anchor point, anchor point is the vertex at four angles of box.Example again Such as, in order to which the two dimensional code of generation is more beautiful, box is also possible to rounded square, at this point, being gathered into multiple points of box It does not include anchor point, anchor point is to carry out four intersection points after both ends extend to intersection to the four edges of box.To generation When two dimensional code is identified, the size and location of two dimensional code can be determined according to anchor point.
Step 203, binary array is decoded, obtains character string corresponding with binary array.
In the present embodiment, since what is stored in two dimensional code is after lteral data information that two dimensional code is recorded is encoded Obtained binary array, above-mentioned executing subject can use corresponding decoding process and mention to from the coding region of two dimensional code The binary array of taking-up is decoded, to obtain character string corresponding with binary array, i.e. the text that is recorded of two dimensional code Digital data information.
The method of two dimensional code for identification provided by the embodiments of the present application, for the two dimensional code of the pattern of the Diagram of the Supreme Ultimate, first Binary array is extracted from the first predetermined sequence in the coding region of two dimensional code;Then binary array is solved Code, to obtain character string corresponding with binary array.A kind of new two-dimensional code recognition mode is provided, it can be effectively right The two dimensional code of Diagram of the Supreme Ultimate pattern is identified, the recognition accuracy of the two dimensional code to Diagram of the Supreme Ultimate pattern is improved.
With further reference to Fig. 3, it illustrates another embodiments according to the method for the two dimensional code for identification of the application Process 300.It wherein, can be with reference in relation to the detailed of Fig. 2 with the same or similar content of method shown in Fig. 2 in method shown in Fig. 3 It is thin to introduce, it is subsequent to repeat no more.This for identification two dimensional code method the following steps are included:
Step 301, two dimensional code is obtained.
In the present embodiment, the basic phase of operation of the concrete operations of step 301 and step 201 in embodiment shown in Fig. 2 Together, can be with reference to the detailed description in relation to step 201 in Fig. 2, details are not described herein.
Step 302, the excircle configuration of two dimensional code is identified, to determine that two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate.
In the present embodiment, executing subject (such as the network equipment shown in FIG. 1 101 of the method for two dimensional code for identification Or the network equipment 103) shape of two dimensional code can be analyzed, to determine the pattern of two dimensional code.If above-mentioned executing subject is known Not Chu two dimensional code excircle configuration, then can determine that the two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate.If above-mentioned executing subject Identify that two dimensional code does not have excircle configuration, it, at this time can be with it can be said that the bright two dimensional code is not the two dimensional code of the pattern of the Diagram of the Supreme Ultimate Terminate process.
Step 303, the anchor point for identifying two dimensional code, positions two dimensional code.
In the present embodiment, above-mentioned executing subject can identify the anchor point in two dimensional code, to determine the big of two dimensional code Small and position.In general, the Diagram of the Supreme Ultimate can the box encirclement made of multiple point aggregations.Wherein, four friendships of the four edges of box Point can be the anchor point of two dimensional code corresponding with character string.For example, box can be square.At this point, being gathered into box Multiple points include anchor point, and anchor point is the vertex at four angles of box.In another example the two dimensional code in order to generation is more beautiful It sees, box is also possible to rounded square.At this point, the multiple points for being gathered into box do not include anchor point, anchor point is to box Four edges carry out both ends extend to intersection after four intersection points.
Step 304, it identifies the distribution of color of two dimensional code, determines the position in sun fish body region and negative fish body region, Yi Jiji Two dimensional code is corrected in the position in positive fish body region and negative fish body region.
In the present embodiment, positive fish body region is different with the distribution of color in negative fish body region, and above-mentioned executing subject can be known The distribution of color of other two dimensional code, to determine the position in positive fish body region and negative fish body region, and based on positive fish body region and negative fish The position of body region is corrected two dimensional code, thus the two dimensional code after being corrected.In general, when scanning the two-dimensional code pattern, Terminal device is not face pattern in 2 D code, i.e., there are certain rotation angle between terminal device and pattern in 2 D code, leads There is distortion in the two dimensional code for causing scanning to obtain.According to the distribution of color of two dimensional code, positive fish body region and negative fish body area can be determined The position in domain, so that it is determined that the rotation angle between terminal device and pattern in 2 D code.Two dimensional code is carried out according to rotation angle Correction can correct the distortion for the two dimensional code that scanning obtains.The rotation angle of two dimensional code is avoided to cause two dimensional code recognition result It influences, to improve the recognition accuracy of two dimensional code.
Step 305, resampling is carried out to two dimensional code according to default resolution ratio.
In the present embodiment, above-mentioned executing subject can according to default resolution ratio (such as 1600 × 1600) to correction after Two dimensional code carries out resampling, to obtain the two dimensional code of resampling.Wherein, the resolution ratio of the two dimensional code of resampling can be default Resolution ratio.The different resolution of two dimensional code may cause different influences to two dimensional code recognition result, here by two dimensional code weight It is sampled as the two dimensional code of default resolution ratio, the resolution ratio for avoiding two dimensional code impacts two dimensional code recognition result, to mention Recognition accuracy of the height to two dimensional code.
Step 306, denoising is carried out to two dimensional code.
In the present embodiment, above-mentioned executing subject can carry out denoising to the two dimensional code of resampling, after obtaining denoising Two dimensional code.The noise for removing two dimensional code, can impact two dimensional code recognition result to avoid noise, to improve to two Tie up the recognition accuracy of code.
Step 307, binary conversion treatment is carried out to two dimensional code.
In the present embodiment, above-mentioned executing subject can carry out binary conversion treatment to the two dimensional code after denoising, to obtain The two dimensional code of binaryzation.Since two dimensional code usually only has black, white two kinds of colors, binary conversion treatment is carried out to two dimensional code, it can be with The color of two dimensional code is avoided to impact the recognition result of two dimensional code, to improve the recognition accuracy to two dimensional code.
Step 308, the pixel for the preset that the first predetermined sequence includes successively is identified.
In the present embodiment, binary array corresponding with character string can store in the first predetermined sequence, therefore, on State the pixel for the preset that executing subject can successively identify that the first predetermined sequence includes.
In some optional implementations of the present embodiment, above-mentioned executing subject can include based on the first predetermined sequence Preset pixel, determine corresponding with character string binary array.For example, can include according to the first predetermined sequence be pre- Corresponding relationship between the pixel to set up an office and binary number is determined corresponding with the pixel for the preset that the first predetermined sequence includes Binary array, directly as binary array corresponding with character string.In another example can further to the first default sequence The corresponding binary array of the pixel for the preset that column include is handled, will treated binary array as with character string Corresponding binary array.
Step 309, the pixel for the preset that the second predetermined sequence in coding region includes successively is identified.
In the present embodiment, the version of two dimensional code and mask can store in the second predetermined sequence, the second predetermined sequence It may include at least two presets in coding region.Therefore, above-mentioned executing subject can be by successively identifying that second is default The pixel for the preset that sequence includes.Wherein, the preset that the second predetermined sequence includes can be from being gathered into fish body region The partial dot come is selected in point.In general, the preset that preset and the first predetermined sequence that the second predetermined sequence includes include It is not overlapped.For the ease of identifying to the two dimensional code of generation, the preset that the second predetermined sequence includes is typically at fish body The point of the inside in region, rather than the point on the edge in fish body region.In order to make the two dimensional code of the Diagram of the Supreme Ultimate pattern generated More beautiful, the preset that the second predetermined sequence includes can be evenly distributed on the inside in fish body region.In order to avoid consecutive points It stores identical data and is drawn homochromy dot and links together and two dimensional code identification is impacted, it can be from fish body region Mutually non-conterminous point is selected in internal point is used as preset to generate the second predetermined sequence.
In practice, two dimensional code generally includes multiple versions.The binary array that the two dimensional code of different editions can store Digit is different.Therefore, the information capacity of the two dimensional code of different editions is also different.In general, version is higher, the first predetermined sequence includes Preset quantity it is more, the information that two dimensional code can accommodate is also just corresponding more.
In practice, in order to keep the distribution of color of two dimensional code more uniform, it will usually be carried out using mask to binary array Mask operation, and the binary array after mask operation is stored.
Step 310, the pixel for the preset for including based on the second predetermined sequence determines the mask of two dimensional code.
In the present embodiment, above-mentioned executing subject can according to the pixel of the preset that the second predetermined sequence includes with two into Corresponding relationship between number processed determines binary array corresponding with the pixel for the preset that the second predetermined sequence includes.Its In, binary array corresponding with the pixel for the preset that the second predetermined sequence includes is exactly the mask of two dimensional code.
Step 311, using the mask pair of two dimensional code binary array corresponding with the pixel that the first predetermined sequence includes into Row mask operation, the binary array after obtaining mask operation.
In the present embodiment, above-mentioned executing subject can use the picture that the mask pair of two dimensional code includes with the first predetermined sequence The corresponding binary array of element carries out mask operation, to obtain the binary array after mask operation.Wherein, mask operation is Position and operation are carried out using mask pair binary array corresponding with the pixel that the first predetermined sequence includes.Due to being preset with first The corresponding binary array of the pixel that sequence includes is to carry out mask fortune using mask pair binary array corresponding with character string It obtains, if carrying out mask operation to the corresponding binary array of the pixel for including with the first predetermined sequence again, can obtain To binary array corresponding with character string.
In some optional implementations of the present embodiment, above-mentioned executing subject can based on two after mask operation into Array processed determines binary array corresponding with character string.For example, can by the binary array after mask operation directly as Binary array corresponding with character string.In another example further the binary array after mask operation can be handled, it will Binary array that treated is as binary array corresponding with character string.
Step 312, error correction is carried out to the binary array after mask operation, obtains binary array.
In the present embodiment, for the ease of error correction, what is stored in the coding region of two dimensional code is usually to be added to error correcting code Binary array.At this point, above-mentioned executing subject can carry out error correction to the binary array after mask operation, obtain and character Go here and there corresponding binary array.Wherein, error correcting code can be mistake occurs in decoding process after can voluntarily find or correct Code.To make a kind of code that there is error correcting capability, extra symbol must be increased true form word, to expand the difference between code word, i.e. handle True form word is become the code word for having certain redundancy by certain rule, and makes have certain relationship between the code of each code word.Code word After reaching receiving end, whether can be met according to coding rule to determine whether mistake.When not being able to satisfy, determined by certain rule It is simultaneously corrected mistake position.Here the error correcting code added is usually RS error correcting code.
Step 313, binary array is decoded, obtains character string corresponding with binary array.
In the present embodiment, since what is stored in two dimensional code is after lteral data information that two dimensional code is recorded is encoded Obtained binary array, above-mentioned executing subject can use corresponding decoding process and carry out to the binary array after error correction Decoding, to obtain character string corresponding with binary array, i.e. the lteral data information that is recorded of two dimensional code.
From figure 3, it can be seen that compared with the corresponding embodiment of Fig. 2, the side of the two dimensional code for identification in the present embodiment The process 300 of method increases the step of handling two dimensional code and carries out the step of mask operation and error correction to binary array Suddenly.The scheme of the present embodiment description not only can be to avoid the rotation angle of the two dimensional code of the pattern of the non-Diagram of the Supreme Ultimate, two dimensional code as a result, Degree, the size of two dimensional code, color of the noise of two dimensional code, two dimensional code etc. impact two dimensional code recognition result, can also be right The binary array extracted carries out error correction, to further increase the recognition accuracy to two dimensional code.
For the scheme for further illustrating the embodiment of the present application, refers to Fig. 4 A and Fig. 4 B, Fig. 4 A and show the application implementation The schematic diagram for the two dimensional code that the box that example provides is square.Fig. 4 B show box provided by the embodiments of the present application be fillet just The schematic diagram of rectangular two dimensional code.In Fig. 4 A and Fig. 4 B, two dimensional code is by depositing binary array corresponding with character string Storage is generated in the coding region of the Diagram of the Supreme Ultimate.The resolution ratio of two dimensional code is 1600 × 1600, be can be by multiple point aggregations Made of, wherein the pixel for being gathered into each point of two dimensional code is 20 × 20.Two dimensional code may include the Diagram of the Supreme Ultimate and encirclement Tai Ji The box of figure.If the x-axis of rectangular coordinate system and a line of box are parallel by taking the rectangular coordinate system in Fig. 4 A and Fig. 4 B as an example, And the distance between this edge and x-axis are 1.The y-axis of rectangular coordinate system is parallel with the another a line of box, and this edge and x-axis The distance between be 1.By Fig. 4 A and Fig. 4 B it is found that box, the edge in negative fish body region, positive fish body region edge can be by Multiple continuous points are assembled.In Figure 4 A, the multiple points for being gathered into box include anchor point, and anchor point is four of box The vertex at angle.In figure 4b, the multiple points for being gathered into box do not include anchor point, and anchor point is to carry out two to the four edges of box End extends to four intersection points after intersection.By Fig. 4 A and Fig. 4 B it is found that negative flake region can be assembled by multiple points, and this A little points are usually concentrated in the edge in negative flake region.Positive flake region can also be assembled by multiple points, and these points are usual It is evenly distributed in the whole region of positive flake.The above point is generally not used for storing data information.In Fig. 4 A and Fig. 4 B In, the point of the inside in fish body region can be used for storing data information.In general, can be chosen from the point of the inside in fish body region Mutually non-conterminous point carrys out storing data information out.For example, can be from the point of negative fish body region and the inside in positive fish body region minute A mutually non-conterminous point of the first preset number (such as 20) is not selected, is generated the second predetermined sequence and is come storage version and mask.Its In, the first preset number point in negative fish body region can be with the first preset number point in positive fish body region about Tai Ji The center point symmetry of figure, can also be asymmetric.Here it is possible to be drawn on these aspects according to the binary number of version and mask Black dot or white dot.In general, black dot can be drawn to represent binary number 1, white dot is drawn to represent two System number 0.The inside in the inside in negative fish body region and positive fish body region can be assembled by multiple points, and usually uniform point Cloth is in the whole region of negative fish body and positive fish body.Meanwhile the closeness of the point of the inside in negative fish body region is higher than Yang Yutiqu The closeness of the point of the inside in domain.In this way, the distribution of color in negative fish body region is just made mainly to be rendered as black, positive fish body region Distribution of color is mainly rendered as white.For example, the second preset number can be selected from the point of the inside in negative fish body region Mutual non-conterminous point selects third preset number mutually non-conterminous point from the point of the inside in positive fish body region, generates the One predetermined sequence stores binary array.Wherein, the second preset number can be equal with third preset number, can not also phase Deng.When the second preset number is equal with third preset number, the second preset number point in negative fish body region can be with sun Center point symmetry of the third preset number point about the Diagram of the Supreme Ultimate in fish body region, can also be asymmetric.Here it is possible to according to The binary number of binary array draws black dot or white dot on these aspects.In general, black dot can be drawn Binary number 1 is represented, draws white dot to represent binary number 0.
The two dimension of the pattern of the Diagram of the Supreme Ultimate can be generated according to the method provided by the embodiments of the present application for generating two dimensional code Code.Wherein, Fig. 4 A and Fig. 4 B shows the schematic diagram of the two dimensional code of the pattern of two kinds of Diagram of the Supreme Ultimates.By Fig. 4 A and Fig. 4 B it is found that two Dimension code includes the Diagram of the Supreme Ultimate and the box for surrounding the Diagram of the Supreme Ultimate.The Diagram of the Supreme Ultimate is assembled by multiple points, the closeness of the point of different zones Difference, consequently facilitating different regions is distinguished, so that two dimensional code shows the pattern of the Diagram of the Supreme Ultimate.Only with the part in the Diagram of the Supreme Ultimate Point storing data, and the point of storing data is more random, improves the safety of two dimensional code.The point of storing data is mutually non-conterminous, Two dimensional code will not be identified and be impacted.Box is assembled by multiple points.In Figure 4 A, box is square, the side of being gathered into Multiple points of frame include anchor point, and anchor point is the vertex at four angles of box, when identifying to two dimensional code, convenient for searching To anchor point.In figure 4b, box is rounded square, camber is designed at four angles of box, to make two dimensional code more It is beautiful.
Method provided by the embodiments of the present application is mainly described above, in addition, the embodiment of the present application also provides a kind of network Equipment, the network equipment may include the unit or module for being able to carry out each step in method as described above, these units or Module can realize that the embodiment of the present application does not limit by way of software, hardware or soft or hard combination.Below with reference to Fig. 5 A kind of possible network equipment provided by the embodiments of the present application is introduced.
Below with reference to Fig. 5, it is (such as shown in FIG. 1 that it illustrates the network equipments for being suitable for being used to realize the embodiment of the present application The network equipment 101 or the network equipment 103) computer system 500 structural schematic diagram.The network equipment shown in Fig. 5 is only One example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various movements appropriate and processing.In RAM503, also it is stored with system 500 and operates required various programs and data. CPU501, ROM502 and RAM503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to bus 504。
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 509, and/or from detachable media 511 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer-readable medium either the two any combination.Computer-readable medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer-readable medium, which can be, any includes or storage program has Shape medium, the program can be commanded execution system, device or device use or in connection.And in the application In, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, wherein Carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to electric Magnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Jie Any computer-readable medium other than matter, the computer-readable medium can be sent, propagated or transmitted for being held by instruction Row system, device or device use or program in connection.The program code for including on computer-readable medium It can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any conjunction Suitable combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object-oriented programming language-such as Java, Smalltalk, C+ +, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include acquiring unit, extraction unit and decoding unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, acquiring unit is also described as " obtaining the unit of two dimensional code ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in the network equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying network equipment. Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are held by the network equipment When row, so that the network equipment: obtaining two dimensional code;If two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate, from the volume of two dimensional code Binary array is extracted in the first predetermined sequence in code region, wherein the first predetermined sequence includes at least two presets; Binary array is decoded, character string corresponding with binary array is obtained.Further, when said one or multiple When program is executed by the network equipment, so that hereinbefore each method and step can also be performed in the network equipment, specifically may be used To be not repeated herein referring to above.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (13)

1. a kind of method of two dimensional code for identification characterized by comprising
Obtain two dimensional code;
If the two dimensional code is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate, from the first default sequence in the coding region of the two dimensional code Binary array is extracted in column, wherein first predetermined sequence includes at least two presets;
The binary array is decoded, character string corresponding with the binary array is obtained.
2. the method according to claim 1, wherein described pre- from first in the coding region of the two dimensional code If extracting binary array in sequence, comprising:
Successively identify the pixel for the preset that first predetermined sequence includes;
Pixel based on the preset that first predetermined sequence includes, determines the binary array.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Successively identify the pixel for the preset that the second predetermined sequence in the coding region includes, wherein described second is default Sequence includes at least two presets;
Pixel based on the preset that second predetermined sequence includes, determines the mask of the two dimensional code;
The pixel for including based on first predetermined sequence, determines the binary array, comprising:
It is covered using the mask pair of two dimensional code binary array corresponding with the pixel that first predetermined sequence includes Code operation, the binary array after obtaining mask operation;
Based on the binary array after the mask operation, the binary array is determined.
4. according to the method described in claim 3, it is characterized in that, the binary array based on after the mask operation, Determine the binary array, comprising:
Error correction is carried out to the binary array after the mask operation, obtains the binary array.
5. the method according to one of claim 2-4, which is characterized in that the coding region of the Diagram of the Supreme Ultimate includes fish Body region, the fish body region are assembled by multiple points, and the multiple points for being gathered into the fish body region include the preset, And the preset be evenly distributed on the fish body region inside and mutually it is non-conterminous.
6. according to the method described in claim 5, it is characterized in that, the fish body region includes positive fish body region and negative fish body area Domain, and the closeness for being gathered into the point in the positive fish body region is lower than the closeness for being gathered into the point in the negative fish body region, with Have differences the positive fish body region and the distribution of color in the negative fish body region.
7. according to the method described in claim 6, it is characterized in that, the Diagram of the Supreme Ultimate further includes flake region, the fish-eye area Domain includes positive flake region and negative flake region, and the flake region is assembled by multiple points, and is gathered into the positive flake The closeness of the point in region is higher than the closeness for being gathered into the point in the positive fish body region, is gathered into the point in the negative flake region Closeness be lower than the closeness for being gathered into the point in the negative fish body region.
8. method according to claim 6 or 7, which is characterized in that Diagram of the Supreme Ultimate box made of multiple point aggregations It surrounds, wherein four intersection points of the four edges of the box are the anchor points of two dimensional code corresponding with the character string.
9. according to the method described in claim 8, and being gathered into the box it is characterized in that, the box is square Multiple points include the anchor point.
10. according to the method described in claim 8, it is characterized in that, the box is rounded square, and being gathered into the side Multiple points of frame do not include the anchor point, and the anchor point is after the four edges progress both ends to the box extend to intersection Four intersection points.
11. according to the method described in claim 8, it is characterized in that, in from the coding region of the two dimensional code Before extracting binary array in one predetermined sequence, further includes:
Processing operation is executed to the two dimensional code;
Wherein, the processing operation includes at least one of the following:
It identifies the excircle configuration of the two dimensional code, is the two dimensional code of the pattern of the Diagram of the Supreme Ultimate with the determination two dimensional code;
The anchor point for identifying the two dimensional code positions the two dimensional code;
The distribution of color for identifying the two dimensional code determines the position in the positive fish body region and the negative fish body region, Yi Jiji The two dimensional code is corrected in the position in the positive fish body region and the negative fish body region;
Resampling is carried out to the two dimensional code according to default resolution ratio;
Denoising is carried out to the two dimensional code;
Binary conversion treatment is carried out to the two dimensional code.
12. a kind of network equipment, comprising:
One or more processors;
Storage device stores one or more programs thereon;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-11.
13. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor Method of the Shi Shixian as described in any in claim 1-11.
CN201811149886.0A 2018-09-29 2018-09-29 The method and apparatus of two dimensional code for identification Pending CN109271826A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811149886.0A CN109271826A (en) 2018-09-29 2018-09-29 The method and apparatus of two dimensional code for identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811149886.0A CN109271826A (en) 2018-09-29 2018-09-29 The method and apparatus of two dimensional code for identification

Publications (1)

Publication Number Publication Date
CN109271826A true CN109271826A (en) 2019-01-25

Family

ID=65195811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811149886.0A Pending CN109271826A (en) 2018-09-29 2018-09-29 The method and apparatus of two dimensional code for identification

Country Status (1)

Country Link
CN (1) CN109271826A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871724A (en) * 2019-02-20 2019-06-11 连尚(新昌)网络科技有限公司 A kind of method and apparatus of two dimensional code for identification
CN111523630A (en) * 2020-04-21 2020-08-11 中国人民银行印制科学技术研究所 Two-dimensional code, two-dimensional code encoding method and device, and two-dimensional code identification method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793735A (en) * 2014-01-28 2014-05-14 河海大学 Circular two-dimensional bar code and encoding and decoding method thereof
CN104143109A (en) * 2014-01-28 2014-11-12 深圳市雁联计算系统有限公司 Two-dimensional code coding method, two-dimensional code decoding method and two-dimensional code print
CN105488552A (en) * 2016-01-01 2016-04-13 江苏图码信息科技有限公司 Nonlinear two-dimensional code product and application assembly
CN106951812A (en) * 2017-03-31 2017-07-14 腾讯科技(深圳)有限公司 Recognize method, device and the terminal of Quick Response Code
CN107247985A (en) * 2017-05-27 2017-10-13 浙江隐齿丽医学技术有限公司 Coding, positioning and the recognition methods of New Two Dimensional code
CN107748908A (en) * 2017-09-18 2018-03-02 中国农业大学 A kind of individual two-dimensional code constructing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793735A (en) * 2014-01-28 2014-05-14 河海大学 Circular two-dimensional bar code and encoding and decoding method thereof
CN104143109A (en) * 2014-01-28 2014-11-12 深圳市雁联计算系统有限公司 Two-dimensional code coding method, two-dimensional code decoding method and two-dimensional code print
CN105488552A (en) * 2016-01-01 2016-04-13 江苏图码信息科技有限公司 Nonlinear two-dimensional code product and application assembly
CN106951812A (en) * 2017-03-31 2017-07-14 腾讯科技(深圳)有限公司 Recognize method, device and the terminal of Quick Response Code
CN107247985A (en) * 2017-05-27 2017-10-13 浙江隐齿丽医学技术有限公司 Coding, positioning and the recognition methods of New Two Dimensional code
CN107748908A (en) * 2017-09-18 2018-03-02 中国农业大学 A kind of individual two-dimensional code constructing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871724A (en) * 2019-02-20 2019-06-11 连尚(新昌)网络科技有限公司 A kind of method and apparatus of two dimensional code for identification
CN111523630A (en) * 2020-04-21 2020-08-11 中国人民银行印制科学技术研究所 Two-dimensional code, two-dimensional code encoding method and device, and two-dimensional code identification method and device
CN111523630B (en) * 2020-04-21 2024-04-19 中钞印制技术研究院有限公司 Two-dimensional code encoding method and device, and two-dimensional code recognition method and device

Similar Documents

Publication Publication Date Title
US11893611B2 (en) Document optical character recognition
CN108510472B (en) Method and apparatus for handling image
CN107911753A (en) Method and apparatus for adding digital watermarking in video
CN108446698A (en) Method, apparatus, medium and the electronic equipment of text are detected in the picture
CN110942061A (en) Character recognition method, device, equipment and computer readable medium
CN109063653A (en) Image processing method and device
CN110458173A (en) Method and apparatus for generating article color value
CN109271826A (en) The method and apparatus of two dimensional code for identification
CN108985421A (en) The generation method and recognition methods of encoded information
CN109255767A (en) Image processing method and device
CN108509916A (en) Method and apparatus for generating image
CN108875444A (en) The method and apparatus of two dimensional code for identification
CN109255417A (en) Method and apparatus for generating two dimensional code
CN110764685B (en) Method and device for identifying two-dimensional code
CN110827301A (en) Method and apparatus for processing image
CN111797642B (en) Bar code identification method and terminal
CN113177542A (en) Method, device and equipment for identifying characters of seal and computer readable medium
CN108921792A (en) Method and apparatus for handling picture
CN110069907A (en) Big data source tracing method and system based on digital watermarking
CN109614972A (en) Image processing method, device, electronic equipment and computer-readable medium
CN108170683B (en) Method and apparatus for obtaining information
CN105069393A (en) Two-dimensional code malicious reading-preventing method and device
CN110969041B (en) Identification method and device for graphic codes
CN110969042A (en) Two-dimensional code identification method and device and hardware device
CN113298687B (en) Watermark image adding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination