The invention discloses a shaft hole part positioning method based on a cross
laser device and
machine vision in the automatic field. The method comprises steps that a), contour
characteristic point detection, cross
structured light is employed, and four points of a space circle are acquired for one time; b), detection on a part end surface normal vector, the normal vector of the space circle is calculated according to the four points; c), detection on a circle center and a
radius of the space circle, a partial coordinate
system of the space circle is established according to the normal vector, dimension reduction
processing on the profile of the space circle is carried out in the partial coordinate
system, a non-linear
recursion algorithm is further employed, and the circle center and the
radius of the space circle in the partial coordinate
system are acquired; and d), detection on position and attitude under a
robot coordinate system, the normal vector and the position of the circle center of the space circle are transferred to the
robot coordinate system, and the position, the attitude and the
radius of the space circle under the
robot coordinate system are acquired. The method is advantaged in that real-time clamp adjustment and path planning are convenient for a robot, and quick and accurate moving and mounting can be realized.