In the production process of OLED, the test equipment of each process section is an important guarantee to improve the output. In this paper, a defect detection device for OLED panel is developed, including an electrical control unit, an image acquisition mechanism, a light source assembly and an industrial computer. Output the detection results by analyzing and processing the acquired images. The system has good real-time performance, high efficiency and strong detection ability in industrial field application. It solves the technical problems such as long detection time, low efficiency and strong subjectivity in manual detection of OLED panel defects.