Over time, the dog brain has evolved and can recognize human faces.
In a study where dogs were shown human faces, brain scans revealed an increase in activity in the temporal regions of the brain. The study also concluded that the dog brain is especially good at distinguishing between two different humans, even when both people are known to a dog.