Citation:
LEI Meng, NING Qiyue, JU Jinjun, ZOU Liang. SealVerifier: Seal Verification System Based on Dual-stream Model[J].
Journal of Electronics & Information Technology
, 2025, 47(7): 2308-2319.
doi:
10.11999/JEIT241059
School of Information and Control Engineering, China University of Mining and Technology, Xuzhou 221116, China
Training Base, Army Engineering University of PLA, Xuzhou 221004, China
School of Information Science and Technology, University of Science and Technology of China, Hefei 230026, China
Funds:
The National Natural Science Foundation of China (62373360, 62473368), The Scientific Innovation 2030 Major Project for New Generation of AI (2020AAA0107300)
Abstract
Objective
Seals serve a critical legal function in scenarios such as document authentication and contract execution, acting as essential markers of document authenticity and legitimacy. However, the increasing sophistication of seal forgery techniques, driven by advances in digital technology, presents new challenges to existing verification methods. In particular, low-quality or blurred seal images substantially reduce the accuracy and reliability of traditional approaches, limiting their practical utility. To address these limitations, this study proposes SealVerifier, an automatic seal verification system based on a dual-stream model. The method is designed to improve recognition accuracy, generalization ability, and robustness to noise. SealVerifier contributes to the intelligent development of seal verification and offers technical support for secure digital document authentication, thereby facilitating the broader deployment of reliable seal verification technologies.
Methods
SealVerifier comprises an image enhancement module and a dual-stream verification model, designed to improve the accuracy and robustness of seal authentication. The framework follows a two-stage pipeline: image preprocessing and authenticity verification. In the preprocessing stage, the DeARegNet module is introduced to correct degradation caused by uneven stamping pressure, scanner variability, paper background complexity, and interference from document content. DeARegNet integrates a Denoising Adversarial Network (DAN) and a GeomPix alignment module to enhance seal image clarity and consistency. DAN employs an adversarial training, consisting of a denoiser and a discriminator. The denoiser uses a multi-level residual dense connection module to extract fine-grained features and eliminate noise, thereby improving image resolution. The discriminator enforces denoising reliability by distinguishing between clean and denoised images using an adversarial loss. The GeomPix alignment module exploits geometric characteristics of circular and elliptical seals. It relies on a central pentagram positioning marker and the radial fan-shaped pixel density distribution to achieve high-precision alignment, significantly improving the accuracy and stability of image correction. In the verification stage, a dual-stream architecture combining EfficientNet and Streamlining Vision Transformer (SViT) is employed to extract local detail features and global structural information. EfficientNet performs efficient multi-scale feature extraction via compound scaling, capturing textures, edge contours, and subtle defects. SViT models global dependencies through self-attention mechanisms and enhances feature learning with high-dimensional multilayer perceptrons and denormalization techniques, thereby improving verification accuracy. To improve generalization and reduce inter-domain discrepancies among seal datasets, a Data Distribution Adapter (DDA) and Gradient Reversal Layer (GRL) are incorporated. These components use adversarial training to support the seal authenticity classifier—comprising EfficientNet and SViT—in learning domain-invariant features. This approach enhances robustness and adaptability in diverse application scenarios.
Results and Discussions
Experimental results demonstrate that the integration of the dual-stream architecture—EfficientNet for local detail extraction and SViT for global structural representation—enables SealVerifier to significantly improve verification accuracy. On a custom Chinese seal dataset comprising 30,699 image pairs, SealVerifier achieved precision, recall, and F1 scores of 91.34%, 96.83%, and 93.57%, respectively, outperforming existing methods (
Table 3
). The incorporation of a DDA and a dual loss function further reduced distributional discrepancies across seal datasets using adversarial training, enhancing both recognition accuracy and generalization performance (
Table 4
). Under noise interference, SealVerifier maintained high verification accuracy, confirming its robustness and applicability in real-world scenarios (
Table 2
).
Conclusions
This study proposes SealVerifier, a dual-stream model for fully automated seal authenticity verification. A Chinese seal dataset with complex backgrounds is constructed, and nine-fold cross-validation confirms the method’s effectiveness. SealVerifier integrates DeARegNet for image enhancement and combines EfficientNet and SViT to capture both fine-grained details and global semantic features. To address the limitations of conventional Vision Transformer (ViT) models, high-dimensional multilayer perceptrons and denormalization techniques are introduced, improving the model’s capacity to learn complex features and enhancing generalization and robustness. A DDA and dual loss function are also incorporated to mitigate dataset variability, enabling stable classification performance across heterogeneous seal images. Experimental results show that SealVerifier achieves precision, recall, and F1 scores of 91.34%, 96.83%, and 93.57%, respectively, demonstrating its performance advantage in seal verification tasks. Future work explores high-precision alignment strategies for multi-view seal images to further reduce error and improve image correction accuracy under challenging imaging conditions.
Keywords:
Automatic seal verification
,
Dual-stream model
,
Transformer
,
Data Distribution Adapter (DDA)
YU Biao, WAN Shuilong, LIU Jin,
et al
. Classification and recognition of seal image based on Krawtchouk-RBF[J].
Microcomputer & its Applications
, 2014, 33(6): 44–47. doi:
10.19358/j.issn.1674-7720.2014.06.015
.
DING Shifei, SUN Yuting, LIANG Zhizhen,
et al
. Survey on Support Vector Machine algorithms in weakly supervised scenarios[J].
Chinese Journal of Computers
, 2024, 47(5): 987–1009. doi:
10.11897/SP.J.1016.2024.00987
.
LIN Chaoqun, WANG Dahan, XIAO Shunxin,
et al
. Offline handwriting verification based on Siamese network and multi-channel fusion[J].
Acta Automatica Sinica
, 2024, 50(8): 1660–1670. doi:
10.16383/j.aas.c230777
.
CAI Yini, CHEN Zhengming, and NI Jiajia. A seal image verification system for identification and traceability[J].
Computer and Modernization
, 2022(5): 102–107. doi:
10.3969/j.issn.1006-2475.2022.05.016
.
赵凤, 耿苗苗, 刘汉强, 等. 卷积神经网络与视觉Transformer联合驱动的跨层多尺度融合网络高光谱图像分类方法[J]. 电子与信息学报, 2024, 46(5): 2237–2248. doi:
10.11999/JEIT231209
.
ZHAO Feng, GENG Miaomiao, LIU Hanqiang,
et al
. Convolutional neural network and vision transformer-driven cross-layer multi-scale fusion network for hyperspectral image classification[J].
Journal of Electronics & Information Technology
, 2024, 46(5): 2237–2248. doi:
10.11999/JEIT231209
.
© 2018 JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY
京ICP备20021838号-8
Institute of Electronics, Chinese Academy of Sciences, P.O.Box 2702, Beijing
100190
Tel:010-58887066
Fax:021-64253812
Email:
[email protected]
Supported by:
Beijing Renhe Information Technology Co. Ltd