The invention relates to a method and
system for automatically identifying the authenticity of entry and exit certificates, which comprises the following steps of: acquiring an integral image of a
certificate, positioning a
textural feature extremal region, extracting key details, matching an anti-counterfeiting mark feature
library by combining a
feature matching algorithm, and extracting an anti-counterfeiting standard detail feature image in the key details; a fuzzy
algorithm is adopted to unify the size of an anti-counterfeiting region, and gray mapping and normalization are combined to realize
standardization processing of an anti-counterfeiting standard detail feature image, so that deformation and illumination interference are solved. According to the method, a graph neural network based on a pre-training attention mechanism network is constructed, a convolutional layer, a
pooling layer, a full-connection layer, a nonlinear kernel
SVM classifier and a classification module are superposed to form a multi-stage classifier, generalization is improved through positive and
negative sample training, an anti-counterfeiting standard detail feature image subjected to
standardization processing is used as input, and an authenticity judgment result is output. The multi-level feature analysis and the deep network learning are fused, the authenticity identification precision and the anti-counterfeiting capability are remarkably improved, and the method is suitable for multi-type
certificate anti-counterfeiting detection scenes.