to recognize sb without knowing them well
know sb by sight
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición