I have people all the time sayng hello to me, but I dont recongnize them or I dont see them

After that they go speak to me: why do I dont greet me?
Me: Ooops! Im sorry... I didnt see you