In the production process of strip steel, detecting wave edge in real time is quite important, otherwise it will contribute to the abandonment of strip steel materials. At this stage, an automatic identification system based on machine vision which aims to figure out the wave edge of strip steel is gradually being put into use. However, it is shown that the complicated environment of the factory makes it difficult to reach its goals. In order to solve this problem, this paper designs a motion strip steel target detection algorithm based on single image rapid defog and morphological interframe difference. Firstly, based on the physical model of foggy image degradation, using a simple mean filtering to estimate the environmental light and global atmospheric light, thus the removal of water mist in video screen is realized. Then, using interframe differential method to extract the motion strip steel in the image, and the noise is filtered by mask segmentation and morphological operator. At last, the experimental results show that the optimization algorithm is more accurate and effective compared with the traditional motion target detection algorithm.