Generative Affine Localisation and Tracking