3D head pose estimation using monocular vision