The invention discloses a mixed feature superposition-based cross attention refinement target detection method, which comprises the following steps of: A, inputting an
RGB image and a
mask mark GT image of an original image, and automatically
cutting the resolution of the input image; b, inputting a
residual neural network (Resnet) to obtain basic features of different levels of the
RGB image; c, adopting a position attention mechanism to obtain a feature map fused with attention weights; d, executing a multi-task strategy, and performing independent
feature extraction on the feature map by using two convolutional
layers for salient target detection and
edge detection; e, executing a bidirectional refinement strategy, and carrying out iteration refinement on feature maps output by different levels of the two detection tasks in the step D for multiple times; f, executing a U-shaped
network segmentation strategy according to a feature map obtained by up-sampling and cascading different level features to obtain a predicted
saliency map and an edge map; g, adopting binary
cross entropy loss, calculating a
loss function by using the true value graph and the prediction graph, and performing back propagation to correct
model parameters; and H, repeatedly executing the steps B to G, correcting the model until a set round is finished, and outputting a final model. According to the method, the saliency target segmentation performance in a low-contrast scene can be remarkably improved, and the problems of partial missing and error detection of the saliency target are solved.