At present, the measurement of irregular workpiece is mainly carried out by coordinate measuring machine, but this kind of equipment is expensive and inconvenient to operate, and can't be applied to soft objects. This paper proposed a 3D surface reconstruction method based on binocular vision to imitate the structure of human eyes, and then measured various sizes on the point cloud model. The reconstruction method based on binocular vision is fast, efficient and lowcost. Then, the 3D coordinates of the feature points in the world coordinate system are solved by the reprejectImgeTo3d function to generate the point cloud. The final point cloud model has rich surface texture information and can completely reflect the 3D size information of the object.