With the rapid development of TFT-LCD technology,manual detection methods cannot guarantee the detection efficiency and detection accuracy.Aiming at this problem,a TFT-LCD defect detection system based on ma chine vision is presented in order to satisfy the demand of industrial automation.The system establishes the area array CCD image acquisition platform.The detection algorithm includes extraction of ROI image,Gabor filtering,adaptive two valued attributes,connected region extraction of defect,feature calculation of defect and mark the outline steps,the final outcome.The experimental results show that the recognition rate of the detection system for point defect and the line defect is very high,and the recognition rate for the visible Mura defect in face is good.A coupling technique for defect detection proposed in this paper,according to the different kinds of the same kind of detection technology,realizes simple,convenient and accurate defect detection,and can be applied to the industrial automation.