Detecting a cars arrival at an intersection has been a solved engineering problem for many decades (pressure plates 60+ years ago, induction loops today). It’s a much harder problem for a 150lb pedestrian with a small footprint who isn’t magnetic. The other challenge with induction loops is for cyclists on higher end bikes with carbon frames/rims.