I think there are too many people throwing around that wasps can recognise human faces for something that has only been confirmed in one wasp species (and not even the species people usually seem to bring up)
Northern paper wasps (Polistes fuscatus) have been found to process the faces of other wasps as a whole, rather than just a collection of individual parts. This is called holistic processing, and it's the same way humans typically process each other's faces. This has been tested in a couple of other Polistes species and they did not process faces in the same way. This is very cool for Northern paper wasps! But crucially, processing each others' faces this way does not mean they process human faces the same. Recognising one another aids them due to their specific social dynamics, but recognising humans wouldn't present the same evolutionary pressures. In one study, their holistic processsing didn't even extend to another paper wasp species, but recognition of human faces has not been tested in paper wasps so we can't say one way or the other even if it looks unlikely
However, it has been tested in other species! Common yellowjackets (Vespula vulgaris) and Western honeybees (Apis mellifera) were capable of discriminating between human faces (although they had to be taught to do so as they probably don't do so naturally) and it seems they also have some capacity for holistic processing. Nevertheless, I feel like I see paper wasps brought up more often than yellowjackets when this fact comes up
There's a lot that still needs studying on this topic, and what we do have points to some really interesting hymenopteran abilities that are not found in many other animals, but it does frustrate me seeing these things exaggerated and overgeneralised to all wasps/Hymenoptera and then presented as facts when there simply isn't evidence for that yet. I love wasps and I typically see this brought up to endear people to them, which I respect, but spreading misinformation for a 'good cause' is still unhelpful
Tibbetts et al. (2021) 'Individual recognition is associated with holistic face processing in Polistes paper wasps in a species-specific way'
Sheehan and Tibbetts (2011) 'Specialized Face Learning Is Associated with Individual Recognition in Paper Wasps'
Avarguès-Weber et al. (2017) 'Recognition of human face images by the free flying wasp Vespula vulgaris'
Dyer, Neumeyer and Chittka (2005) 'Honeybee (Apis mellifera) vision can discriminate between and recognise images of human faces'
Avarguès-Weber et al. (2018) 'Does Holistic Processing Require a Large Brain? Insights From Honeybees and Wasps in Fine Visual Recognition Tasks'