Research on Measurement of Mechanical Parts Based on Vision