A 6DOF pose measurement method for metal casts object based on stereo vision sensor