In view of the limitations of manual detection of gold finger defects,the automatic detection of gold finger defects is proposed by image processing technology. First,we preprocess the collected gold finger images,and then extract the defects and analyze the geometric characteristics of the enhanced images. The experiment proves the effectiveness of the algorithm.