Industrial lens testing device and method on the basis of liquid crystal display panel

The present invention provides an industrial lens testing device and method on the basis of a liquid crystal display panel. The device comprises an upper computer, an image generator and a liquid crystal display panel. The test pattern data output end of the upper computer is connected with an image generator, the image generator is configured to allow the liquid crystal display panel to display the test pattern, the displayed test pattern is imaging on the industrial lens, and imaging parameters of the industrial lens are obtained by the upper computer from an industrial camera and are configured to compare with standard imaging parameters. The method provided by the invention comprises: the upper computer is configured to generate a plurality of test patterns; the liquid crystal display panel is configured to display the test patterns one by one, and the industrial camera is configured to shoot each test pattern; the upper computer is configured to extract lens imaging parameters from the image data of each test pattern; and each imaging parameter of the tested industrial lens is respectively compared with corresponding standard parameters. According to the invention, the steps are reduced that different performance parameter tests of an industrial lens need corresponding different standard test cards, and the test process is simplified.