Video cameras have been fitted to world famous locomotive Flying Scotsman to catch trainspotters who trespass on tracks.

The measure was taken after a spate of incidents involving people climbing over trackside fences to get as close as possible to the steam engine.

Overeager rail enthusiasts are causing Flying Scotsman and other trains to slow down or even stop due to fears that a member of the public will be hit.

On Sunday, 56 regular passenger trains were delayed by trespassers as the locomotive travelled across the East Midlands.

British Transport Police (BTP) released a photograph of two people standing next to a 125mph line in Elford, Staffordshire and asked anyone who recognises them to come forward.

Two people standing next to a 125mph train line in Elford, Staffordshire to catch a close glimpse of Flying Scotsman (British Transport Police/PA)Two people standing next to a 125mph train line in Elford, Staffordshire to catch a close glimpse of Flying Scotsman (British Transport Police/PA)

Simon Baylis, communications manager of the National Railway Museum, which owns Flying Scotsman, told the Press Association: “It’s a big priority for us to make sure things run safely.

“We’re not prepared to accept the risks we saw over the bank holiday weekend.

“One of the measures brought in is cameras. They can capture evidence which can be used for prosecutions.

“It’s partly a deterrent, but can be used for prosecuting people too.”

BTP officers are also being deployed on all mainline journeys by Flying Scotsman to make it easier to catch offenders.

READ MORE: The steam team: Flying Scotsman and Forth Bridge unite 

CrossCountry train drivers have expressed concern about the dangers of people standing inside boundary fences.

One driver posted on Twitter: “Driving the train ahead of Flying Scotsman was probably the most stressful experience I have ever had to endure in nearly 10 years on the railway and not one I wish to repeat any time soon.

Flying Scotsman crosses Forth BridgeFlying Scotsman crosses the Forth Bridge (Jane Barlow/PA)

“At one point there were no less than eight Cross Country trains at a stand (not moving) in areas where we’d ordinarily expect to be zipping by at 125mph because of people believing it’s okay to trespass on the railway.

READ MORE: Flying Scotsman makes special trip to honour former owner 

“If a person trespassed at Heathrow and stood next to a runway to take pictures, the airport would be closed, the planes would be diverted and they would be arrested.

“If a person set up their tripod on a motorway, traffic would stop and the person would be arrested.”