A survey of advances in vision-based vehicle re-identification