Here’s a tongue in cheek suggestion; we require all citizens of southeast Florida who live with two miles either side of the Brightline tracks to begin wearing dog collars capable of delivering a mild electric shock. When a train approaches a crossing or pedestrian crosswalk; an underground electrical wire is activated and anyone attempting to cross will receive a mild shock.
This works to keep dogs in their yards; perhaps it would work to keep clueless people off the tracks. 😉
Curt