On the basis of studying the basic theory of anisotropic diffusion equation, this paper focuses on the application of anisotropic diffusion equation in image recognition film production. In order to further improve the application performance of P-M (Perona-Malik) anisotropic diffusion model, an improved P-M anisotropic diffusion model is proposed in this paper, and its application in image ultrasonic image noise reduction is discussed. The experimental results show that the model can effectively suppress the speckle noise and preserve the edge features of the image. Based on the image recognition technology, an image frame testing system is designed and implemented. The method of image recognition diffusion equation is used to extract and recognize the multilayer feature points of the test object according to the design of artificial neural network. To a certain extent, it improves the accuracy of image recognition and the audience rating of film and television. Use visual features of the film and television play in similarity calculation for simple movement scene segmentation problem, at the same time, the camera to obtain information, use the lens frame vision measuring the change of motion of the camera, and use weighted diffusion equation and the visual similarity of lens similarity calculation and motion information, by considering the camera motion of image recognition, effectively solve the sports scene of oversegmentation problem such as fighting and chasing.