For the binocular recognition technology,the aluminum alloy wheel workpiece was used as the re-search object,and the measurement program was designed by MATLAB,and the dimensional measurement of the aluminum alloy wheel workpiece was completed. Firstly,the calibration coefficient is obtained quickly and accurately by Zhang Zhengyou calibration method,and then,the histogram equalization,median filtering,auto-matic threshold segmentation,Canny edge detection,open operation and other image preprocessing are carried out on the hub image,and the distortion correction and polar line correction are performed on the image. Fi-nally,the three-dimensional coordinates are obtained by completing the stereo matching,and the dimensions of the hub are obtained by fitting calculation.