I sometimes do the "walk up to the lane and wait" thing, but I always look up and make eye contact with the driver to communicate that I know they exist and I'm not walking out in front of them. And when I'm driving and someone is walking up to my lane, the presence of their gaze is what I use to decide whether to continue (cautiously) or slow down and be ready to stop.
I know that CV as a field has pretty advanced gaze/attention detection (e.g. see faceid), but I wonder if it's actually a part of self-driving car tech yet.