A new type of automatic verification apparatus based on image recognition is put forward in this paper. Data are acquired by CCD camera through digital image processing. The length reference is provided by the precision grating. Verification and data processing are completed by computer. The apparatus has features of high accuracy and precision, good reliability, efficiency and convenience in operation. The errors caused by artificial factors are lowered.