CN108563973A - A kind of combined type is traced to the source code tag and its recognition methods - Google Patents
A kind of combined type is traced to the source code tag and its recognition methods Download PDFInfo
- Publication number
- CN108563973A CN108563973A CN201810385419.1A CN201810385419A CN108563973A CN 108563973 A CN108563973 A CN 108563973A CN 201810385419 A CN201810385419 A CN 201810385419A CN 108563973 A CN108563973 A CN 108563973A
- Authority
- CN
- China
- Prior art keywords
- quick response
- response code
- code
- combined type
- private mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Electromagnetism (AREA)
- Toxicology (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
It traces to the source code tag and its recognition methods this application discloses a kind of combined type, combined type code tag of tracing to the source includes label body, private mark and Quick Response Code, wherein private mark and Quick Response Code are arranged in label body, private mark include Quick Response Code gray-scale map and with the staggered private mark symbol of Quick Response Code gray-scale map.By the way that Combined type label is arranged, effectively hiding product form information and place of production information realize safer product traceability by double anti-forge, simultaneously because being provided with private mark so that in Quick Response Code None- identified, still can efficiently identify product information.
Description
Technical field
It traces to the source code tag and its recognition methods this application involves computer realm more particularly to a kind of combined type.
Background technology
Due to the order of the market economy of relatively current inadequate specification, the high agricultural product of many quality often become bad retailer
The object of counterfeit false making is substituted with expired agricultural product, the economic interests and image of grievous injury esbablished corporation, while also pole
The major injury interests of consumer.Esbablished corporation is very big in the upper various aspects input of packaging of tracing to the source, but the effect is unsatisfactory.
For continuing to bring out for fake and forged agricultural product, there is an urgent need for by the way that the mark with function of tracing to the source is arranged on agricultural product
Label help consumer or law-executor to carry out positive pseudo commodity discrimination and the inquiry of tracing to the source of commodity purchase and sale process.
Invention content
An object of the application is to provide a kind of combined type and traces to the source code tag, easy to solve existing code tag of tracing to the source
In crack the problem of, a kind of safe and reliable combined type is provided and is traced to the source code tag.
Based on this, the application proposes that a kind of combined type is traced to the source code tag, and combined type code tag of tracing to the source includes mark
Sign ontology, private mark and Quick Response Code, wherein private mark and Quick Response Code is arranged in label body, private mark include Quick Response Code gray-scale map with
And with the staggered private mark symbol of Quick Response Code gray-scale map.
Wherein Quick Response Code gray-scale map, which generates, includes:
Combined type is read to trace to the source the Quick Response Code on code tag;
The two-dimensional code data of reading is converted into two-dimensional matrix;
Two-dimensional fast fourier transform is executed to two-dimensional matrix, obtains Fourier spectrum;
Quick Response Code gray-scale map is obtained after Fourier spectrum is encoded and quantified.
Wherein private mark symbol is discrete codes point.
Wherein discrete codes point representative products form information.
It wherein scans the two-dimensional code and obtains product place of production information, scanning private mark obtains product form information.
Further, the application also provides a kind of combined type and traces to the source code tag generation method, includes the following steps:
Generate label body;
Quick Response Code is generated using product place of production information;
Private mark is generated using Quick Response Code;
Quick Response Code and private mark are printed upon in label body;
Wherein private mark include Quick Response Code gray-scale map and with the staggered private mark symbol of Quick Response Code gray-scale map.
Wherein Quick Response Code gray-scale map, which generates, includes:
Combined type is read to trace to the source the Quick Response Code on code tag;
The two-dimensional code data of reading is converted into two-dimensional matrix;
Two-dimensional fast fourier transform is executed to two-dimensional matrix, obtains Fourier spectrum;
Quick Response Code gray-scale map is obtained after Fourier spectrum is encoded and quantified.
Wherein private mark symbol is discrete codes point.
Wherein discrete codes point representative products form information.
The application also provides the method that a kind of identification combined type as described above traces to the source code tag, includes the following steps:
Quick Response Code is read, place of production information is obtained;
Private mark is read, product form information is obtained;
Wherein, in Quick Response Code None- identified, restore Quick Response Code using the Quick Response Code gray-scale map that private mark includes, to obtain
Obtain accurate place of production information.
For the application by the way that Combined type label is arranged, effectively hiding product form information and place of production information pass through double anti-forge
Safer product traceability is realized, simultaneously because being provided with private mark so that, still can be effective in Quick Response Code None- identified
Ground identifies product information.
Description of the drawings
Fig. 1 is that combined type is traced to the source the structure chart of code tag;
Fig. 2 is that combined type is traced to the source the generation method flow chart of code tag;
Fig. 3 is the method flow diagram for generating Quick Response Code gray-scale map;
Fig. 4 is that recognition combination formula is traced to the source the method flow diagram of code tag;
Fig. 5 is the method flow diagram for identifying Quick Response Code gray-scale map;
Fig. 6 is the flow chart of Quick Response Code gray-scale map modification method.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall in the protection scope of this application.
The application is claimed a kind of combined type and traces to the source code tag and its recognition methods, the wherein structure of code tag such as
Shown in Fig. 1, including label body 110, private mark 120 and Quick Response Code 130, wherein private mark 120 and Quick Response Code 130 are arranged in label sheet
On body 110, private mark 120 further comprise Quick Response Code gray-scale map (pattern that dot in private mark 120 is constituted) and with two dimension
The code staggered private mark symbol of gray-scale map (star-shaped symbol in private mark 120).Private mark symbol therein is discrete codes point, to
Composition information, such as the structural information of product, colouring information of representative products etc..On it will be understood by those skilled in the art that
It is to schematically show to state private mark, and the Quick Response Code gray-scale map and private mark symbol really generated can have different code-point forms, only
It wants not restricting it herein with characterization information.
Embodiment 1
It traces to the source the generation method of code tag, includes the following steps Fig. 2 shows combined type shown in FIG. 1:
Step S210, label body is generated;
Label body is formed by multi-sheet printed figure layer by suppressing layer by layer.
Step S220, Quick Response Code is generated using product place of production information;
By the place of production information coding of product, Quick Response Code is generated.
Step S230, private mark is generated using Quick Response Code;
Wherein private mark include Quick Response Code gray-scale map and with the staggered private mark symbol of Quick Response Code gray-scale map, as shown in Figure 1,
Including following sub-step:
Step S2301, Quick Response Code gray-scale map is generated;
The step of wherein generating Quick Response Code gray-scale map is as shown in figure 3, include following sub-step:
Step S310, combined type is read to trace to the source the Quick Response Code on code tag;
2 D code information can be read by reading device, such as portable terminal.
Step S320, the two-dimensional code data of reading is converted into two-dimensional matrix;
The 2 D code information that portable terminal is read is converted into two-dimensional matrix.
Step S330, two-dimensional fast fourier transform is executed to two-dimensional matrix, obtains Fourier spectrum;
Step S340, Quick Response Code gray-scale map is obtained after Fourier spectrum being encoded and quantified.
By step shown in Fig. 3, Quick Response Code gray-scale map is obtained.Since Quick Response Code gray-scale map has carried out one to Quick Response Code
Series of transformations greatly increases so that cracking difficulty, simultaneously because the increase of information content entrained by Fourier spectrum so that even if
Quick Response Code gray-scale map is destroyed, entrained by 2 D code information can also be able to most recovery.But relative to two dimension
Code, Quick Response Code gray-scale map, which has, to be calculated complicated, restores the high disadvantage of difficulty, and therefore, the application is by Quick Response Code and Quick Response Code gray scale
Figure is used in combination, relatively high by complexity when Quick Response Code is there is a situation where that can not read, but restoring degree also accordingly improves
Quick Response Code gray-scale map, the reading of product place of production information may be implemented.It is simple and fast and two-dimentional that the application combines Quick Response Code
The complicated reliable two aspects advantage of code gray-scale map, in the case where ensureing quickly to read, also provide reliable reading to the user
The guarantee taken.
Step S2302, private mark symbol is generated.
Private mark symbol is some discrete codes points, as shown in Figure 1, characterizing product form information, example using discrete codes point
Such as product structure, product colour.Discrete codes point can write program by the programmable part of portable device, utilize volume
The Program Generating discrete codes point write, these discrete codes points have particular meaning, pass through the reading of portable device in a program
Interface is taken, after reading discrete codes point, can get the information representated by discrete codes point.
Step S2303, the Quick Response Code gray-scale map of generation and private mark encoded point are synthesized, forms private mark.
Step S240, Quick Response Code and private mark are printed upon in label body;
Wherein private mark include Quick Response Code gray-scale map and with the staggered private mark symbol of Quick Response Code gray-scale map.
Embodiment 2
Combined type is described above in association with Fig. 1-3 to trace to the source the generation method of code tag, is identified below in conjunction with Fig. 4,5 descriptions
The method of the code tag of above-mentioned generation, includes the following steps:
Step S410, Quick Response Code is read, place of production information is obtained;
Place of production information is can get by reading Quick Response Code.
Step S420, private mark is read, product form information is obtained;
By the reading interface of reading device, private mark is obtained, private mark symbol therein is parsed, further by compiling in advance
The program of system obtains the product form information represented by private mark symbol.
Further, in the case where step S410 cannot read Quick Response Code and obtain place of production information, such as Quick Response Code is damaged
When, restore Quick Response Code using the Quick Response Code gray-scale map that private mark includes, to obtain accurate place of production information.Wherein, using dark
The Quick Response Code gray-scale map that code includes restores Quick Response Code and includes the following steps, as shown in Figure 5:
Step S510, the Quick Response Code gray-scale map in private mark is read;
It can be by obtaining private mark, and remove private mark symbol therein and obtain Quick Response Code gray-scale map.
Step S520, the Quick Response Code gray-scale map of acquisition is converted into two-dimensional matrix;
Step S530, Fourier transformation is executed to two-dimensional matrix, obtains the place of production information of carrying.
Embodiment 3
It traces to the source the foregoing describe combined type the generation and recognition methods of code tag, due to the shape using Quick Response Code gray-scale map
Formula can effectively solve the problems, such as information extraction when Quick Response Code breakage, but due in Quick Response Code breakage, being often accompanied with private mark
Breakage, although Quick Response Code gray-scale map have than Quick Response Code better information recovery capability, it is extensive that still there may be information
Multiple incomplete problem, it is therefore proposed that following Quick Response Code gray-scale map modification method, as shown in Figure 6:
Step S610, by Quick Response Code gray-scale map binaryzation;
Step S620, redundant information is removed;
Existing image processing techniques can be used to realize edge extracting, such as Canny operators.
Step S630, it executes and expands operation;
Image to be treated is done into morphology expansion using square structure, so that being connect with the square structure
Tactile all background dots are all fused in the square structure, and its boundary is made to expand outwardly.
Step S640, connection operation is executed;
Connection operation the part of each separation in bianry image can be marked so that Quick Response Code gray level image and
Other garbages distinguish.
Step S650, largest connected region is selected.
Step S660, the pixel value of other connected regions is set as 0;
The pixel value of other connected regions other than largest connected region is disposed as 0.
Step S670, floor projection and upright projection are executed to image;
Step S680, it is cut according to projection result, obtains output image.
By above-mentioned modification method, the damaged noise in Quick Response Code gray-scale map can be effectively removed, obtains more accurate two
Tie up code gray level image.
Description and application of the invention herein are illustrative, is not wishing to limit the scope of the invention to above-described embodiment
In.The deformation and change of embodiments disclosed herein are possible, real for those skilled in the art
The replacement and equivalent various parts for applying example are well known.It should be appreciated by the person skilled in the art that not departing from the present invention
Spirit or essential characteristics in the case of, the present invention can in other forms, structure, arrangement, ratio, and with other components,
Material and component are realized.Without departing from the scope and spirit of the present invention, can to embodiments disclosed herein into
The other deformations of row and change.
Claims (10)
- The code tag 1. a kind of combined type is traced to the source, which is characterized in that the combined type trace to the source code tag include label body, it is dark Code and Quick Response Code, wherein private mark and Quick Response Code are arranged in label body, private mark include Quick Response Code gray-scale map and with two dimension The code staggered private mark symbol of gray-scale map.
- The code tag 2. combined type as described in claim 1 is traced to the source, wherein Quick Response Code gray-scale map generate:Combined type is read to trace to the source the Quick Response Code on code tag;The two-dimensional code data of reading is converted into two-dimensional matrix;Two-dimensional fast fourier transform is executed to two-dimensional matrix, obtains Fourier spectrum;Quick Response Code gray-scale map is obtained after Fourier spectrum is encoded and quantified.
- The code tag 3. combined type as claimed in claim 1 or 2 is traced to the source, wherein private mark symbol are discrete codes point.
- The code tag 4. combined type as claimed in claim 3 is traced to the source, wherein discrete codes point representative products form information.
- The code tag 5. combined type as described in claim 1 is traced to the source obtains product place of production information, scanning wherein scanning the two-dimensional code Private mark obtains product form information.
- The code tag generation method 6. a kind of combined type is traced to the source, includes the following steps:Generate label body;Quick Response Code is generated using product place of production information;Private mark is generated using Quick Response Code;Quick Response Code and private mark are printed upon in label body;Wherein private mark include Quick Response Code gray-scale map and with the staggered private mark symbol of Quick Response Code gray-scale map.
- The code tag generation method 7. combined type as claimed in claim 6 is traced to the source, wherein Quick Response Code gray-scale map generate:Combined type is read to trace to the source the Quick Response Code on code tag;The two-dimensional code data of reading is converted into two-dimensional matrix;Two-dimensional fast fourier transform is executed to two-dimensional matrix, obtains Fourier spectrum;Quick Response Code gray-scale map is obtained after Fourier spectrum is encoded and quantified.
- The code tag generation method 8. combined type as claimed in claims 6 or 7 is traced to the source, wherein private mark symbol are discrete codes Point.
- The code tag generation method 9. combined type as claimed in claims 6 or 7 is traced to the source, wherein discrete codes point representative products group At information.
- A kind of method of code tag 10. identification combined type as described in claim 1 is traced to the source, includes the following steps:Quick Response Code is read, place of production information is obtained;Private mark is read, product form information is obtained;Wherein, in Quick Response Code breakage, restore Quick Response Code using the Quick Response Code gray-scale map that private mark includes, it is accurate to obtain Place of production information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810385419.1A CN108563973B (en) | 2018-04-26 | 2018-04-26 | Combined type source tracing coded label and identification method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810385419.1A CN108563973B (en) | 2018-04-26 | 2018-04-26 | Combined type source tracing coded label and identification method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108563973A true CN108563973A (en) | 2018-09-21 |
CN108563973B CN108563973B (en) | 2019-12-17 |
Family
ID=63536906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810385419.1A Active CN108563973B (en) | 2018-04-26 | 2018-04-26 | Combined type source tracing coded label and identification method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108563973B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699975A (en) * | 2020-12-28 | 2021-04-23 | 深圳市信达珑丰科技有限公司 | Material tracing method and system based on two-dimension code |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103903039A (en) * | 2014-03-26 | 2014-07-02 | 深圳大学 | Hidden code holographic anti-counterfeiting film and manufacturing method and recognition system thereof |
CN104915849A (en) * | 2015-06-29 | 2015-09-16 | 立德高科(北京)数码科技有限责任公司 | Combined source tracing tag and commodity source tracing method and system |
CN105550732A (en) * | 2016-02-22 | 2016-05-04 | 冯贵良 | Combined-type source tracing label and commodity source tracing method and system |
CN107644186A (en) * | 2017-10-24 | 2018-01-30 | 河南科技大学 | A kind of damaged two-dimensional code identification method holographic based on calculating |
-
2018
- 2018-04-26 CN CN201810385419.1A patent/CN108563973B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103903039A (en) * | 2014-03-26 | 2014-07-02 | 深圳大学 | Hidden code holographic anti-counterfeiting film and manufacturing method and recognition system thereof |
CN104915849A (en) * | 2015-06-29 | 2015-09-16 | 立德高科(北京)数码科技有限责任公司 | Combined source tracing tag and commodity source tracing method and system |
CN105550732A (en) * | 2016-02-22 | 2016-05-04 | 冯贵良 | Combined-type source tracing label and commodity source tracing method and system |
CN107644186A (en) * | 2017-10-24 | 2018-01-30 | 河南科技大学 | A kind of damaged two-dimensional code identification method holographic based on calculating |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699975A (en) * | 2020-12-28 | 2021-04-23 | 深圳市信达珑丰科技有限公司 | Material tracing method and system based on two-dimension code |
Also Published As
Publication number | Publication date |
---|---|
CN108563973B (en) | 2019-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI606406B (en) | Methods, apparatus, and tangible computer readable storage media to extract text from imaged documents | |
JP4323328B2 (en) | System and method for identifying and extracting character string from captured image data | |
KR101769918B1 (en) | Recognition device based deep learning for extracting text from images | |
CN106599940B (en) | Picture character recognition method and device | |
Thomas et al. | Synthetic handwritten captchas | |
US20130077856A1 (en) | Processes and systems for training machine typesets for character recognition | |
Nguyen et al. | On the security of text-based 3D CAPTCHAs | |
Nguyen et al. | Breaking a 3D-based CAPTCHA scheme | |
CN113128241A (en) | Text recognition method, device and equipment | |
Garlapati et al. | A system for handwritten and printed text classification | |
CN109685061A (en) | The recognition methods of mathematical formulae suitable for structuring | |
CN108563973A (en) | A kind of combined type is traced to the source code tag and its recognition methods | |
CN106934756B (en) | Method and system for embedding information in single-color or special-color image | |
Sharma et al. | Primitive feature-based optical character recognition of the Devanagari script | |
CN102262731A (en) | Character recognizing method based on sparse coding | |
CN107688744A (en) | Malicious file sorting technique and device based on Image Feature Matching | |
Sakkatos et al. | Analysis of text-based CAPTCHA images using Template Matching Correlation technique | |
CN115270711A (en) | Electronic signature method, electronic signature device, electronic apparatus, and storage medium | |
Abu-Ain et al. | A Fast and Efficient Thinning Algorithm for Binary Images. | |
CN111476090B (en) | Watermark identification method and device | |
CN113936186A (en) | Content identification method and device, electronic equipment and readable storage medium | |
CN112070092A (en) | Verification code parameter acquisition method and device | |
Yaghmaee et al. | Introducing new trends for Persian CAPTCHA | |
Dinh et al. | Voting based text line segmentation in handwritten document images | |
Zaw et al. | Segmentation Method for Myanmar Character Recognition Using Block based Pixel Count and Aspect Ratio |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Feng Guiliang Inventor after: Yang Dong Inventor before: Feng Guiliang |
|
GR01 | Patent grant | ||
GR01 | Patent grant |