CN115423771A - Quasi-dynamic laser anti-counterfeit label identification method based on characteristic inconsistency - Google Patents

Quasi-dynamic laser anti-counterfeit label identification method based on characteristic inconsistency Download PDF

Info

Publication number
CN115423771A
CN115423771A CN202211061606.7A CN202211061606A CN115423771A CN 115423771 A CN115423771 A CN 115423771A CN 202211061606 A CN202211061606 A CN 202211061606A CN 115423771 A CN115423771 A CN 115423771A
Authority
CN
China
Prior art keywords
laser
area
counterfeiting
image
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211061606.7A
Other languages
Chinese (zh)
Other versions
CN115423771B (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN202211061606.7A priority Critical patent/CN115423771B/en
Publication of CN115423771A publication Critical patent/CN115423771A/en
Application granted granted Critical
Publication of CN115423771B publication Critical patent/CN115423771B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/467Encoded features or binary features, e.g. local binary patterns [LBP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/761Proximity, similarity or dissimilarity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/80Recognising image objects characterised by unique random patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30204Marker
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/09Recognition of logos

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Electromagnetism (AREA)
  • Toxicology (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a quasi-dynamic laser anti-counterfeit label method based on characteristic non-uniformity, which comprises the following steps: collecting laser label information; extracting an anti-counterfeiting area in each frame of laser label image; calculating the fuzziness and average brightness of each frame of anti-counterfeiting area image; determining the position of the central point of each laser powder block according to each divided laser powder block area; extracting the color distribution characteristics of each subarea of the anti-counterfeiting area image; extracting color change characteristics of the anti-counterfeiting area; and determining the authenticity of the laser anti-counterfeiting label. The invention extracts the non-uniformity of the color distribution and the color change characteristic of the laser label so as to describe the unique characteristic of the random distribution of the laser patterns of the real laser anti-counterfeiting label, solves the problem of false identification of the false anti-counterfeiting label caused by the adoption of too single color change characteristic in the prior art, effectively improves the antagonism to the false anti-counterfeiting label and improves the identification accuracy of the laser anti-counterfeiting label.

Description

Quasi-dynamic laser anti-counterfeit label identification method based on characteristic inconsistency
Technical Field
The invention belongs to the technical field of image processing, and further relates to a quasi-dynamic laser anti-counterfeit label identification method based on characteristic non-uniformity in the technical field of image identification. The invention can be applied to the counterfeit identification of the quasi-dynamic laser anti-counterfeit label of the commodity.
Background
A quasi-dynamic laser anti-fake label is a means for anti-fake identification of goods, and is characterized by that it uses laser holographic technique to print randomly and dynamically-generated complex laser patterns on the metal film, and these patterns can be seen from different angles to present diffraction patterns of various colours. The quasi-dynamic laser anti-counterfeit label identification is to identify the quasi-dynamic laser anti-counterfeit label on the commodity, and further determine the authenticity of the commodity. With the popularization of laser patterns, counterfeiters in the market forge anti-counterfeit labels by means of high simulation so as to forge products, so that the requirement for a robust counterfeit label identification method is continuously increased at present.
Hangzhou Wo Piao IOT technology, inc. discloses a method, a device, equipment and a medium for identifying and verifying counterfeit based on a quasi-dynamic laser label in the patent document 'identification and counterfeit verification method based on a quasi-dynamic laser label' (patent application No. 201910663889.4, application publication No. CN 110428028A). The method comprises the steps of firstly identifying and uploading bar code information, receiving seed information corresponding to the bar code information, then carrying out characteristic comparison on a laser label image and the seed information, finally analyzing the color change of a plurality of frames of laser label images, and judging whether the color change characteristics of the laser label are met. The method can achieve a better counterfeit checking result. However, the method still has the defects that the quality of the video frame image is not evaluated, namely whether the video frame image is clear or not and whether the brightness is uniform or not, so that the image with poor quality interferes with the color change characteristic extraction process, and only the color change characteristic of the laser label is concerned, so that the method cannot correctly identify the false anti-counterfeit label with similar color change due to single characteristic, and the identification precision of the false anti-counterfeit label is influenced.
Disclosure of Invention
The invention aims to provide a quasi-dynamic laser anti-counterfeit label identification method based on characteristic inconsistency, aiming at overcoming the defects of the prior art, and solving the problems that the quality evaluation of an image is neglected in the identification process, and the false anti-counterfeit label is mistakenly identified due to the fact that the color change characteristic is single.
The idea for achieving the purpose of the invention is that the method evaluates the image quality of the video frame of the laser label image by calculating the variance and the average brightness of the laser label image, and screens out the video frame with uniform brightness and clear image from the evaluation result for subsequent identification. Because the image with overhigh brightness or uneven brightness is screened out by utilizing the image quality evaluation result, the interference of the abnormal brightness of the image on the color change characteristic extraction process is avoided, and the influence on the identification precision is reduced. The method extracts the non-uniformity of the color distribution and the color change characteristic of the laser label, namely extracts the color distribution of the laser pattern based on HSV color space analysis, extracts the color change of the laser pattern based on a frame difference method, and judges whether the color distribution or the non-uniformity of the change exists according to the difference of the color distribution and the color change of each area of the laser label. The color distribution inconsistency indicates that the on-off state of each laser powder block of the laser label is random, and the color tone of each laser powder block of the laser label presents diversity, wherein the on-off state refers to whether the laser powder block presents color or not. The color change non-uniformity represents that the color tone change of the laser pattern of the laser label in the multi-frame image is diversified. Because the two non-consistencies further describe the unique characteristic that the laser patterns of the real laser anti-counterfeiting label are randomly distributed, the antagonism to the false anti-counterfeiting label is effectively enhanced.
The method comprises the following specific steps:
step 1, collecting laser anti-counterfeit label information:
step 1.1, collecting a two-dimensional code image in a laser anti-counterfeiting label, analyzing the two-dimensional code image by using a two-dimensional code analysis algorithm, uploading obtained two-dimensional code information to a server, and calling seed information corresponding to the two-dimensional code information stored by the server;
step 1.2, collecting a laser anti-counterfeit label video;
step 2, extracting an anti-counterfeiting area in each frame of laser label image:
step 2.1, performing graying processing on each frame of RGB image of the laser anti-counterfeiting label in the laser anti-counterfeiting label video to obtain a grayscale image of each frame of laser anti-counterfeiting label, extracting edge information in the grayscale image of each frame of laser anti-counterfeiting label by using an edge detection method, outputting the edge image of each frame of laser anti-counterfeiting label, analyzing the topological structure of the edge image of each frame of laser anti-counterfeiting label by using a raster scanning and marking method, searching for a contour, and forming a candidate contour set;
2.2, screening anti-counterfeiting areas which accord with the shape characteristics and the area characteristics in each frame of laser anti-counterfeiting label image from the candidate contour set by using the shape characteristics and the area characteristics of the anti-counterfeiting areas recorded in the seed information, and correcting the anti-counterfeiting areas of each frame of laser anti-counterfeiting label image by using affine transformation;
step 2.3, extracting Local Binary Pattern (LBP) characteristics of each corrected anti-counterfeiting area gray image frame and counting to obtain an LBP characteristic histogram of each anti-counterfeiting area gray image frame, calculating similarity with the LBP characteristic histogram recorded in the seed information by using a correlation comparison method, reserving the frame anti-counterfeiting area images with the similarity larger than a similarity threshold value, and discarding the frame anti-counterfeiting area images with the similarity smaller than or equal to the similarity threshold value, wherein the similarity threshold value is a value selected in the range of [0.7,0.8 ];
step 3, calculating the fuzziness and average brightness of each frame of anti-counterfeiting area image:
step 3.1, performing binarization processing on each frame of anti-counterfeiting area gray-scale image by using a maximum inter-class variance method to obtain a black-and-white image of the anti-counterfeiting area, taking a white area in the black-and-white image of the anti-counterfeiting area as each divided laser powder block, and calculating the area proportion of all the laser powder blocks;
step 3.2, calculating the fuzzy degree of each frame of anti-counterfeiting area gray level image;
step 3.3, calculating the average brightness of each frame of anti-counterfeiting area image;
step 4, determining the central point position of each laser powder block according to each divided laser powder block area;
step 5, extracting the color distribution characteristics of each subarea of the anti-counterfeiting area image based on the color state of each laser powder block in each anti-counterfeiting area image:
step 5.1, dividing each frame of anti-counterfeiting area image into four sub-areas with the same size according to the horizontal direction and the vertical direction;
step 5.2, judging the on-off state of each laser powder block in each sub-area according to the range of the value of the hue S channel and the value of the brightness V channel of the central point of each laser powder block;
step 5.3, generating a color histogram of each sub-area according to the colors of all the laser powder blocks in the bright state in each sub-area;
step 5.4, judging whether the brightness states of all the laser powder blocks in each subarea meet tau or not 1 ≤γ t ≤τ 2 If yes, the sub-region is divided intoJudging the on-off states of all the laser powder blocks to be non-consistent, otherwise, judging the on-off states of all the laser powder blocks in the subarea to be consistent, wherein gamma is t Represents the ratio of the number of the laser powder blocks in the bright state in the t-th sub-area to the total number of the laser powder blocks, tau 1 Lower threshold for brightness non-uniformity, τ 2 The two thresholds are the upper threshold of brightness inconsistency, and the two thresholds are the proportion gamma of the number of laser powder blocks in a bright state in each subarea to the total number of the laser powder blocks under different angles of the real laser label t And based on the obtained plurality of gamma t Value, taking the minimum value of τ as 1 Taking the maximum value therein as tau 2
Step 5.5, judging whether the tone states of all the laser powder blocks in each subarea meet rho t <Xi, if yes, judging the tone states of all the laser powder blocks in the sub area to be non-consistent, otherwise, judging the tone states of all the laser powder blocks in the sub area to be consistent, and rho t Representing the proportion of the peak value of the color histogram of the tth sub-area to the total number of the laser powder lumps, and ξ is a color tone non-uniformity threshold value which is the maximum value in the proportion of the peak value of the color histogram of each sub-area to the total number of the laser powder lumps under different angles of the real laser label;
step 5.6, judging whether the on-off states or the tone states of all the laser powder blocks in each sub-area are judged to be non-consistent, if so, judging that the color distribution characteristics of the sub-area are non-consistent, otherwise, judging that the color distribution characteristics of the sub-area are consistent;
step 6, extracting the color change characteristics of the anti-counterfeiting area based on the color change of each laser powder block in the multi-frame anti-counterfeiting area image:
step 6.1, judging whether the saturation S channel value and the saturation V channel value of the central point of the laser powder block meet the channel threshold value condition, if so, judging that the central point of the laser powder block is changed in a lighting and extinguishing manner, otherwise, judging that the central point of the laser powder block is not changed in a lighting and extinguishing manner;
step 6.2, use
Figure BDA0003826454370000041
Calculating the hue variation of the central point of each laser powder block in an HSV image consisting of a hue H channel, a saturation S channel and a brightness V channel in each anti-counterfeiting area according to a formula, wherein,
Figure BDA0003826454370000042
representing the tone variation of the central point of the p-th laser powder block in the HSV image in the anti-counterfeiting area of the t-th frame,
Figure BDA0003826454370000043
respectively representing H channel values of the p laser powder block center point in the t frame and t-x frame anti-counterfeiting area HSV image, wherein x belongs to (0,t);
step 6.3, judging the tone variation of the central point of each laser powder block
Figure BDA0003826454370000044
Whether the color change threshold value kappa is larger than the color change threshold value kappa is judged, if yes, the color change of the central point of the laser powder block is judged in the frame anti-counterfeiting area image, otherwise, the color change of the central point of the laser powder block is judged not to be generated in the frame anti-counterfeiting area image, wherein the color change threshold value kappa is the average value of the range values of the H channels corresponding to the seven basic colors in the HSV color space;
step 6.3, counting the number of the central points of the laser powder block with the change of brightness and extinction and the change of hue each time, and recording the frame number of the image frame in the anti-counterfeiting area with the change;
step 6.4, judging whether the number of the center points of the laser powder block with the brightness and shade change and the frame number of the anti-counterfeiting area image frame with the change meet the condition of color change non-uniformity or not, if so, judging the color change characteristic of the laser label to be non-uniformity, otherwise, judging the color change characteristic of the laser label to be uniformity;
step 7, determining the authenticity of the laser anti-counterfeiting label:
and judging the laser anti-counterfeit label meeting the two non-consistency conditions as a true label, otherwise, judging the laser anti-counterfeit label as a false label.
Compared with the prior art, the invention has the following advantages:
firstly, because the invention calculates the fuzziness and the average brightness of the anti-counterfeiting area of each frame of laser label image for the video frame, the evaluation result can screen out the video frame with uniform brightness and clear image, and the defect that the identification precision is reduced because the color change characteristic extraction process is interfered because the video frame image with poor quality is not filtered in the prior art is overcome, so that the invention can effectively avoid the interference of the characteristic extraction process, thereby improving the identification accuracy.
Secondly, the invention extracts the non-uniformity of the color distribution and the color change characteristic of the laser label, further describes the unique characteristic of random distribution of the laser patterns of the real laser anti-counterfeit label, overcomes the defect of false identification of the false anti-counterfeit label caused by single color change characteristic in the prior art, and effectively improves the antagonism to the false anti-counterfeit label.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a simulation diagram of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The specific steps of the present invention will be described in further detail with reference to fig. 1 and examples.
Step 1, collecting laser anti-counterfeit label information.
Step 1.1, collecting a two-dimensional code image in the laser anti-counterfeiting label, analyzing the two-dimensional code image by using a two-dimensional code analysis algorithm, uploading the obtained two-dimensional code information to a server, and calling seed information corresponding to the two-dimensional code information stored by the server.
And step 1.2, collecting laser anti-counterfeit label videos.
And 2, extracting the anti-counterfeiting area in each frame of laser label image.
Step 2.1, carrying out graying processing on each frame of RGB image of the laser anti-counterfeiting label in the laser anti-counterfeiting label video to obtain a grayscale image of each frame of laser anti-counterfeiting label, extracting edge information in the grayscale image of each frame of laser anti-counterfeiting label by using an edge detection method, outputting the edge image of each frame of laser anti-counterfeiting label, analyzing the topological structure of the edge image of each frame of laser anti-counterfeiting label by using a raster scanning and marking method, searching for a contour, and forming a candidate contour set.
And 2.2, utilizing the shape characteristics and the area characteristics of the anti-counterfeiting area recorded in the seed information to screen out the anti-counterfeiting area which accords with the shape characteristics and the area characteristics in each frame of laser anti-counterfeiting label image from the candidate contour set, and utilizing affine transformation to correct the anti-counterfeiting area of each frame of laser anti-counterfeiting label image so that the anti-counterfeiting area is a standard rectangle.
And 2.3, extracting Local Binary Pattern (LBP) characteristics of each corrected anti-counterfeiting area gray image frame and counting to obtain an LBP characteristic histogram of each anti-counterfeiting area gray image frame, calculating similarity with the LBP characteristic histogram recorded in the seed information by using a correlation comparison method, wherein the similarity exceeds a set threshold value, indicating that the texture characteristics of the anti-counterfeiting area image frame are matched with the seed information, and keeping the anti-counterfeiting area image frame, otherwise, abandoning the anti-counterfeiting area image frame.
And 3, calculating the fuzziness and the average brightness of the anti-counterfeiting area of each frame.
And 3.1, dividing the laser powder blocks in the anti-counterfeiting area from each frame of anti-counterfeiting area, and calculating the area proportion of all the laser powder blocks.
And carrying out graying processing on each frame of anti-counterfeiting area RGB image to obtain an anti-counterfeiting area grayscale image. And (4) carrying out binarization processing on the gray-scale image by using an interspecies maximum variance method (Ostu) to obtain a black-white image of the anti-counterfeiting area of the frame. The white area in the black and white image is each divided laser powder block.
And calculating the proportion of the area of all the laser powder blocks divided in each frame of black-white image to the total area of the black-white image to obtain the proportion of the number of white pixels relative to the number of the total pixels in the black-white image. And comparing the ratio with a real ratio value recorded in seed information stored when the laser anti-counterfeiting label corresponding to the ratio leaves a factory, wherein the real ratio value refers to the ratio of the area of all laser powder blocks actually contained in the anti-counterfeiting area to the total area of the anti-counterfeiting area. The difference between the area proportion of the laser powder blocks calculated from the black-white image of each anti-counterfeiting area and the recorded real proportion value is represented as epsilon, if the difference between the two proportions is greater than a set threshold value mu, namely | epsilon | mu, because the area proportion of the laser powder blocks is calculated based on the divided laser powder block areas, and the proportion difference is large, all the laser powder block areas cannot be correctly divided from the image of the anti-counterfeiting area of the frame, and the subsequent identification process needs to be based on the laser powder block areas which are accurately divided, the RGB image of the anti-counterfeiting area of the frame is abandoned. And if the proportional difference is less than or equal to the set threshold value mu, performing the calculation of the subsequent step. In the examples of the present invention, μ =0.3.
And 3.2, calculating the fuzzy degree of the gray-scale image of the anti-counterfeiting area.
And (3) performing convolution with each pixel in the gray level image of the anti-counterfeiting area by using a Laplacian operator to obtain a second derivative response image. Calculating a variance of the second derivative response map from each pixel value of the second derivative response map. The second derivative response graph reflects the degree of response to the image edge, and if the image edge is clear, the second derivative response graph has a high response value, so that the variance of the response graph is large, and if the image edge is fuzzy, the response value in the second derivative response graph is low, so that the variance of the response graph is small, and therefore the magnitude of the variance represents the degree of sharpness of the image edge. If the variance is larger than the set threshold value theta, the edge of the image in the anti-counterfeiting area is clear, and calculation in the subsequent steps can be carried out; if the variance is smaller than the set threshold value theta, the edge of the image in the anti-counterfeiting area is fuzzy, and the image needs to be discarded. In the embodiment of the present invention, θ =50.
And 3.3, calculating the average brightness of each frame of anti-counterfeiting area image.
And converting the RGB image of the anti-counterfeiting area into an HSV color space to obtain an HSV image of the anti-counterfeiting area. And solving the average value of the V channel values of all the pixel points of the HSV image. Since the V channel represents brightness, if the average value of the V channel is greater than or equal toAt a set threshold value delta 1 The image brightness is over-bright; if the average value is too low, is less than or equal to the set threshold value delta 2 Indicating that the image brightness is too low. Due to the fact that the brightness of the image is too high or too low, when the image subsequently participates in the multi-frame anti-counterfeiting area image to extract color change characteristics, color change caused by abnormal brightness can be generated, the color change is not the effect of laser powder blocks under different display angles of a laser label due to light diffraction, the identification result is interfered, the anti-counterfeiting area image of the frame is abandoned, and the accuracy of the identification result is guaranteed. Delta. For the preparation of a coating 1 And delta 2 Is an empirical value for detecting brightness abnormality in engineering practice. In the embodiment of the present invention, δ 1 =220,δ 2 =20。
And 4, determining the central point position of each laser powder block according to each divided laser powder block area.
And 4.1, performing pixel-by-pixel AND operation on the black-and-white image of the anti-counterfeiting area and the binary image in the corresponding seed information, and eliminating an incorrect white area in each divided laser powder block to obtain a black-and-white image of the public area. Because the binary image in the seed information is a real black-and-white image of the anti-counterfeiting area, the reference of the correctness of each laser powder block is provided for the black-and-white image of the anti-counterfeiting area. In the black and white image of the public area, each white area represents a laser powder block. And analyzing the topological structure of the black-and-white image of the public area by using a raster scanning and marking method, namely the connectivity of each pixel and the adjacent pixels thereof, extracting the outline of each white area, and determining the position of the central point of each outline, namely the position of the central point of each laser powder block.
And 5, extracting the color distribution characteristics of each subarea of the anti-counterfeiting area image.
And 5.1, dividing each anti-counterfeiting area image into four sub-areas with the same size according to the horizontal direction and the vertical direction.
And 5.2, calculating the on-off state of each laser powder block in each subarea.
Converting the RGB image of each frame anti-counterfeiting area into HSV color space, wherein H in the HSV color space represents hue, and S in the HSV color space represents saturationAnd V represents lightness. For each laser powder block center point of each sub-area, if S i Alpha and delta are not more than 1 ≤V i ≤δ 2 And if so, the laser powder block corresponding to the central point is gray, namely, the laser powder block is in an off state. If S is i >A and d 1 ≤V i ≤δ 2 And if so, the laser powder block corresponding to the central point is colored, and the laser powder block is in a bright state. Wherein S is i Represents the value V of the saturation S channel of the center point of the ith laser powder block i And (3) representing the value of a central point lightness V channel of the ith laser powder block, wherein i is the serial number of the central point of each laser powder block in each sub-area. In the embodiment of the present invention, α is a saturation S channel threshold of gray in HSV color space, and α =43.
Step 5.3, a color histogram for each sub-region is generated.
There are seven basic colors in the HSV color space, each corresponding to a range of H-channel values. And for each laser powder block in a bright state in each sub-area, the basic color of each laser powder block can be obtained according to the value of the hue H channel of the central point of the laser powder block. And generating a color histogram of each sub-region according to the counted number of the laser powder blocks corresponding to each basic color in each sub-region.
Step 5.4, judging whether the brightness states of all the laser powder blocks in each subarea meet tau or not 1 ≤γ t ≤τ 2 If yes, judging the on-off states of all the laser powder blocks in the sub-area to be non-consistency, otherwise, judging the on-off states of all the laser powder blocks in the sub-area to be consistency. Wherein, gamma is t And the ratio of the number of the laser powder blocks in the bright state in the tth sub-area to the total number of the laser powder blocks is represented. Tau is 1 ,τ 2 For the set threshold, the two thresholds are obtained by counting the proportion gamma of the number of the laser powder blocks in the bright state in each subarea to the total number of the laser powder blocks under different angles of the real laser label t And based on the obtained plurality of gamma t Value, taking the minimum value of τ as 1 Taking the maximum value of the two as tau 2 . In the embodiment of the present invention, τ 1 =0.2,τ 2 =0.8。
Step 5.5, judging whether the tone states of all the laser powder blocks in each subarea meet rho t <And xi, if so, judging the tone states of all the laser powder blocks in the sub area to be inconsistent, otherwise, judging the tone states of all the laser powder blocks in the sub area to be consistent. Rho t And the ratio of the peak value of the color histogram of the t-th sub-area to the total number of the laser powder lumps is represented. And xi is a set threshold value, the proportion of the peak value of the color histogram of each sub-region to the total number of the laser powder blocks of the real laser label at different angles is counted, and the maximum value is xi. In the embodiment of the present invention, ξ =0.7.
And 5.6, judging whether the color distribution characteristics of each subarea are inconsistent, namely judging whether the on-off states or the tone states of all the laser powder blocks of the subarea are inconsistent, if so, judging that the color distribution characteristics of the subarea are inconsistent, and otherwise, judging that the color distribution characteristics of the subarea are consistent.
And 6, extracting the color change characteristics of the anti-counterfeiting area.
And 6.1, detecting whether the laser powder block has bright and dark changes.
2. Each laser powder block corresponds to a central point, and because the whole powder block changes when the laser powder block changes, whether the laser powder block changes in a bright-dark mode or not can be judged by whether the central point of the laser powder block changes in a bright-dark mode or not. And for the saturation S channel and brightness V channel values of the center point of any laser powder block, if the two channel threshold conditions are met, judging that the laser powder block corresponding to the center point is changed in a lighting and extinguishing manner, and if the two channel threshold conditions are not met, judging that the laser powder block corresponding to the center point is not changed in a lighting and extinguishing manner. The two-lane threshold condition is that a third formula is satisfied and either one of the first formula and the second formula is satisfied:
Figure BDA0003826454370000091
Figure BDA0003826454370000092
Figure BDA0003826454370000093
wherein the content of the first and second substances,
Figure BDA0003826454370000094
respectively showing S channel values of the c laser powder block central point in the t frame and t-x frame anti-counterfeiting area HSV image,
Figure BDA0003826454370000095
respectively showing the V channel value of the c laser powder block central point in the t frame and t-x frame anti-counterfeiting area HSV image, and x belongs to (0,t). sat _ max, sat _ min and val _ range are set threshold values, the maximum value of the S channel values of the central points of all laser powder blocks in the off state in the real laser label is sat _ min, the minimum value of the S channel values of the central points of all laser powder blocks in the on state in the real laser label is sat _ max, and the average value of the V channel variation of the central points of all laser powder blocks in the on and off state in the real laser label is val _ range. In the embodiment of the present invention, sat _ max =200, sat_min =43, val_range =100.
And 6.2, detecting whether the color of the central point of each laser powder block changes.
By using
Figure BDA0003826454370000096
And calculating the color tone variation of the central point of each laser powder block in the HSV image in each anti-counterfeiting area according to a formula. If it is
Figure BDA0003826454370000097
And judging that the central point of the laser powder block has color tone change in the anti-counterfeiting area image of the frame. If it is
Figure BDA0003826454370000098
Then the central point of the laser powder block is judged to have no color tone change in the frame anti-counterfeiting area. Wherein the content of the first and second substances,
Figure BDA0003826454370000099
representing the tone variation of the central point of the p-th laser powder block in the HSV image in the anti-counterfeiting area of the t-th frame,
Figure BDA00038264543700000910
respectively representing the H channel values of the p laser powder block central point in the t frame and t-x frame anti-counterfeiting area HSV image, and x belongs to (0,t). Kappa is a set threshold value, and the threshold value is an average value of range values of H channels corresponding to the seven basic colors in the HSV color space. In the present examples, κ =20.
And 6.3, counting the number of the central points of the laser powder block with the change of brightness and extinguishment and the change of hue each time, recording the frame number of the anti-counterfeiting area image frame with the change, and judging whether the non-uniformity condition of the color change is met. If so, judging that the color change characteristics of the laser label are inconsistent, otherwise, judging that the color change characteristics of the laser label are consistent. The color change non-uniformity condition is that the following three conditions are simultaneously met:
Figure BDA0003826454370000101
C i >m 3 or D i >m 3
Bc>m 4
the anti-counterfeiting method comprises the steps of recording anti-counterfeiting area image frames with the center points of laser powder blocks, wherein F represents a set formed by frame numbers of the recorded anti-counterfeiting area image frames with the color tone changes, and L represents a set formed by frame numbers of the recorded anti-counterfeiting area image frames with the center points of the laser powder blocks. C i The total number of the central points of the laser powder blocks with color tone change in the i-th frame anti-counterfeiting area image is represented, D i And the total number of the central points of the laser powder blocks with the brightness change in the ith frame of anti-counterfeiting area image is represented. Bc denotes the total number of frame numbers in set B, B = F ∞ D. m is 1 ,m 2 ,m 3 ,m 4 Are all set threshold values. m is 1 And taking the average value of the total number of the center points of the laser powder blocks with color tone changes when the color tone changes for e times respectively happen to a plurality of real laser labels. m is a unit of 2 And (3) taking the average value of the total number of the center points of the laser powder blocks with brightness change when the brightness of the real laser labels is changed for e times respectively. m is 3 And (4) taking the average value of the total number of the central points of the laser powder blocks of the real laser label with the color tone change every time. m is 4 And when the brightness changes for e times and the tone changes for e times are respectively generated on the plurality of real laser labels, the average value of the frame number of the anti-counterfeiting area image frames with the tone changes and the brightness changes is generated at the same time. In the embodiment of the present invention, for example, F = {6, 10, 15}, which indicates that the central point of the laser powder block has a color tone change in the security area images of 6 th, 10 th, and 15 th frames. m is a unit of 1 =30,m 2 =30,m 3 =5,m 4 =2,e=8。
And 7, judging the authenticity of the laser anti-counterfeiting label.
And judging whether the color characteristics of the anti-counterfeiting area of the laser anti-counterfeiting label meet two non-consistency conditions, if so, judging the laser anti-counterfeiting label to be a true label, and otherwise, judging the laser anti-counterfeiting label to be a false label. The two non-uniformity conditions are that the color distribution characteristics and the color change characteristics of the anti-counterfeiting area of the laser anti-counterfeiting label are non-uniform.
The effects of the present invention can be further illustrated by the following simulation experiments.
1. Simulation experiment conditions are as follows:
the hardware platform of the simulation experiment of the invention is as follows: the processor is an Intel i57500 CPU, the main frequency is 3.5GHz, and the memory is 16GB.
The software platform of the simulation experiment of the invention is as follows: windows 10 operating system and python 3.6.7.
The simulation experiment uses the collected 69 videos of the true laser anti-counterfeiting labels and 17 videos of the false laser anti-counterfeiting labels for simulation.
2. Simulation content and analysis of results thereof
The simulation experiment of the invention adopts the method of the invention to identify the authenticity of each laser anti-counterfeit label according to the collected video of the true and false laser anti-counterfeit labels, and the true and false judgment results of 86 laser anti-counterfeit labels are obtained.
And (3) evaluating the recognition effect by using an accuracy evaluation method:
Figure BDA0003826454370000111
where Acc denotes the accuracy, TP denotes the number of correctly recognizing false tags as false tags, TN denotes the number of correctly recognizing true tags as true tags, FP denotes the number of incorrectly recognizing true tags as false tags, and FN denotes the number of incorrectly recognizing false tags as true tags. TP =60, tn =17, FP =9, fn =0, acc =0.895, where FP =9 is the reason that the 9 true labels are judged as false labels by mistake is that the video image quality of the 9 true labels is not good, and the anti-counterfeiting area cannot be extracted or the screening step of calculating the fuzziness and the average brightness of the anti-counterfeiting area in the method of the present invention is not passed. In 77 laser anti-counterfeit label videos with clear images and uniform brightness, the identification accuracy rate of the method is 100%.
The effect of the present invention will be further described with reference to the simulation diagram of fig. 2.
Fig. 2 (a) is an exemplary diagram of a video frame with too low brightness in a real laser anti-counterfeit label video in a simulation experiment of the present invention.
As can be seen from fig. 2 (a), when the brightness is too low, the laser powder block in the video frame is blurred, the displayed color is interfered, and is inconsistent with the color actually displayed by the laser powder block, which interferes with the color feature extraction process and needs to be discarded.
Fig. 2 (b) is an exemplary diagram of a video frame with too high brightness in a real laser anti-counterfeit label video in a simulation experiment of the present invention.
As can be seen from (b) in fig. 2, when the brightness is too high, the position of the laser powder block in the video frame is unclear, the color of the laser powder block is interfered, and the color is inconsistent with the color actually displayed by the laser powder block, which interferes with the color feature extraction process and needs to be discarded.

Claims (10)

1. A quasi-dynamic laser anti-counterfeiting label verification method based on characteristic non-uniformity is characterized in that the color distribution characteristics of each subarea in an anti-counterfeiting area image are extracted, whether the color distribution characteristics of each subarea are non-uniform or not is judged, the color change characteristics of the anti-counterfeiting area are extracted, and whether the color change characteristics are non-uniform or not is judged; the method comprises the following steps:
step 1, collecting laser anti-counterfeit label information:
step 1.1, collecting a two-dimensional code image in a laser anti-counterfeiting label, analyzing the two-dimensional code image by using a two-dimensional code analysis algorithm, uploading obtained two-dimensional code information to a server, and calling seed information corresponding to the two-dimensional code information stored by the server;
step 1.2, collecting a laser anti-counterfeit label video;
step 2, extracting an anti-counterfeiting area in each frame of laser label image:
step 2.1, performing graying processing on each frame of RGB image of the laser anti-counterfeiting label in the laser anti-counterfeiting label video to obtain a grayscale image of each frame of laser anti-counterfeiting label, extracting edge information in the grayscale image of each frame of laser anti-counterfeiting label by using an edge detection method, outputting the edge image of each frame of laser anti-counterfeiting label, analyzing the topological structure of the edge image of each frame of laser anti-counterfeiting label by using a raster scanning and marking method, searching for a contour, and forming a candidate contour set;
2.2, screening anti-counterfeiting areas which accord with the shape characteristics and the area characteristics in each frame of laser anti-counterfeiting label image from the candidate contour set by using the shape characteristics and the area characteristics of the anti-counterfeiting areas recorded in the seed information, and correcting the anti-counterfeiting areas of each frame of laser anti-counterfeiting label image by using affine transformation;
step 2.3, extracting Local Binary Pattern (LBP) characteristics of each corrected anti-counterfeiting area gray image frame and counting to obtain an LBP characteristic histogram of each anti-counterfeiting area gray image frame, calculating similarity with the LBP characteristic histogram recorded in the seed information by using a correlation comparison method, reserving the frame anti-counterfeiting area images with the similarity larger than a similarity threshold value, and discarding the frame anti-counterfeiting area images with the similarity smaller than or equal to the similarity threshold value, wherein the similarity threshold value is a value selected in the range of [0.7,0.8 ];
step 3, calculating the fuzziness and average brightness of each frame of anti-counterfeiting area image:
step 3.1, performing binarization processing on each frame of anti-counterfeiting area gray-scale image by using a maximum inter-class variance method to obtain a black-and-white image of the anti-counterfeiting area, taking a white area in the black-and-white image of the anti-counterfeiting area as each divided laser powder block, and calculating the area proportion of all the laser powder blocks;
step 3.2, calculating the fuzzy degree of each frame of anti-counterfeiting area gray level image;
step 3.3, calculating the average brightness of each frame of anti-counterfeiting area image;
step 4, determining the central point position of each laser powder block according to each divided laser powder block area;
step 5, extracting the color distribution characteristics of each subarea of the anti-counterfeiting area image based on the color state of each laser powder block in each anti-counterfeiting area image:
step 5.1, dividing each frame of anti-counterfeiting area image into four sub-areas with the same size according to the horizontal direction and the vertical direction;
step 5.2, judging the on-off state of each laser powder block in each sub-area according to the range of the value of the hue S channel and the value of the brightness V channel of the central point of each laser powder block;
step 5.3, generating a color histogram of each subarea according to the colors of all laser powder blocks in the bright state in each subarea;
step 5.4, judging whether the brightness states of all the laser powder blocks in each subarea meet tau or not 1 ≤γ t ≤τ 2 If yes, judging the on-off states of all the laser powder blocks in the sub-area to be non-consistency, otherwise, judging the on-off states of all the laser powder blocks in the sub-area to be consistency, wherein gamma is t Represents the ratio of the number of the laser powder blocks in the bright state in the t-th sub-area to the total number of the laser powder blocks, tau 1 Lower threshold for brightness non-uniformity, τ 2 The two thresholds are the upper threshold of brightness inconsistency, and the two thresholds are the proportion gamma of the number of laser powder blocks in a bright state in each subarea to the total number of the laser powder blocks under different angles of the real laser label t And based on the obtained plurality of gamma t Value, taking the minimum value of τ as 1 Taking the maximum value therein as tau 2
Step 5.5, judging whether the tone states of all the laser powder blocks in each subarea meet rho t <Xi, if yes, judging the tone states of all the laser powder blocks in the sub area to be non-consistent, otherwise, judging the tone states of all the laser powder blocks in the sub area to be consistent, and rho t Representing the proportion of the peak value of the color histogram of the tth sub-area to the total number of the laser powder lumps, and ξ is a color tone non-uniformity threshold value which is the maximum value in the proportion of the peak value of the color histogram of each sub-area to the total number of the laser powder lumps under different angles of the real laser label;
step 5.6, judging whether the on-off state or the tone state of all the laser powder blocks in each sub-area is judged to present non-uniformity, if so, judging that the color distribution characteristics of the sub-area present non-uniformity, otherwise, judging that the color distribution characteristics of the sub-area present uniformity;
step 6, extracting the color change characteristics of the anti-counterfeiting area based on the color change of each laser powder block in the multi-frame anti-counterfeiting area image:
step 6.1, judging whether the saturation S channel value and the saturation V channel value of the central point of the laser powder block meet the channel threshold value condition, if so, judging that the central point of the laser powder block is changed in a lighting and extinguishing manner, otherwise, judging that the central point of the laser powder block is not changed in a lighting and extinguishing manner;
step 6.2, use
Figure FDA0003826454360000031
Calculating the hue variation of the central point of each laser powder block in an HSV image consisting of a hue H channel, a saturation S channel and a brightness V channel in each anti-counterfeiting area according to a formula, wherein,
Figure FDA0003826454360000032
representing the tone variation of the central point of the p-th laser powder block in the HSV image in the anti-counterfeiting area of the t-th frame,
Figure FDA0003826454360000033
respectively representing H channel values of the p laser powder block center point in the t frame and t-x frame anti-counterfeiting area HSV image, wherein x belongs to (0,t);
step 6.3, judging the tone variation of the central point of each laser powder block
Figure FDA0003826454360000034
Whether the color change threshold value kappa is larger than the color change threshold value kappa is judged, if yes, the color change of the central point of the laser powder block is judged in the frame anti-counterfeiting area image, otherwise, the color change of the central point of the laser powder block is judged not to be generated in the frame anti-counterfeiting area image, wherein the color change threshold value kappa is the average value of the range values of the H channels corresponding to the seven basic colors in the HSV color space;
step 6.3, counting the number of the center points of the laser powder block with the brightness change and the tone change every time, and recording the frame number of the image frame in the anti-counterfeiting area with the change;
step 6.4, judging whether the number of the center points of the laser powder block with the brightness and shade change and the frame number of the anti-counterfeiting area image frame with the change meet the condition of color change non-uniformity or not, if so, judging the color change characteristic of the laser label to be non-uniformity, otherwise, judging the color change characteristic of the laser label to be uniformity;
step 7, determining the authenticity of the laser anti-counterfeiting label:
and judging the laser anti-counterfeit label meeting the two non-consistency conditions as a true label, otherwise, judging the laser anti-counterfeit label as a false label.
2. The method according to claim 1, wherein the step of calculating the area ratio of all laser powder blocks in step 3.1 is to calculate the ratio of the area of all laser powder blocks divided in each black-white image to the total area of the black-white image to obtain the ratio of the number of white pixels to the number of total pixels in the black-white image, compare the ratio with the area ratio recorded in the seed information, and discard the frame of anti-counterfeit area image if the difference between the two ratios is greater than a threshold μ, i.e., | epsilon | > μ. If the ratio difference is less than or equal to the threshold value mu, the anti-counterfeiting area image of the frame is reserved, and the absolute value of the difference between the area ratio of all the laser powder blocks and the area ratio value in the seed information is obtained when all the laser powder block areas are correctly divided from the black-white image of the anti-counterfeiting area.
3. The method according to claim 1, wherein the step of calculating the degree of blur of each frame of the gray-scale map of the anti-counterfeit region in step 3.2 is to perform convolution with each pixel in the gray-scale map of the anti-counterfeit region using Laplacian operator to obtain a second derivative response map, calculate a variance of the second derivative response map according to each pixel value of the second derivative response map, leave out the anti-counterfeit region image with a variance greater than a threshold, discard the anti-counterfeit region image with a variance less than or equal to the threshold, and take the average of the variances of the blurred anti-counterfeit region gray-scale maps.
4. The method for verifying the quasi-dynamic laser anti-counterfeit label based on the characteristic non-uniformity as claimed in claim 1, wherein the step of calculating the average brightness of each frame of anti-counterfeit area image in step 3.3 is to convert an anti-counterfeit area RGB image into an HSV color space to obtain an anti-counterfeit area HSV image. Calculating the average value of V channel values of all pixel points of the HSV image, and if the average value of the V channel is greater than or equal to a threshold value delta 1 If yes, the anti-counterfeiting area image of the frame is reserved; if the mean value is too low, less than or equal to the threshold value delta 2 Discarding the image of the anti-counterfeiting area of the frame, delta 1 And delta 2 Is an empirical value for detecting brightness abnormality in engineering practice.
5. The method for verifying the pseudo-label based on the quasi-dynamic laser anti-counterfeit label with non-uniform characteristics according to claim 1, wherein the step 4 of determining the position of the center point of each laser powder block according to each divided laser powder block region means that the black-and-white image of the anti-counterfeit region and the binary image in the corresponding seed information are subjected to a pixel-by-pixel AND operation to obtain a black-and-white image of a common region, the topological structure of the black-and-white image of the common region is analyzed by using a raster scanning and marking method, the outline of each white region is extracted, and the position of the center point of each outline is used as the position of the center point of the laser powder block.
6. The method according to claim 1, wherein the step 5.2 of determining the on/off state of each laser powder block in each sub-region is to convert the RGB image of each anti-counterfeiting region into HSV color space, where H represents hue, S represents saturation, and V represents lightness, and for each laser powder block center point in each sub-region, if S represents the center point of each laser powder block, if S represents the center point of each sub-region i Alpha and delta are not more than 1 ≤V i ≤δ 2 If the laser powder block corresponding to the central point is gray, that is, the laser powder block is in the off state, if S is detected i >A and d 1 ≤V i ≤δ 2 If the laser powder block corresponding to the central point is colored, the laser powder block is in a bright state, wherein S i Represents the value V of the saturation S channel of the center point of the ith laser powder block i And the value of a lightness V channel of the center point of the ith laser powder block is represented, i is the serial number of the center point of each laser powder block in each sub-area, and alpha is a saturation S channel threshold value of gray in HSV color space.
7. The method for verifying the quasi-dynamic laser anti-counterfeit label based on the non-uniformity of features of claim 1, wherein the step 5.3 of generating the color histogram of each sub-area means that for each laser powder block in a bright state in each sub-area, the basic color of each laser powder block can be obtained according to the value of the hue H channel of the center point of the laser powder block. And generating a color histogram of each sub-region according to the counted number of the laser powder blocks corresponding to each basic color in each sub-region.
8. The method of claim 1, wherein the channel threshold condition of step 6.1 is that the third formula is satisfied and any one of the first formula and the second formula is satisfied in the following three formulas:
Figure FDA0003826454360000051
Figure FDA0003826454360000052
Figure FDA0003826454360000053
wherein the content of the first and second substances,
Figure FDA0003826454360000054
respectively showing S channel values of the c laser powder block central point in the t frame and t-x frame anti-counterfeiting area HSV image,
Figure FDA0003826454360000055
respectively representing the V channel value of the c laser powder block central point in the t frame and t-x frame anti-counterfeiting area HSV image, and x belongs to (0,t). sat _ min is a threshold value of a dead state, the threshold value is the maximum value of S channel values of the central points of all laser powder blocks in the dead state in the real laser label, sat _ max is a threshold value of a bright state, the threshold value is the minimum value of S channel values of the central points of all laser powder blocks in the bright state in the real laser label, and val_ \range is a brightness threshold value, and the threshold value is an average value of the V-channel variation of the central points of all the laser powder blocks with the brightness change in the real laser label.
9. The method for verifying the quasi-dynamic laser anti-counterfeit label based on the characteristic non-uniformity as claimed in claim 1, wherein the color change non-uniformity condition of step 6.4 is that the following three conditions are simultaneously satisfied:
Figure FDA0003826454360000056
C i >m 3 or D i >m 3
Bc>m 4
the anti-counterfeiting method comprises the steps of recording anti-counterfeiting area image frames with the center points of laser powder blocks, wherein F represents a set formed by frame numbers of the recorded anti-counterfeiting area image frames with the color tone changes, and L represents a set formed by frame numbers of the recorded anti-counterfeiting area image frames with the center points of the laser powder blocks. C i The total number of the central points of the laser powder blocks with color tone change in the i-th frame anti-counterfeiting area image is represented, D i And the total number of the central points of the laser powder blocks with the on-off change in the i-th frame of anti-counterfeiting area image is represented. Bc denotes the total number of frame numbers in set B, B = F ≧ D. m is 1 The threshold value is a threshold value of the number of color tone change central points, and the threshold value is an average value of the total number of the laser powder block central points with color tone change when a plurality of real laser labels respectively have e-time color tone change. m is 2 The threshold value is the quantity threshold value of the bright and dark change central points, and the threshold value is the average value of the total number of the laser powder block central points with brightness change when a plurality of real laser labels respectively have brightness change for e times. m is 3 The threshold value is a single color tone change central point quantity threshold value, and the threshold value is an average value of the total number of the central points of the laser powder blocks of which the color tones of the real laser labels change each time. m is 4 The threshold value is a frame number threshold value, and the threshold value is equal to the frame number of the anti-counterfeiting area image frame which simultaneously generates color tone change and brightness change when a plurality of real laser labels respectively generate e times of brightness change and e times of color tone changeThe mean value, e, is the threshold for the number of changes, which is in [6,12 ]]A value selected within the range of (1).
10. The method according to claim 1, wherein the two non-uniformity conditions in step 7 are that the number of sub-regions in the anti-counterfeit area of the laser anti-counterfeit label, in which the color distribution characteristics are determined by non-uniformity, exceeds 2, and the color change characteristics of the anti-counterfeit area of the laser anti-counterfeit label are determined by non-uniformity.
CN202211061606.7A 2022-09-01 2022-09-01 Quasi-dynamic laser anti-counterfeit label identification method based on feature non-uniformity Active CN115423771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211061606.7A CN115423771B (en) 2022-09-01 2022-09-01 Quasi-dynamic laser anti-counterfeit label identification method based on feature non-uniformity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211061606.7A CN115423771B (en) 2022-09-01 2022-09-01 Quasi-dynamic laser anti-counterfeit label identification method based on feature non-uniformity

Publications (2)

Publication Number Publication Date
CN115423771A true CN115423771A (en) 2022-12-02
CN115423771B CN115423771B (en) 2023-06-30

Family

ID=84200445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211061606.7A Active CN115423771B (en) 2022-09-01 2022-09-01 Quasi-dynamic laser anti-counterfeit label identification method based on feature non-uniformity

Country Status (1)

Country Link
CN (1) CN115423771B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116092061A (en) * 2023-04-12 2023-05-09 深圳企业云科技股份有限公司 Label verification method and device
CN116758528A (en) * 2023-08-18 2023-09-15 山东罗斯夫新材料科技有限公司 Acrylic emulsion color change identification method based on artificial intelligence
CN117475356A (en) * 2023-12-25 2024-01-30 华南理工大学 Control method and system for preparing invisible double anti-counterfeit label by corrugated case

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103712919A (en) * 2013-11-02 2014-04-09 深圳扬丰印刷有限公司 Characterization and detection method of native-surface laser paper color characteristics
CN106650669A (en) * 2016-12-27 2017-05-10 重庆邮电大学 Face recognition method for identifying counterfeit photo deception
CN110428028A (en) * 2019-07-22 2019-11-08 杭州沃朴物联科技有限公司 Fake method, device, equipment and medium are tested in identification based on Quasi dynamic laser label
CN110533704A (en) * 2019-07-22 2019-12-03 杭州沃朴物联科技有限公司 Fake method, device, equipment and medium are tested in the identification of ink label
CN110796221A (en) * 2019-10-18 2020-02-14 周晓明 Anti-counterfeit label generation method, anti-counterfeit label verification method and system and anti-counterfeit label
CN210284932U (en) * 2017-12-30 2020-04-10 山东泰宝防伪制品有限公司 SV code anti-fake packaging box
CN111222612A (en) * 2020-03-18 2020-06-02 杭州沃朴物联科技有限公司 Laser anti-counterfeit label and manufacturing method thereof and identification and counterfeit verification method
CN111242259A (en) * 2020-01-08 2020-06-05 浙江码尚科技股份有限公司 Intelligent anti-counterfeiting code encoding and decoding method and system
CN111414779A (en) * 2020-05-22 2020-07-14 杭州沃朴物联科技有限公司 Anti-counterfeit label identification method and device
CN112329673A (en) * 2020-11-12 2021-02-05 北京文通科技有限公司 Anti-counterfeiting fiber identification method, anti-counterfeiting identification device and storage medium
WO2021128502A1 (en) * 2019-12-25 2021-07-01 Tcl华星光电技术有限公司 Device for extracting image identifier, and method and device for adjusting brightness of image identifier
CN113808472A (en) * 2021-09-14 2021-12-17 山东泰宝信息科技集团有限公司 Holographic laser variable verification code anti-counterfeit label and manufacturing method and using method thereof
CN114203016A (en) * 2021-11-23 2022-03-18 中山国安火炬科技发展有限公司 Anti-counterfeit label and application thereof
CN114663271A (en) * 2022-03-28 2022-06-24 美盈森集团股份有限公司 Processing method for anti-counterfeit label image symbolization before printing

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103712919A (en) * 2013-11-02 2014-04-09 深圳扬丰印刷有限公司 Characterization and detection method of native-surface laser paper color characteristics
CN106650669A (en) * 2016-12-27 2017-05-10 重庆邮电大学 Face recognition method for identifying counterfeit photo deception
CN210284932U (en) * 2017-12-30 2020-04-10 山东泰宝防伪制品有限公司 SV code anti-fake packaging box
CN110428028A (en) * 2019-07-22 2019-11-08 杭州沃朴物联科技有限公司 Fake method, device, equipment and medium are tested in identification based on Quasi dynamic laser label
CN110533704A (en) * 2019-07-22 2019-12-03 杭州沃朴物联科技有限公司 Fake method, device, equipment and medium are tested in the identification of ink label
CN110796221A (en) * 2019-10-18 2020-02-14 周晓明 Anti-counterfeit label generation method, anti-counterfeit label verification method and system and anti-counterfeit label
WO2021128502A1 (en) * 2019-12-25 2021-07-01 Tcl华星光电技术有限公司 Device for extracting image identifier, and method and device for adjusting brightness of image identifier
CN111242259A (en) * 2020-01-08 2020-06-05 浙江码尚科技股份有限公司 Intelligent anti-counterfeiting code encoding and decoding method and system
CN111222612A (en) * 2020-03-18 2020-06-02 杭州沃朴物联科技有限公司 Laser anti-counterfeit label and manufacturing method thereof and identification and counterfeit verification method
CN111414779A (en) * 2020-05-22 2020-07-14 杭州沃朴物联科技有限公司 Anti-counterfeit label identification method and device
CN112329673A (en) * 2020-11-12 2021-02-05 北京文通科技有限公司 Anti-counterfeiting fiber identification method, anti-counterfeiting identification device and storage medium
CN113808472A (en) * 2021-09-14 2021-12-17 山东泰宝信息科技集团有限公司 Holographic laser variable verification code anti-counterfeit label and manufacturing method and using method thereof
CN114203016A (en) * 2021-11-23 2022-03-18 中山国安火炬科技发展有限公司 Anti-counterfeit label and application thereof
CN114663271A (en) * 2022-03-28 2022-06-24 美盈森集团股份有限公司 Processing method for anti-counterfeit label image symbolization before printing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NGEI KATUMO 等: "Dual‑color dynamic anti‑counterfeiting labels with persistent emission after visible excitation allowing smartphone authentication", SCIENTIFC REPORTS, pages 1 - 14 *
谢小春;李敏;钟云飞;: "基于多旋转角度测量的镭射纸颜色检测方法研究", 数字印刷, no. 02, pages 12 - 18 *
韦逸野: "基于图像处理技术的纸张功能信息识别研究", 中国优秀硕士学位论文全文数据库信息科技辑, pages 138 - 1257 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116092061A (en) * 2023-04-12 2023-05-09 深圳企业云科技股份有限公司 Label verification method and device
CN116092061B (en) * 2023-04-12 2023-09-22 深圳企业云科技股份有限公司 Label verification method and device
CN116758528A (en) * 2023-08-18 2023-09-15 山东罗斯夫新材料科技有限公司 Acrylic emulsion color change identification method based on artificial intelligence
CN116758528B (en) * 2023-08-18 2023-11-03 山东罗斯夫新材料科技有限公司 Acrylic emulsion color change identification method based on artificial intelligence
CN117475356A (en) * 2023-12-25 2024-01-30 华南理工大学 Control method and system for preparing invisible double anti-counterfeit label by corrugated case
CN117475356B (en) * 2023-12-25 2024-03-29 华南理工大学 Control method and system for preparing invisible double anti-counterfeit label by corrugated case

Also Published As

Publication number Publication date
CN115423771B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN115423771B (en) Quasi-dynamic laser anti-counterfeit label identification method based on feature non-uniformity
CN107545239B (en) Fake plate detection method based on license plate recognition and vehicle characteristic matching
Wen et al. An algorithm for license plate recognition applied to intelligent transportation system
US6628808B1 (en) Apparatus and method for verifying a scanned image
CN109034145B (en) Bank card number identification method based on OpenCV
AU2009305437B2 (en) Method and system for item identification
US20080310721A1 (en) Method And Apparatus For Recognizing Characters In A Document Image
EP0947947B1 (en) Robust method for finding registration marker positions
CN110838119B (en) Human face image quality evaluation method, computer device and computer readable storage medium
CN106875545B (en) Method and device for identifying paper money
CN113392664B (en) Anti-counterfeiting two-dimensional code generation method, anti-counterfeiting method and device
CN115244542A (en) Method and device for verifying authenticity of product
Jagannathan et al. License plate character segmentation using horizontal and vertical projection with dynamic thresholding
Cao et al. An adaptive approach to vehicle license plate localization
CN110163152A (en) Antiforge recognizing method, method for anti-counterfeit, system, device end and storage medium
CN110689003A (en) Low-illumination imaging license plate recognition method and system, computer equipment and storage medium
CN110533704B (en) Method, device, equipment and medium for identifying and verifying ink label
CN113435219B (en) Anti-counterfeiting detection method and device, electronic equipment and storage medium
JP3416058B2 (en) Character extraction method of gray image and recording medium recording the program
CN111967457A (en) OCR detection method based on deep learning
Ishizuka et al. Segmentation of road sign symbols using opponent-color filters
CN113128500A (en) Mask-RCNN-based non-motor vehicle license plate recognition method and system
CN111311696A (en) License plate authenticity detection method based on hyperspectral unmixing technology
US8699761B2 (en) Method for evaluating quality of image representing a fingerprint pattern
US11941901B2 (en) Smartphone or tablet comprising a device for generating a digital identifier of a copy, including at least one print image of a printed product produced in a production system, and method for using this device

Legal Events

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