Accurate keyframe selection and keypoint tracking for robust visual odometry