When they are eye-fucking you or licking their lips while giving said friendly greeting... yeah, it's harassment.
I was seriously going to give the guy at 50 seconds a pass because the street was relatively empty and he sounded genuinely surprised/polite about greeting her, then it was like he realized she wasn't into…