This is something I haven't seen commonly, since people react with strangers less often (at least compared to America or Great Britain). However, if you wanted to say "excuse me miss/sir", what would you call them? Thank you!
This is a fascinating question, because how you choose your words can set the tone of a dialog! I think there are many ways to go about this, but off the top of my head,
すみません(が)literally means "I apologize [for bothering you] but ..." and as such it shows a decent amount of respect to the person you are talking to, which makes this a safe choice in all sorts of situations, in particular when you are going to ask for something.
失礼(ですけど)literally means "[I'm going to be] rude" and so the expectation is that you are going to ask for something that might be considered rude. e.g.,
失礼ですけど、ここは禁煙ですよ"excuse me, this is a non-smoking space." The word lacks the formality and proper respect, which makes it more useful when you want to be a little more confrontational, or you intend to get your way.
いやーis just a sound that shows a little bit of hesitation, like "Err", and it can be used to catch attention of somebody without conveying any real meaning. This is useful when you want to first see the other person's face before figuring out how to say something. Very handy when you are learning Japanese!
- Nouns like
お客様that describe a class of people can be used as an opening. This is not limited to talking to a stranger, but it labels the other person, so it can be used to talk to a stranger. The label sets the tone of the conversation to follow, so depending on that label, it conveys different meaning. So for example,
お客様would set the scene where the other person is a customer and thus you are a shopkeeper,
ボクwould set the scene where the other person is a kid and thus you are a senior and in a position of authority/strength.
ちょっとis like "Hey", so it's more casual. At the expense of formality and respect, it emphasizes friendliness and closeness. If used in a proper context, for example in a party with strangers, it conveys your intent that you want to befriend them. But in a different context, it might come across more like a cat-calling.
I'm sure there are more!