The current template-matching algorithm can match the target workpiece but cannot give position and orientation of irregular workpiece. Aiming at this problem, paper proposes a for workpieces based on contour phase difference. By this, one firstly gain profile curve by measuring its radius in orderly fashion then, calculate similarity template phase-shifting finally, compute rotation measure be...