Abstract:To improve the measurement accuracy of the ultra-thin magnetic car phone holder iron piece in mass production, This paper presents using binocular vision technology to locate the target area, and introduce saddle point method to achieve high precision measurement of thickness. Firstly, HALCON-based stereo calibration method is proposed to realize stereo correction of the image of the magnetic sheet. Subpixel template matching with scaling and pyramid algorithm are presented, magnetic sheet feature points are extracted accurately. Secondly, the stereo matching of feature points can be completed quickly according to gray-value-based template matching using the NCC(Normalized Cross-Correlation). The binocular parallax principle and coordinate affine transformation are combined to complete reconstruction of feature points. Finally, the magnetic sheet is measured with high precision by the space curve fitting formula and the dot product operation. The experimental results show that the error of the measurement radius is less than 0.1mm, the error rate is less than 1%; the error of the thickness is less than 0.1mm, the error rate is less than 6%, which can effectively locate and measure ultra-thin magnetic sheets.