Colors by group
Using the number of groups here:
Pedestrian.cpp
hash_fn(key) % 255
generates colors which are very close to each other. For instance group 0, 1, 2, 3 all will have +- the same color.
We can try to do something like
Pedestrian.cpp
hash_fn(key+100) % 255
What do you think?