I'm always surprised how few people know as pedestrians to look at me, the driver and not my car. Some don't even look at the car. I developed a habit of looking for their gaze and if they don't look back, assume they're not fully aware and just am more cautious.
This works because I, as a human, know this and can compensate when they just rush the crosswalk without being fully aware of their surroundings.
How do you do that with a machine?