Some people call this “face blindness,” I knew somebody who identified as face-blind and he explained it caused a lot of social difficulty for him.
Mentioning mostly in case you haven’t heard the term, I guess sharing this info can help so they don’t take it personally.