Unsupervised domain adaptation in homogeneous distance space for person re-identification