A measurement based on image process is proposed for detecting the hole on a barrel. The barrel image is separated from background with the image edge detection technology. The different detection operators are compared and the sobel operator is used for edge detection. The actual space position of the hole on barrel is computed by circle detecting method. Gradient hough transform is used for detecting circle position information, including circle radius and two dimension coordinates. The stepping motor drive system is consists of a control card, stepping motor drive units and two two-phase hybrid stepping motors. Automatic positioning is achieved through stepping motor drive system.
展开▼