The invention relates to a depth counterfeit
image detection method fusing depth and width learning, which comprises the following steps of: firstly, converting an image to be detected into a
gray level image, segmenting the
gray level image into two groups of image blocks, extracting a centralized
frequency domain magnitude spectrum of each image block, applying an attention mechanism to the centralized
frequency domain magnitude spectrum, and carrying out channel connection on the two groups of image blocks to obtain a primary feature; secondly, constructing a channel
convolution self-encoding module, performing
feature fusion on the primary features by using an
encoder of the pre-trained channel
convolution self-encoding module to obtain two intermediate features, and respectively taking the two intermediate features as inputs of a
feature mapping stream and a feature enhancement
stream to obtain two mapping features and an enhancement feature; and finally, constructing three classifiers according to a width learning
system principle, and carrying out weighted average on output results of the three classifiers to obtain a final detection result. According to the method, the attention mechanism is applied to the image block, the region with obvious tampering traces can be concerned from
global information, data and time required by model training are less, and both accuracy and efficiency are realized.