In order to quickly and accurately identify the blocky workpiece position in the production line ,a method based on laser 3 D visual inspection is proposed .For the captured images , a fast median filtering algorithm is used to suppress the speckle noise and then a fast separation and refinement algorithm of the crossover laser traces is presented .On the template matching process , two kinds of distance measure to improve the image registration rate are defined.The experimental resulsts show that the method is not only of higher recognition rate but also of faster speed , at the same time ,wh...