This article discusses how to apply sensor mixture, modern image handle and computer vision technology to analyse and to deal with the feature messages of the ground work piece surface flaw, and computer how to apply the filtered feature messages to identify these flaws. Result shows that this system can find the defect work piece real time from the images for testing.