Abstract:A visual surface inspection approach using edge detection and morphological processing algorithm is presented. Median filter, edge detection segmentation and morphological operation algorithms are used to reduce noise, extract edges, and extract morphological features respectively. Finally, a classifier is designed to judge the type of defects. Experimental results show that the proposed method can not only identify detects effectively, but also obtain the type and location of defects accurately.