A comparison of approaches for person re-identification