CN110533017B - Authenticity identification method, device, terminal and storage medium - Google Patents

Authenticity identification method, device, terminal and storage medium Download PDF

Info

Publication number
CN110533017B
CN110533017B CN201910833144.8A CN201910833144A CN110533017B CN 110533017 B CN110533017 B CN 110533017B CN 201910833144 A CN201910833144 A CN 201910833144A CN 110533017 B CN110533017 B CN 110533017B
Authority
CN
China
Prior art keywords
target
code point
microcoded
image
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910833144.8A
Other languages
Chinese (zh)
Other versions
CN110533017A (en
Inventor
程烨
程礼邦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quantum Cloud Code Fujian Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910833144.8A priority Critical patent/CN110533017B/en
Publication of CN110533017A publication Critical patent/CN110533017A/en
Priority to PCT/CN2020/071116 priority patent/WO2021042656A1/en
Application granted granted Critical
Publication of CN110533017B publication Critical patent/CN110533017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/225Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Development Economics (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Evolutionary Biology (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Collating Specific Patterns (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The embodiment of the invention discloses a method, a device, a server and a storage medium for identifying fake, wherein the method comprises the following steps: acquiring a microcoded image of the surface of a target printing stock; identifying target features and target coding information of the microcosmic coded image; identifying the type of a target microcosmic coded image according to the target coding information; acquiring reference features from a preset reference feature database of a server according to the type of the target microcoded image; and outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic. The embodiment of the invention realizes the classification of the microcoded images, sets the reference characteristics according to the types of the microcoded images, and can solve the counterfeit distinguishing problem of the microcoded images with different printing effects by using the preset reference characteristic database, thereby improving the reliability of microcoded image identification and expanding the coverage of the microcoded image counterfeit distinguishing industry.

Description

Authenticity identification method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of digital anti-counterfeiting, in particular to a counterfeit identification method, a counterfeit identification device, a terminal and a storage medium.
Background
At present, a large number of counterfeit products flood the market, and various counterfeit products emerge endlessly, which not only damages the reputation of enterprises, but also influences the life health and property safety of consumers. In order to maintain the enterprise image and the brand image, each large enterprise expends huge manpower and financial resources, adopts various anti-counterfeiting means, develops large-scale fake actions, tries to control the phenomenon of the flourishing of fake goods, and has little income.
The current mainstream anti-counterfeiting technical means comprises: material anti-counterfeiting, microcosmic coded image anti-counterfeiting, digital anti-counterfeiting and the like. Wherein, the micro-coding image anti-counterfeiting is favored by the majority of enterprises due to lower cost and strong industrial practicability. The main principle is summarized as follows: the identification instrument is used for identifying and distinguishing the counterfeit by calculating the obtained ID value and the related detail characteristic value of the microcoded image and comparing the calculation result with the preset reference characteristic of the microcoded image. However, after the same microcoded images are printed by using different printing process materials, the printing effects are different, and the printed images are extremely poor in effect due to the printing process and the materials, and cannot reach the reference value standard, so that the same microcoded image reference features are used as counterfeit identification bases and are difficult to be compatible with all printing processes and printing materials, and the industrial coverage of microcoded image anti-counterfeiting is limited.
Disclosure of Invention
In view of this, embodiments of the present invention provide an authentication method, an apparatus, a terminal and a storage medium, so as to achieve the authentication problem of microcoded information with different printing effects by using a set of microcoded image reference features, improve the reliability of microcoded image authentication, and expand the coverage of microcoded image authentication industry.
In a first aspect, an embodiment of the present invention provides a counterfeit identifying method, including:
acquiring a microcoded image of the surface of a target printing stock;
identifying target features and target coding information of the microcosmic coded image;
identifying the type of a target microcosmic coded image according to the target coding information;
acquiring reference features from a preset reference feature database of a server according to the type of the target microcoded image;
and outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic.
Optionally, the target features include: one or more of a target code point quality value, a target code point size value, a target code point spacing value, a target microcoded image shape and a target microcoded image shading, wherein the reference feature correspondingly comprises: one or more of a reference code point quality value, a reference code point size value, a reference code point spacing value, a reference micro-encoded image shape, and a reference micro-encoded image shading.
Optionally, the outputting an authentication result according to the comparison result between the target feature and the reference feature includes:
confirming the magnification of the target code point size value relative to the reference code point size value; or
Confirming the magnification of the target code point distance value relative to the reference code point distance value; or
Identifying a magnification of the target microcoded image shape relative to the reference microcoded image shape; or
Confirming the magnification of the target microcoded image shading relative to the reference microcoded image shading;
calculating an amplification value of the target code point quality value according to the amplification factor;
and outputting a false distinguishing result according to the comparison result of the amplified value of the target code point quality value and the reference code point quality value.
Further, the outputting an authentic result according to the comparison result between the target feature and the reference feature includes:
according to the comparison result of the target code point quality value and the reference code point quality value; and/or
According to the comparison result of the target code point size value and the reference code point size value; and/or
Comparing the target code point distance value with the reference code point distance value; and/or
According to the comparison result of the target micro-coded image shape and the reference micro-coded image shape; and/or
And outputting a false distinguishing result according to the comparison result of the target microcosmic coded image shading and the reference microcosmic coded image shading.
Optionally, the method for establishing the preset reference feature database includes:
obtaining sample characteristics of a plurality of sample printing stock microcoded images;
classifying the plurality of samples into a plurality of micro-coded image classes according to the sample features;
setting the reference feature according to the micro-coded image category and the sample feature.
Optionally, the method for establishing the preset reference feature database further includes:
identifying new sample characteristics of the microcoded images of the new sample printing stock;
determining the similarity number of the new sample characteristics and the sample characteristics of the microcoded images of the existing sample printing stocks of each category;
determining whether the maximum value of the similarity number is smaller than a preset minimum similarity number or not;
if the maximum value of the similarity number is smaller than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into a new microcoded image category;
and if the maximum value of the similarity number is not less than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into the existing microcoded image category corresponding to the maximum value of the similarity number.
Further, the sample features include: one or more of a sample code point quality value, a sample code point size value, a sample code point spacing value, a sample microcoded image shape, and a sample microcoded image shading.
In a second aspect, an embodiment of the present invention provides a counterfeit identifying apparatus, including:
the microcoded image acquisition module is used for acquiring microcoded images of the surface of the target printing stock;
the target information acquisition module is used for identifying target characteristics and target coding information of the microcosmic coded image;
the microcosmic coded image category identification module is used for identifying the category of a target microcosmic coded image according to the target coding information;
the reference characteristic acquisition module is used for acquiring reference characteristics from a preset reference characteristic database of a server according to the type of the target microcoded image;
and the result output module is used for outputting the counterfeit identification result according to the comparison result of the target characteristic and the reference characteristic. In a third aspect, an embodiment of the present invention provides a terminal, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement an authentication method as provided by any of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the authentication method according to any embodiment of the present invention.
According to the method and the device, the target characteristics and the target coding information of the microcoded images are identified by obtaining the microcoded images on the surface of the target printing stock, the categories of the microcoded images are identified according to the target coding information, the reference characteristics are obtained from a preset reference characteristic database of a server according to the categories of the microcoded images, and the counterfeit identification result is output according to the comparison result of the target characteristics and the reference characteristics. The method and the device realize classification of the microcoded images, set the reference characteristics according to the types of the microcoded images, and solve the counterfeit identification problem of the microcoded images with different printing effects by using the preset reference characteristic database, thereby improving the reliability of microcoded image identification and expanding the coverage of the microcoded image counterfeit identification industry.
Drawings
FIG. 1 is a schematic flow chart illustrating a method for authenticating a counterfeit according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for authenticating a counterfeit according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a method for establishing a preset reference feature database in a counterfeit authentication method according to a third embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a method for establishing a preset reference feature database in a counterfeit authentication method according to a fourth embodiment of the present invention;
FIG. 5 is a schematic view of a counterfeit detection device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, the micro encoded image first category may be referred to as a micro encoded image second category, and similarly, the micro encoded image second category may be referred to as a micro encoded image first category, without departing from the scope of the present application. The first category of micro-coded images and the second category of micro-coded images are both a category of micro-coded images, but are not the same category of micro-coded images. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a schematic flowchart of an authentication method according to an embodiment of the present invention, which is applicable to the authentication of microscopic images on the surface of a printing material made of different materials by using a set of image characteristic reference values, and the method may be executed by an authentication device, which may be implemented in software and/or hardware, and may be integrated on a terminal, such as a smart phone, a tablet computer, a learning machine, and the like.
As shown in fig. 1, a counterfeit identification method according to an embodiment of the present invention includes:
and S110, acquiring a microcoded image of the surface of the target printing stock.
Specifically, the printing material refers to various substances capable of receiving ink or adsorbing a coloring material and presenting images and texts, such as coated paper, leather, fragile paper, polypropylene, water printing paper, offset paper and the like. The microcosmic coding image is a coding image printed on the surface of a printing stock and is formed by arranging and combining a plurality of micron-sized code points according to a certain coding rule. Since the microcosmic coded image is printed on the basis of the highest-precision variable data printing technology, the microcosmic coded image has the natural characteristic of difficult copying, so that the microcosmic coded image of a genuine product produced by a manufacturer is different from the microcosmic coded image intentionally copied by other people, and the problem of information loss easily exists. Alternatively, the user may dynamically acquire the micro-coded image of the surface of the target printing material by using a terminal device having an image analysis function, where the image analysis function is a function capable of identifying information included in the micro-coded image, and may be, for example, a certain dedicated image identification software.
And S120, identifying the target characteristics and the target coding information of the microcosmic coding image.
Specifically, the target feature and the target encoding information are information included in the micro-encoded image. The target features may include one or more of a target code point quality value, a target code point distance value, a target code point size value, a target micro-coded image shape, a target micro-coded image shading, and other detailed information of the micro-coded image capable of performing an identification function. The code point quality value represents the uniformity of a plurality of code points in the microcosmic coded image, and the higher the uniformity, the lower the target code point quality value, and the higher the uniformity is otherwise; the code point spacing value represents the spacing between every two code points in the microcosmic coded image, and the larger the spacing is, the larger the target code point spacing value is, and the smaller the target code point spacing value is otherwise; the code point size value represents the size of a code point in the microcosmic coded image, and the larger the code point is, the larger the size value of the target code point is, and the smaller the size value is otherwise; the microscopic encoded image shape represents shape characteristics of the microscopic encoded image, for example, the microscopic encoded image shape is a circle, a square, a maple leaf, or the like; the micro-coded image shading represents the pattern and color of the shading adopted by the micro-coded image, and for example, the micro-coded image shading is stripes composed of blue oblique lines. Illustratively, the target feature of the identified micro-coded image is a codepoint quality value 55.
The encoding information indicates some information of the micro encoded image itself, such as one or more of a serial number, a production date, a material type, and a type of the micro encoded image when the micro encoded image is generated, and the target encoding information is 0010010000000000, for example. The material type refers to the material type of the target printing stock, for example, a coated paper material, a leather material, a fragile paper material, a polypropylene material, a water mark paper material, an offset paper material, and the like.
And S130, identifying the type of the target microcosmic coded image according to the target coding information.
Specifically, the classification of the micro coded images is a classification of the micro coded images, and is a basis for obtaining a reference feature for identifying the micro coded images. One or more fields in the target encoded information indicate the target micro-coded image category, and preferably, the target micro-coded image categories of the plurality of target encoded information may be the same. Illustratively, the first 3 digits in the encoded information represent the micro-coded image category, the first three digits in the encoded information represent the first micro-coded image category when the first three digits in the encoded information are 001, the first three digits in the encoded information represent the second micro-coded image category when the first three digits in the encoded information are 002, and the first three digits in the encoded information represent the third micro-coded image category when the first three digits in the encoded information are 003. When the identification target coding information is 0010010000000000, 0010020000000001 and 0020010000000001, the first three digits of the first two pieces of target coding information are both 001, the first two pieces of target micro-coded image are both the first category of micro-coded images, and the first three digits of the third piece of target coding information are 002, and the third piece of target micro-coded image is the second category of micro-coded images.
And S140, acquiring reference characteristics from a preset reference characteristic database of a server according to the target microcoded image category.
Specifically, the reference feature is a standard for determining whether the micro-coded image is authentic, and is stored in a preset reference feature database in the server. The reference characteristics comprise one or more of a reference code point quality value, a reference code point spacing value, a reference code point size value, a reference micro-coding image shape, a reference micro-coding image shading and other reference characteristics corresponding to target characteristics, the reference code point quality value is a standard for judging the authenticity of the target code point quality value of a micro-coding image, the reference code point spacing value is a standard for judging the authenticity of the target code point spacing value of the micro-coding image, the reference code point size value is a standard for judging the authenticity of the target code point size value of the micro-coding image, the reference micro-coding image shape is a standard for judging the authenticity of the target micro-coding image shape of the micro-coding image, and the reference micro-coding image shading is a standard for judging the authenticity of the target micro-coding image shading of the micro-coding image.
According to the type of the target microcoded image obtained currently, the reference feature corresponding to the type of the microcoded image can be obtained from a preset reference feature database of the server. The reference characteristics obtained according to the type of the microscopic coding image can be a plurality of reference characteristics or one reference characteristic, and since the code point size value and the code point distance value can influence the code point quality value, preferably, the code point quality value is used as a parameter for judging the authenticity of the microscopic coding image, and the reference characteristics obtained according to the target coding information are the reference code point quality value. For example, according to the target micro-coded image of class 001, the reference feature of the first class of the micro-coded image is obtained as the code point quality value 63.
And S150, outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic.
Specifically, the comparison between the target features and the reference features is one-to-one correspondence, that is, the target code point quality value should be compared with the reference code point quality value, the target code point spacing value should be compared with the reference code point spacing value, the target code point size value should be compared with the reference code point size value, the target microcoded image shape should be compared with the reference microcoded image shape, and the target microcoded image shading should be compared with the reference microcoded image shading. Outputting the authentication result according to the comparison result of the target feature and the reference feature comprises: according to the comparison result of the target code point quality value and the reference code point quality value; and/or according to the comparison result of the target code point size value and the reference code point size value; and/or according to the comparison result of the target code point spacing value and the reference code point spacing value; and/or, according to the result of the comparison of the target micro-coded image shape with the reference micro-coded image shape; and/or outputting a false distinguishing result according to the comparison result of the target microcoded image shading and the reference microcoded image shading.
Optionally, the comparison between the target feature and the reference feature may be a comparison of a selected feature, or may be a comparison of a plurality of features. When multiple features are selected for comparison, multiple kinds of target features can be selected for comparison with corresponding reference features by setting the proportion of each target feature in the judgment result. For example, the comparison result is output according to the comparison result of the amplification value of the target code point quality value and the reference code point quality value, the comparison result of the amplification value of the target code point size value and the reference code point size value, and the comparison result of the amplification value of the target code point spacing value and the reference code point spacing value, wherein the comparison of the amplification value of the target code point quality value and the reference code point quality value accounts for 50%, the comparison of the amplification value of the target code point size value and the reference code point size value accounts for 25%, and the comparison of the amplification value of the target code point spacing value and the reference code point spacing value accounts for 25%.
Preferably, the quality value of the target code point is selected to be compared with the quality value of the reference code point, if the quality value of the target code point is less than or equal to the quality value of the reference code point, the code point uniformity of the microcosmic coding image is high, and the microcosmic coding image is a quality product; otherwise, if the target code point quality value is greater than the reference code point quality value, the microcosmic coded image is a duplicate. For example, the target code point quality value is 55, the reference code point quality value is 63, the target code point quality value 55 is smaller than the reference code point quality value 63, and the output counterfeit identification result indicates that the target printing material is a genuine product.
Optionally, when the discrimination result is output according to the comparison result of the target micro-coded image shape and the reference micro-coded image shape, the comparison of the target micro-coded image shape and the reference micro-coded image shape may be performed by one or more of factors that can determine the image shape, such as an image boundary line, an image area, and an image size.
Optionally, when the discrimination result is output according to the comparison result of the target micro-coded image shading and the reference micro-coded image shading, the comparison of the target micro-coded image shading and the reference micro-coded image shading may be performed through one or more of shading color, shading type, shading pattern, and the like.
According to the method, the object characteristics and the object coding information of the microcoded images are identified by obtaining the microcoded images on the surface of the object printing stock, the categories of the object microcoded images are identified according to the object coding information, the reference characteristics are obtained from a preset reference characteristic database of a server according to the categories of the object microcoded images, and the counterfeit identification result is output according to the comparison result of the object characteristics and the reference characteristics. The method and the device realize classification of the microcoded images, set the reference characteristics according to the types of the microcoded images, and solve the counterfeit identification problem of the microcoded images with different printing effects by using the preset reference characteristic database, thereby improving the reliability of microcoded image identification and expanding the coverage of the microcoded image counterfeit identification industry.
Example two
Fig. 2 is a schematic flow chart of a counterfeit authentication method according to a second embodiment of the present invention, which is further optimized according to the second embodiment of the present invention. As shown in fig. 2, the method includes:
s210, acquiring a microcoded image of the surface of the target printing stock.
Specifically, the printing material refers to various substances capable of receiving ink or adsorbing a coloring material and presenting images and texts, such as coated paper, leather, fragile paper, polypropylene, water printing paper, offset paper and the like. The microcosmic coding image is a coding image printed on the surface of a printing stock and is formed by arranging and combining a plurality of micron-sized code points according to a certain coding rule. The microscopic coding image of the genuine product produced by the manufacturer is distinguished from the microscopic coding image intentionally copied by others, and the purpose of identifying the authenticity of the product can be achieved by identifying some information contained in the microscopic coding image.
Alternatively, the user may dynamically acquire the micro-coded image of the surface of the target printing material by using a terminal device having an image analysis function, where the image analysis function is a function capable of identifying information included in the micro-coded image, and may be, for example, a certain dedicated image identification software.
S220, identifying target characteristics and target coding information of the microcosmic coded image, wherein the target characteristics comprise one or more of a target code point quality value, a target code point distance value, a target code point size value, a target microcosmic coded image shape and a target microcosmic coded image shading.
Specifically, the target feature and the target encoding information are information included in the micro-encoded image. The target characteristics comprise one or more of a target code point quality value, a target code point distance value, a target code point size value, a target micro-coding image shape, a target micro-coding image shading and other detailed information of micro-coding images capable of playing a recognition role. The code point quality value represents the uniformity of a plurality of code points in the microcosmic coded image, and the higher the uniformity, the lower the target code point quality value, and the higher the uniformity is otherwise; the code point spacing value represents the spacing between every two code points in the microcosmic coded image, and the larger the spacing is, the larger the target code point spacing value is, and the smaller the target code point spacing value is otherwise; the code point size value represents the outline size of the code point in the microcosmic coded image, and the larger the code point is, the larger the size value of the target code point is, and the smaller the size value is otherwise; the microscopic encoded image shape represents shape characteristics of the microscopic encoded image, for example, the microscopic encoded image shape is a circle, a square, a maple leaf, or the like; the micro-coded image shading represents the pattern and color of the shading adopted by the micro-coded image, and for example, the micro-coded image shading is stripes composed of blue oblique lines. Illustratively, the identified target features of the micro-coded image are a target code point quality value of 65 and a target point size value of 80.
The code information indicates some information of the micro code image itself, such as one or more of a serial number, a production date, a material type, and a micro code image type when the micro code image is generated, and the identification target code information is 0010010000000000, for example. The material type refers to the material type of the target printing stock, for example, a coated paper material, a leather material, a fragile paper material, a polypropylene material, a water mark paper material, an offset paper material, and the like.
And S230, identifying the type of the target microcosmic coded image according to the target coding information.
Specifically, the classification of the micro coded images is a classification of the micro coded images, and is a basis for obtaining a reference feature for identifying the micro coded images. One or more fields in the target encoded information indicate the target micro-coded image category, and preferably, the target micro-coded image categories of the plurality of target encoded information may be the same. Illustratively, the first 3 digits in the encoded information represent the micro-coded image category, the first three digits in the encoded information represent the first micro-coded image category when the first three digits in the encoded information are 001, the first three digits in the encoded information represent the second micro-coded image category when the first three digits in the encoded information are 002, and the first three digits in the encoded information represent the third micro-coded image category when the first three digits in the encoded information are 003. When the identification target coding information is 0010010000000000, 0010020000000001 and 0020010000000001, the first three digits of the first two pieces of target coding information are both 001, the first two pieces of target micro-coded image are both the first category of micro-coded images, and the first three digits of the third piece of target coding information are 002, and the third piece of target micro-coded image is the second category of micro-coded images.
S240, acquiring reference characteristics from a preset reference characteristic database of a server according to the target micro-coding image category, wherein the reference characteristics comprise one or more of a reference code point quality value, a reference code point size value, a reference code point distance value, a reference micro-coding image shape and a reference micro-coding image shading.
Specifically, the reference feature is a standard for determining whether the micro-coded image is authentic, and is stored in a preset reference feature database in the server. The reference characteristics comprise one or more of a reference code point quality value, a reference code point spacing value, a reference code point size value, a reference micro-coding image shape, a reference micro-coding image shading and other reference characteristics corresponding to target characteristics, the reference code point quality value is a standard for judging the authenticity of the target code point quality value of a micro-coding image, the reference code point spacing value is a standard for judging the authenticity of the target code point spacing value of the micro-coding image, the reference code point size value is a standard for judging the authenticity of the target code point size value of the micro-coding image, the reference micro-coding image shape is a standard for judging the authenticity of the target micro-coding image shape of the micro-coding image, and the reference micro-coding image shading is a standard for judging the authenticity of the target micro-coding image shading of the micro-coding image.
According to the type of the target microcoded image obtained currently, the reference feature corresponding to the target coding information can be obtained from a preset reference feature database of the server. The reference characteristics obtained according to the target coding information can be a plurality of reference characteristics or one reference characteristic, and since the code point size value and the code point distance value can influence the code point quality value, preferably, the code point quality value is used as a parameter for judging the authenticity of the microscopic coding image, and the reference characteristics obtained according to the target coding information are the reference code point quality value. For example, according to the object micro-coded image of type 001, the reference features of the first type of the micro-coded image are obtained as a reference code point quality value 63 and a reference code point size value 75.
And S250, confirming the magnification of the target code point size value relative to the reference code point size value.
Specifically, the target code point size value is amplified by a factor k relative to the reference code point size value0Then according to formula (2-1):
Figure BDA0002191376440000141
wherein Z isrIs a target code point size, ZcIs a reference codepoint size value.
Illustratively, the target code point size value is 80, the reference code point size value is 75, and the target code point size value is calculated according to equation (2-1) at a magnification k relative to the reference code point size value0=1.07。
Optionally, the calculation magnification is k0In this case, the magnification factor may be calculated by the target code dot pitch value and the reference code dot pitch value, for example, by the target code dot pitch average value and the reference code dot pitch average value between three code dots.
Optionally, the magnification is calculated by the target micro-coded image shape and the reference micro-coded image shape, for example, the magnification is calculated by the area contained by the target micro-coded image shape and the area contained by the reference micro-coded image shape.
Optionally, the magnification is calculated by the target micro-coded image shading and the reference micro-coded image shading, for example, by the target micro-coded image shading chroma and the reference micro-coded image shading chroma.
And S260, calculating an amplification value of the code point quality value according to the amplification factor.
Specifically, the amplification factor K of the target code point quality value is first calculated, and calculated according to equation (2-2):
Figure BDA0002191376440000151
(a, b are constants, and a > 1, b > 1) (2-2)
Then, an amplification value Q of the target code point quality value is calculated0Calculated according to equation (2-3):
Q0=KQi (2-3)
wherein Q isiIs the target codepoint quality value.
Illustratively, the target codepoint size value is at a magnification k relative to the reference codepoint size value01.07, the target code point quality value is 70, the reference code point quality value is 63, a is 4, and b is 2, the amplification factor of the target code point quality value is calculated according to equation (2-2) as K is 1.21, and the amplification value of the target code point quality value is Q according to equation (2-3)0=84.7。
S270, outputting a false distinguishing result according to the comparison result of the amplified value of the target code point quality value and the reference code point quality value.
Specifically, if the amplification value of the target code point quality value is greater than the reference code point quality value, the counterfeit identification result is output as that the target printing stock is a counterfeit product, and if the amplification value of the target code point quality value is less than the reference code point quality value, the counterfeit identification result is output as that the target printing stock is a genuine product. For example, the amplification value of the target code point quality value is 84.7, the reference code point quality value is 63, the amplification value of the target code point quality value is 84.7 greater than the reference code point quality value 63, and the counterfeit result is output as a counterfeit of the target printing material.
Whether the microcosmic coded image is a counterfeit or not can be easily identified by amplifying the target characteristics, so that the user can correctly identify the authenticity of the microcosmic coded image even if the identified target characteristics have large deviation under the conditions of poor light, unstable holding of terminal equipment and the like. In this case, the setting range of the reference feature may be widened, for example, if the normal reference code point quality value is 63, and if the code point quality value is set to 70, the authenticity of the micro-coded image can be identified by using the counterfeit identification method provided by the second embodiment of the present invention.
The embodiment of the invention obtains the amplified value of the code point quality by amplifying the code point quality value, then compares the amplified value of the code point quality with the reference code point quality value to obtain the authenticity result of the microcoded image, reduces the requirement of a user when the user uses terminal equipment to obtain the microcoded image, and reduces the influence of environmental factors on the authenticity identification result.
EXAMPLE III
Fig. 3 is a schematic flow chart of a method for establishing a preset reference feature database in a counterfeit authentication method according to a third embodiment of the present invention, where the third embodiment of the present invention further describes a process for establishing the preset reference feature database in the above-described embodiments. As shown in fig. 3, the method for establishing the preset reference feature database includes:
s310, obtaining sample characteristics of the microcoded images of the sample printing stocks.
Specifically, the sample characteristics comprise one or more of a sample code point quality value, a sample code point size value, a sample code point spacing value, a sample microcoded image shape and a sample microcoded image shading, wherein the code point quality value represents the uniformity of a plurality of code points in the microcoded image, and the higher the uniformity is, the lower the target code point quality value is, otherwise, the higher the target code point quality value is; the code point spacing value represents the spacing between every two code points in the microcosmic coded image, and the larger the spacing is, the larger the target code point spacing value is, and the smaller the target code point spacing value is otherwise; the code point size value represents the size of a code point in the microcosmic coded image, and the larger the code point is, the larger the size value of the target code point is, and the smaller the size value is otherwise; the microscopic encoded image shape represents shape characteristics of the microscopic encoded image, for example, the microscopic encoded image shape is a circle, a square, a maple leaf, or the like; the micro-coded image shading represents the pattern and color of the shading adopted by the micro-coded image, and for example, the micro-coded image shading is stripes composed of blue oblique lines.
For example, taking the sample code point quality values as an example, the sample code point quality values of the microcoded images of the 7 sample printing materials are obtained as follows: 48. 50, 55, 140, 145, 150, 200.
And S320, dividing the plurality of samples into a plurality of micro-coding image categories according to the sample characteristics.
Specifically, the microcoded images are classified according to the sample characteristics, and the microcoded images of a plurality of sample printing materials with similar sample characteristics can be classified into one class. Illustratively, the micro-coded images of the sample printing materials with the sample code point quality values of 48, 50 and 55 are classified into a first class of micro-coded images, the micro-coded images of the sample printing materials with the sample code point quality values of 140, 145 and 150 are classified into a second class of micro-coded images, and the micro-coded images of the sample printing materials with the sample code point quality values of 200 are classified into a third class of micro-coded images.
Optionally, the category of the micro-coded image may also be classified according to the material category of the micro-coded image, or according to the printing process of the micro-coded image, or according to the material category of the micro-coded image and the printing effect of the total micro-coded image formed by the printing process. Illustratively, the art paper material, the leather material, the fragile paper material and the polypropylene material are classified into the same category, and the watermark paper material and the offset paper material are classified into the same category.
S330, setting the reference feature according to the microcosmic coding image category and the sample feature.
Specifically, each type of the micro coded image sets a reference feature corresponding to a sample feature, and the reference feature may be that an average value of the sample feature in the type of the micro coded image rises to a certain proportion, or that a maximum value or a minimum value of the sample feature in the type of the micro coded image rises to a certain proportion. Considering the influence of factors such as code scanning speed and environment when a user uses a mobile device to identify a microcoded image on the surface of a printing stock in an actual situation, the floating rate is generally set to 10% -15%. For example, taking the sample code point quality value as an example, the maximum value of the sample code point quality values in each category of the observed encoded image, which is up to 15%, is selected as the reference code point quality value, then the reference code point quality value of the first category of the microscopic encoded image is 55 × (100% + 15%) 63, the reference code point quality value of the second category of the microscopic encoded image is 150 × (100% + 15%) 173, and the reference code point quality value of the third category of the microscopic encoded image is 200 (100% + 15%) 230.
Optionally, when the authenticity of the micro-coded image on the surface of the target printing stock is identified by using the authenticity identification method in the second embodiment of the invention, due to the arrangement of the magnification factor and the magnification coefficient, the influence on factors such as code scanning speed and environment when a user uses the method is further influencedThe upward floating proportion of the reference characteristic can reach 15 to 40 percent. For example, taking the sample code point quality value as an example, the maximum floating 40% of the sample code point quality values in each category of the observed encoded image is selected as the reference code point quality value, and then the reference code point quality value of the first category of the microscopic encoded image is 55 × 77 (100% + 40%), the reference code point quality value of the second category of the microscopic encoded image is 150 × 210 (100% + 40%), and the reference code point quality value of the third category of the microscopic encoded image is 200% (100% + 40%) -280. In step S260 of the second embodiment of the present invention, the amplification value of the target code point quality value is calculated to be Q0At this time, as can be seen by comparing with the reference code point quality value 77 of the first category of the microcosmic coded image, the amplification value 84.7 of the target code point quality value is larger than the reference code point quality value 77, the counterfeit identification result is output as that the target printing material is a counterfeit product, and the correct counterfeit identification result can still be obtained.
The embodiment of the invention obtains the sample characteristics of a plurality of sample printing stock microcoded images; classifying the plurality of samples into a plurality of micro-coded image classes according to the sample features; setting the reference feature according to the micro-coded image category and the sample feature. The establishment of the preset reference characteristic database is realized, and the authenticity identification of the microcosmic coded images is more accurate and reliable by setting different reference characteristics for different microcosmic coded image types.
Example four
Fig. 4 is a schematic flow chart of a method for establishing a preset reference feature database in a counterfeit identification method according to a fourth embodiment of the present invention, which is a further extension of the third embodiment of the present invention, and is suitable for classifying a new microcoded image of a substrate that is not included in an existing preset reference feature database. As shown in fig. 4, the method for establishing the preset reference feature database according to the fourth embodiment of the present invention includes:
and S410, identifying new sample characteristics of the microcoded image of the new sample printing stock.
Specifically, when a new substrate is present that is not incorporated into the existing pre-set reference feature database, the existing pre-set reference feature database needs to be expanded. The method comprises the steps of obtaining new sample characteristics of a microcoded image of a new sample printing stock, wherein the new sample characteristics comprise one or more of a new sample code point quality value, a new sample code point distance value, a new sample code point size value, a new sample microcoded image shape, a new sample microcoded image shading and other microcoded image detail information capable of playing a recognition role. Illustratively, taking the code point quality value as an example, the new sample code point quality value is 60.
And S420, determining the similarity number of the new sample characteristics and the sample characteristics of the existing microcoded images of the sample printing materials of each category.
In particular, the similarity number may be calculated from the deviation of the new sample characteristics from the sample characteristics of each of the existing classes of sample substrates. And if the deviation of the new sample characteristic and the existing sample characteristic is within a preset range, the number of similarities between the new sample characteristic and the existing sample characteristic can be recorded as 1, otherwise, the number of similarities between the new sample characteristic and the sample characteristic of each category of sample printing stock is recorded as 0, and the numbers of similarities between the new sample characteristic and the sample characteristic of the microcoded image of each category of sample printing stock are superposed to obtain the number of similarities between the new sample characteristic and the sample characteristic of the microcoded image of each category of sample printing stock.
Illustratively, the predetermined range is 0-20%, the new sample code point quality value is 60, the sample code point quality values of the first category of the existing micro-coded images are 48, 50 and 55, the sample code point quality values of the second category of the existing micro-coded images are 140, 145 and 150, and the sample code point quality value of the third category of the existing micro-coded images is 200. Offset (absolute value of difference between new sample code point quality value and existing sample code point quality value/existing sample code point quality value) × 100%. The similarity number of the obtained new sample code point quality value and the sample code point quality value of the first category of the existing microcoded image is 2, the similarity number of the new sample code point quality value and the sample code point quality value of the second category of the existing microcoded image is 0, and the similarity number of the new sample code point quality value and the sample code point quality value of the third category of the existing microcoded image is 0.
And S430, determining whether the maximum value of the similarity number is smaller than a preset minimum similarity number.
Specifically, the minimum similarity number is used to determine whether the microcoded images of the new sample substrate need to be classified individually. If the maximum value of the similarity numbers is smaller than the preset minimum similarity number, executing step S440; if the maximum value of the similarity number is not less than the preset minimum similarity number, step S450 is executed. Illustratively, the minimum similarity number is set to 1, and as can be seen from the calculation in step S420, if the maximum value of the similarity numbers is 2, and the maximum value 2 of the similarity numbers is greater than the minimum similarity number and is set to 1, step S450 should be performed to classify the sample into the first category of the micro coded image.
And S440, if the maximum value of the similarity number is smaller than the preset minimum similarity number, classifying the microcoded image of the new sample printing stock into a new microcoded image category.
S450, if the maximum value of the similarity number is not smaller than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into the existing microcoded image category corresponding to the maximum value of the similarity number.
In the method for establishing the preset reference characteristic database in the false identification method provided by the fourth embodiment of the invention, the new sample characteristics of the microcoded images of the new sample printing stock are identified; determining the similarity number of the new sample characteristics and the sample characteristics of the microcoded images of the existing sample printing stocks of each category; determining whether the maximum value of the similarity number is smaller than a preset minimum similarity number or not; if the maximum value of the similarity number is smaller than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into a new microcoded image category; and if the maximum value of the similarity number is not less than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into the existing microcoded image category corresponding to the maximum value of the similarity number. The classification of the micro-characteristic image categories of the new printing stock which is not included in the existing preset reference characteristic database is realized.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a counterfeit detection apparatus according to a third embodiment of the present invention, which is applicable to the counterfeit detection of the microscopic images on the surfaces of the printing materials of different materials by using a set of image characteristic reference values. The device can be realized in a software and/or hardware mode, and can be integrated on a terminal, such as a smart phone, a tablet computer, a learning machine and the like. The counterfeit identification device provided by the embodiment of the invention can execute the counterfeit identification method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For the content not described in detail in the third embodiment of the present invention, reference may be made to the description in any method embodiment of the present invention.
As shown in fig. 5, the counterfeit identifying apparatus 500 according to the third embodiment of the present invention includes a microcoded image obtaining module 510, a target information obtaining module 520, a reference feature obtaining module 530, and a result outputting module 540, wherein:
a microcoded image acquisition module 510 for acquiring microcoded images of the surface of the target substrate;
a target information obtaining module 520, configured to identify a target feature and target coding information of the micro coded image;
a micro-coded image category identification module 530, configured to identify a target micro-coded image category according to the target coding information;
a reference feature obtaining module 540, configured to obtain a reference feature from a preset reference feature database of a server according to the type of the target microcoded image;
and a result output module 550, configured to output an authentic result according to the comparison result between the target feature and the reference feature.
Optionally, the result output module 550 includes:
a magnification confirmation unit for confirming a magnification of the target feature with respect to the reference feature;
the target feature amplification value confirmation unit is used for calculating the amplification value of the target feature corresponding to the target feature according to the amplification factor;
and the false distinguishing result output unit is used for outputting a false distinguishing result according to the comparison result of the amplified value of the target characteristic and the reference characteristic.
Further, the target features include: one or more of a target code point quality value, a target code point size value, a target code point spacing value, a target microcoded image shape and a target microcoded image shading, wherein the reference feature correspondingly comprises: one or more of a reference code point quality value, a reference code point size value, a reference code point spacing value, a reference micro-encoded image shape, and a reference micro-encoded image shading.
Further, the result output module 550 further includes:
a first result output unit, configured to output a false-identification result according to a comparison result between the target code point quality value and the reference code point quality value; and/or
The second result output unit is used for outputting a false distinguishing result according to the comparison result of the target code point size value and the reference code point size value; and/or
A third result output unit, configured to output a counterfeit discrimination result according to a comparison result between the target code point distance value and the reference code point distance value; and/or
A fourth result output unit, configured to output a counterfeit discrimination result according to a comparison result between the target micro-coded image shape and the reference micro-coded image shape; and/or
And the fifth result output unit is used for outputting a false distinguishing result according to the comparison result of the target microcoded image shading and the reference microcoded image shading.
Optionally, the counterfeit identifying apparatus 500 further includes a preset reference feature database establishing module, where the preset reference feature database establishing module includes:
the sample characteristic acquisition unit is used for acquiring sample characteristics of the microcoded images of the sample printing stocks;
a micro-coding image category classification unit, configured to classify the plurality of samples into a plurality of micro-coding image categories according to the sample characteristics;
and the reference feature setting unit is used for setting the reference features according to the microcosmic coded image category and the sample features.
Optionally, the preset reference feature database establishing module further includes:
the new sample characteristic identification unit is used for identifying new sample characteristics of the microcoded images of the new sample printing stock;
the similarity number determining unit is used for determining the similarity number of the new sample characteristics and the sample characteristics of the existing microcoded images of each class of sample printing stocks;
the similarity number judging unit is used for determining whether the maximum value of the similarity numbers is smaller than a preset minimum similarity number or not;
the new microcoded image category setting unit is used for classifying the microcoded images of the new sample printing stock into a new microcoded image category if the maximum value of the similarity number is smaller than the preset minimum similarity number;
and the new microcoded image category classification unit is used for classifying the microcoded image of the new sample printing stock into the existing microcoded image category corresponding to the maximum value of the similarity number if the maximum value of the similarity number is not less than the preset minimum similarity number.
Further, the sample features include: one or more of a sample code point quality value, a sample code point size value, a sample code point spacing value, a sample microcoded image shape, and a sample microcoded image shading.
The embodiment of the invention provides a microcosmic coded image acquisition module, which is used for acquiring a microcosmic coded image on the surface of a target printing stock; the target information acquisition module is used for identifying target characteristics and target coding information of the microcosmic coded image; the microcosmic coded image category identification module is used for identifying the category of a target microcosmic coded image according to the target coding information; the reference characteristic acquisition module is used for acquiring reference characteristics from a preset reference characteristic database of a server according to the type of the target microcoded image; and the result output module is used for outputting the counterfeit identification result according to the comparison result of the target characteristic and the reference characteristic. The method and the device realize classification of the microcoded images, set reference characteristics according to the types of the microcoded images, acquire different reference characteristics according to different target coding information, and solve the counterfeit distinguishing problem of the microcoded images with different printing effects by using a preset reference characteristic database, thereby improving the reliability of microcoded image identification and expanding the coverage of the microcoded image counterfeit distinguishing industry.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention. Fig. 6 illustrates a block diagram of an exemplary terminal 612 suitable for use in implementing embodiments of the present invention. The terminal 612 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present invention.
As shown in fig. 6, the terminal 612 is represented in the form of a general-purpose terminal. The components of terminal 612 may include, but are not limited to: one or more processors 616, a memory device 628, and a bus 618 that couples the various system components including the memory device 628 and the processors 616.
Bus 618 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 612 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal 612 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 628 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 630 and/or cache Memory 632. Terminal 612 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 634 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), Digital Video disk Read-Only Memory (DVD-ROM) or other optical media may be provided. In such cases, each drive may be connected to bus 618 by one or more data media interfaces. Storage device 628 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 640 having a set (at least one) of program modules 642 may be stored, for example, in storage 628, such program modules 642 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 642 generally perform the functions and/or methods of the described embodiments of the present invention.
The terminal 612 may also communicate with one or more external devices 614 (e.g., keyboard, pointing terminal, display 624, etc.), with one or more terminals that enable a user to interact with the terminal 612, and/or with any terminals (e.g., network card, modem, etc.) that enable the terminal 612 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Also, the terminal 612 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the internet) via the Network adapter 620. As shown in fig. 6, the network adapter 620 communicates with the other modules of the terminal 612 via the bus 618. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the terminal 612, including but not limited to: microcode, end drives, Redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 616 executes various functional applications and data processing by executing programs stored in the storage device 628, for example, implementing the authentication method provided by any embodiment of the present invention, which may include:
acquiring a microcoded image of the surface of a target printing stock;
identifying target features and target coding information of the microcosmic coded image;
identifying the type of a target microcosmic coded image according to the target coding information;
acquiring reference features from a preset reference feature database of a server according to the type of the target microcoded image;
and outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic.
EXAMPLE seven
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for authenticating a counterfeit according to any embodiment of the present invention, and the method may include:
acquiring a microcoded image of the surface of a target printing stock;
identifying target features and target coding information of the microcosmic coded image;
identifying the type of a target microcosmic coded image according to the target coding information;
acquiring reference features from a preset reference feature database of a server according to the type of the target microcoded image;
and outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method of authenticating a counterfeit, comprising:
acquiring a microcoded image of the surface of a target printing stock;
identifying target features and target coding information of the microcosmic coded image;
identifying the type of a target microcosmic coded image according to the target coding information;
acquiring reference features from a preset reference feature database of a server according to the type of the target microcoded image;
outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic;
wherein the target features include: one or more of a target code point quality value, a target code point size value, a target code point spacing value, a target microcoded image shape and a target microcoded image shading, wherein the reference feature correspondingly comprises: one or more of a reference code point quality value, a reference code point size value, a reference code point spacing value, a reference micro-coded image shape, and a reference micro-coded image shading;
the outputting the authentication result according to the comparison result of the target feature and the reference feature comprises:
confirming the magnification of the target code point size value relative to the reference code point size value; or
Confirming the magnification of the target code point distance value relative to the reference code point distance value; or
Identifying a magnification of the target microcoded image shape relative to the reference microcoded image shape; or
Confirming the magnification of the target microcoded image shading relative to the reference microcoded image shading;
calculating an amplification value of the target code point quality value according to the amplification factor;
and outputting a false distinguishing result according to the comparison result of the amplified value of the target code point quality value and the reference code point quality value.
2. The method of claim 1, wherein outputting an authentication result based on the comparison of the target feature and the reference feature comprises:
according to the comparison result of the target code point quality value and the reference code point quality value; and/or
According to the comparison result of the target code point size value and the reference code point size value; and/or
Comparing the target code point distance value with the reference code point distance value; and/or
According to the comparison result of the target micro-coded image shape and the reference micro-coded image shape; and/or
And outputting a false distinguishing result according to the comparison result of the target microcosmic coded image shading and the reference microcosmic coded image shading.
3. The method of claim 1, wherein the method for establishing the preset reference feature database comprises:
obtaining sample characteristics of a plurality of sample printing stock microcoded images;
classifying the plurality of samples into a plurality of micro-coded image classes according to the sample features;
setting the reference feature according to the micro-coded image category and the sample feature.
4. The method of claim 2, wherein the method for creating the database of pre-defined reference features further comprises:
identifying new sample characteristics of the microcoded images of the new sample printing stock;
determining the similarity number of the new sample characteristics and the sample characteristics of the microcoded images of the existing sample printing stocks of each category;
determining whether the maximum value of the similarity number is smaller than a preset minimum similarity number or not;
if the maximum value of the similarity number is smaller than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into a new microcoded image category;
and if the maximum value of the similarity number is not less than the preset minimum similarity number, classifying the microcoded images of the new sample printing stock into the existing microcoded image category corresponding to the maximum value of the similarity number.
5. The method of any of claims 3-4, wherein the sample features comprise: one or more of a sample code point quality value, a sample code point size value, a sample code point spacing value, a sample microcoded image shape, and a sample microcoded image shading.
6. A counterfeit authentication apparatus, comprising:
the microcoded image acquisition module is used for acquiring microcoded images of the surface of the target printing stock;
the target information acquisition module is used for identifying target characteristics and target coding information of the microcosmic coded image;
the microcosmic coded image category identification module is used for identifying the category of a target microcosmic coded image according to the target coding information;
the reference characteristic acquisition module is used for acquiring reference characteristics from a preset reference characteristic database of a server according to the type of the target microcoded image;
the result output module is used for outputting a false distinguishing result according to the comparison result of the target characteristic and the reference characteristic;
wherein the target features include: one or more of a target code point quality value, a target code point size value, a target code point spacing value, a target microcoded image shape and a target microcoded image shading, wherein the reference feature correspondingly comprises: one or more of a reference code point quality value, a reference code point size value, a reference code point spacing value, a reference micro-coded image shape, and a reference micro-coded image shading;
the result output module is specifically configured to:
confirming the magnification of the target code point size value relative to the reference code point size value; or
Confirming the magnification of the target code point distance value relative to the reference code point distance value; or
Identifying a magnification of the target microcoded image shape relative to the reference microcoded image shape; or
Confirming the magnification of the target microcoded image shading relative to the reference microcoded image shading;
calculating an amplification value of the target code point quality value according to the amplification factor;
and outputting a false distinguishing result according to the comparison result of the amplified value of the target code point quality value and the reference code point quality value.
7. A terminal, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the authentication method of any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the authentication method according to any one of claims 1 to 5.
CN201910833144.8A 2019-09-04 2019-09-04 Authenticity identification method, device, terminal and storage medium Active CN110533017B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910833144.8A CN110533017B (en) 2019-09-04 2019-09-04 Authenticity identification method, device, terminal and storage medium
PCT/CN2020/071116 WO2021042656A1 (en) 2019-09-04 2020-01-09 Authenticity verification method and apparatus, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910833144.8A CN110533017B (en) 2019-09-04 2019-09-04 Authenticity identification method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110533017A CN110533017A (en) 2019-12-03
CN110533017B true CN110533017B (en) 2021-01-29

Family

ID=68666857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910833144.8A Active CN110533017B (en) 2019-09-04 2019-09-04 Authenticity identification method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN110533017B (en)
WO (1) WO2021042656A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533017B (en) * 2019-09-04 2021-01-29 程烨 Authenticity identification method, device, terminal and storage medium
CN111476326B (en) * 2020-04-01 2023-08-01 深圳前海量子云码科技有限公司 Method, device, equipment and storage medium for labeling anti-counterfeiting mark of automobile toughened glass
CN111950317B (en) * 2020-08-07 2024-05-14 量子云码(福建)科技有限公司 Microcosmic coding image extraction device and method for identifying authenticity after extracting image
CN116758296B (en) * 2023-08-21 2023-12-05 深圳前海量子云码科技有限公司 Method, device, equipment and medium for extracting anti-counterfeiting characteristic value of microcosmic coding code pattern

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564148A (en) * 2004-04-09 2005-01-12 寇建国 Micro-image anti-fraud method for objects surface
US7551801B2 (en) * 2006-04-17 2009-06-23 Honda Motor Co., Ltd. Classification of composite actions involving interaction with objects
CN101452526B (en) * 2008-10-31 2011-03-30 电子科技大学 Two-dimension bar-code type identity authentication method based on finger print
CN103310256B (en) * 2013-06-03 2016-05-11 何南炎 The preparation of the continuous antifalsification label in kind based on image comparison and discrimination method
CN103606101A (en) * 2013-11-09 2014-02-26 宋杰琛 An examining method for discriminating product authenticity based on an article vocal print identification technique
CN104504086B (en) * 2014-12-25 2017-11-21 北京国双科技有限公司 The clustering method and device of Webpage
CN105760915B (en) * 2016-02-02 2018-08-24 程烨 A kind of generation method and device of anti-counterfeiting image
CN105760919B (en) * 2016-02-06 2018-08-07 深圳市天朗时代科技有限公司 A kind of coding of dot matrix Quick Response Code and recognition methods
CN105894067B (en) * 2016-02-06 2018-08-07 深圳市天朗时代科技有限公司 A kind of coding and reading method of dot matrix Quick Response Code
CN105678369A (en) * 2016-02-25 2016-06-15 诸葛天下(北京)信息技术股份有限公司 Anti-counterfeiting-tag-based anti-counterfeiting method for commodity
CN106022805B (en) * 2016-05-25 2019-09-24 华中科技大学 A kind of anti-fake traceability system and method based on tag readable degree
CN106600288B (en) * 2016-12-01 2018-02-27 程烨 A kind of method for anti-counterfeit and device
CN106951906B (en) * 2017-03-22 2020-03-17 重庆市公安局刑事警察总队 Comprehensive analysis method for multi-dimensional classification and identification of sole patterns
CN107203886A (en) * 2017-06-02 2017-09-26 深圳市鹰眼在线电子科技有限公司 Anti-counterfeiting information recognition methods, device and computer-readable recording medium
CN108876408A (en) * 2018-06-28 2018-11-23 合肥浪金防伪科技有限公司 A kind of commodity counterfeit prevention verifying system formed using natural biological information
CN110083723B (en) * 2019-04-24 2021-07-13 成都大熊猫繁育研究基地 Small panda individual identification method, equipment and computer readable storage medium
CN110533017B (en) * 2019-09-04 2021-01-29 程烨 Authenticity identification method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN110533017A (en) 2019-12-03
WO2021042656A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN110533017B (en) Authenticity identification method, device, terminal and storage medium
CN108665041B (en) Two-dimensional code generation and identification method and device, computer equipment and storage medium
US9679354B2 (en) Duplicate check image resolution
CN106156820B (en) Two-dimensional code generation method and device
CN115170567B (en) Method for detecting defects of waterproof steel plate for ship
CN111107107B (en) Network behavior detection method and device, computer equipment and storage medium
CN108875727A (en) The detection method and device of graph-text identification, storage medium, processor
Liu et al. Identification of smartphone-image source and manipulation
CN109523452A (en) A kind of color image Stego-detection method based on channel difference residual
Nandanwar et al. Forged text detection in video, scene, and document images
CN113962242A (en) Two-dimensional code number plate identification method and device, electronic equipment and storage medium
CN114154595A (en) Abnormal consignment behavior detection method, system, electronic device and storage medium
JPH06282686A (en) Method for character recognition
CN116012860B (en) Teacher blackboard writing design level diagnosis method and device based on image recognition
CN112257768B (en) Method and device for identifying illegal financial pictures and computer storage medium
CN108734164A (en) Card, identification card method, paint this reading machine people and storage device
Kotyza et al. Detection of directions in an image as a method for circle detection
CN114913350A (en) Material duplicate checking method, device, equipment and storage medium
CN114418951A (en) Pad detection method and device, computer equipment and storage medium
CN109145308B (en) Secret-related text recognition method based on improved naive Bayes
Neamtu et al. Exposing copy-move image tampering using forensic method based on SURF
CN106251468B (en) A kind of paper money discrimination method and apparatus
CN116563869B (en) Page image word processing method and device, terminal equipment and readable storage medium
CN108460715B (en) Binary image steganography analysis method based on local texture pattern
CN117576617B (en) Decoding system based on automatic adjustment of different environments

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
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Room 402, block a, TCL building, no.6, Gaoxin South 1st Road, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Cheng Ye

Address before: Room 702, Science and Technology Building, International Electronic Commerce Industrial Park, Futian District, Shenzhen City, Guangdong Province, 518000

Patentee before: Cheng Ye

CP02 Change in the address of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20240305

Address after: 350000 unit 03, 15 / F, building 1, Fumin Times Square, No. 66, Aofeng Road, Aofeng street, Taijiang District, Fuzhou City, Fujian Province

Patentee after: Quantum cloud code (Fujian) Technology Co.,Ltd.

Country or region after: China

Address before: Room 402, block a, TCL building, no.6, Gaoxin South 1st Road, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Cheng Ye

Country or region before: China

TR01 Transfer of patent right