Interesting - I did try to find more information about how these work, since I apparently did not understand how they function - but everything I could find mentions "facial recognition algorithm" as the mechanism for determining a person-passport match.
Examples - https://en.wikipedia.org/wiki/EPassport_gates
https://intranet.birmingham.ac.uk/student/international/news...