3D model generation and pose estimation with keypoint features