Group photo key

I’m looking for some step-by-step instructions or a tutorial on how to create a key for the participants in a group photo. Like this example from Creating an outline of a group photo – marginalia