Case study · Railways · AI and IoT
Automating Manual Level Crossing Gates with AI, IoT, Cameras and Sensors
The locking arrangements on level crossing gates are still manual, which sometimes leads to accidents that harm people and damage the machinery. The aim was to automate the process and make it simpler.
- Two cameras and sensors per crossing
- Around 65 meters of coverage
- Automatic alerts to the rescue team

The Challenge
01
Unavailable Hardware
Automation needed special hardware that could run the AI system and handle all the processing the procedure required, but it was unavailable. Finding material that could support the whole system was difficult.
02
Unavailable Motors
Motors play a central role in an automated system, and finding the right ones to drive it efficiently was a major task in itself.
03
Connectivity Issues
Connecting the AI system, camera and motors in one working circuit was the biggest obstacle.
04
Circuit Failures
Building a correctly working circuit meant working through broken circuits, connection shortages and many other failure scenarios.
The Solution
Technology stack: AI and IoT.
Cameras and sensors as the base
The goal was a system that takes over the manual work and is convenient for the organization to use. Cameras and sensors form the base of the automated system.
Gates that stop when they sense activity
After refining the approach, the team built the system with two cameras and sensors on the pillars on both sides of the level crossing. They track vehicle activity and control the gates accordingly, covering around 65 meters from the gates. If the system senses any activity while the barrier is closing, the barrier stops midway, so the gates operate safely without human interaction.
Alerts for accidents and outages
To handle accident edge cases, the system checks whether vehicles are moving or stationary. If a vehicle stays stationary for too long, it alerts the rescue team and activates the sirens. It also alerts the rescue team automatically if there is no electricity or the barrier is damaged.
“The sole motive of this system was to make the manual work less and reduce the chances of accidents that can happen in a single moment of negligence. All in all, it is an automated version of level crossing gates to ensure safety and reduce human intervention in the lifeline of the nation.”
Planning something similar?
See the services behind these results.