Real-time camera pose estimation for sports fields