Though it's not bad for improving awareness about railway safety, it won't be an efficient way to actually prevent people from trespassing rail tracks.
That's because it's impossible to deploy these men at all of the sections.
As an eternal measure, there must be fence along tracks.