Moving target detection (MTD) is one of the emphases and difficulties in the field of computer vision and image processing. It is the basis of moving target tracking and behavior recognition. We propose two methods are improved and fused, respectively, and the fusion algorithm is applied to the complex scene for MTD, so as to improve the accuracy of MTD in complex and hybrid scenes. Using the main idea of the three-frame difference image method, the background difference method and the interframe difference method are combined to make their advantages complementary to overcome each other’s weaknesses. The experimental results show that the method can be well adapted to the situation of periodic motion interference in the background, and it can adapt to the situation of sudden background changes.