From person to group re-identification via unsupervised transfer of sparse features