That’s important Davila, I have personally had to sign a consent form to have my photos and information about a study taken. It is important the individuals do consent for this.
You wouldn’t want someone to come up another time and say they were coerced. And for publication, this consent usually asked for.