The invention discloses a document image tampering detection method based on text aggregation and multi-frequency enhancement, and relates to the technical field of
computer vision,
image forensics and
deep learning, and the method comprises the steps: obtaining a to-be-detected original
RGB image, carrying out the multi-mode
decomposition of the to-be-detected image, and obtaining a
DCT coefficient graph, a corresponding quantization table, a high-frequency view and a low-frequency view; and inputting the original
RGB image, the
DCT coefficient graph, the corresponding quantization table, the high-frequency view and the low-frequency view into a document image tampering detection model for
processing, and outputting a final detection result. The document image tampering detection model carries out
feature dimension reduction and preliminary text aggregation through the vision-frequency fusion module, carries out coding and fusion through the multi-frequency feature extractor, generates comprehensive frequency features, carries out
wavelet transform decoupling through the direction
perception frequency decoupling enhancement module, and outputs tampered area masks based on the decoding prediction module. According to the invention, hidden tampering artifacts can be revealed more comprehensively.