Are you seriously claiming that there's no way to show your interest in somebody without your approach qualifying as harassment?
Of course there is. Come on. Showing your interest starts with things such as eye contact, smiling at somebody, stuff like that. And if there's no response, move on. If there is, talk to her. It's not easy for us geeks, I know, but that doesn't mean it's impossible.