The invention discloses an electronic
grating anti-counterfeiting identification method and
system, and relates to the technical field of product
package anti-counterfeiting, and the method comprises the steps: receiving to-be-verified image data, carrying out the
image correction of the to-be-verified image data, correcting the to-be-verified image data into the same shape and size as an original image, and obtaining a corrected image, image
distortion and size correction are carried out by extracting edge contour information and gray scale information from to-be-verified image data;
image enhancement is carried out on the corrected image to obtain an enhanced image, and the
image enhancement comprises but is not limited to up-sampling,
adaptive histogram equalization and a GAN neural network; an electronic
grating image is generated based on preset printing parameters, the printing parameters comprise the number of screening lines, the screening angle and other parameters, and the generated electronic
grating is a black and
white stripe image; an electronic grating is used for anti-fake information recognition, the recognition method comprises the steps that an electronic grating image and an enhanced to-be-verified image are subjected to
image fusion according to the method that a black area is light-proof and a
white area is light-transmitting so as to show anti-fake information in to-be-verified image data, and an anti-fake recognition result is output on
verification equipment. And true and false identification is realized.