← Latest papers
🤖 machine learning

Smart Railway Obstruction Detection System using IoT and Computer Vision

This paper presents NETRA, a cost-effective, internet-independent IoT system using sensor fusion and edge AI on Raspberry Pi platforms to detect railway obstructions and wildlife with 95% accuracy and 75% lower deployment costs than existing solutions, successfully alerting drivers within 2.4 seconds via LoRa communication.

Original authors: Pravin Kumar, Mritunjay Shall Peelam, Ramakant Kumar, Sanjay Kumar, Vinay Chamola

Published 2026-05-12
📖 4 min read☕ Coffee break read

Original authors: Pravin Kumar, Mritunjay Shall Peelam, Ramakant Kumar, Sanjay Kumar, Vinay Chamola

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a railway track running through a dense forest. It's a dangerous place for two reasons: wild elephants might wander onto the tracks, or a saboteur might place a heavy rock or iron bar there to derail a train. The challenge is that these tracks are often in remote areas with no internet, no power grid, and no security guards.

The paper introduces NETRA, a smart, low-cost "guard dog" system designed to solve this problem. Here is how it works, broken down into simple parts:

1. The Problem with Current Guards

Currently, Indian Railways uses a system called "Gajraj" (named after the elephant god). Think of Gajraj as a very expensive, high-tech security fence made of fiber optics. It works well, but it costs $1,000 per kilometer. Because it's so pricey, they can only afford to put it on 20 out of 101 elephant paths. Also, it sometimes screams "Wolf!" when it's just the wind blowing a leaf, causing false alarms.

2. The NETRA Solution: A Smart, Two-Step Check

NETRA is like a clever, budget-friendly security guard that doesn't need the internet. It uses a "two-step verification" process to avoid wasting energy and to be sure an intruder is actually there.

  • Step 1: The Motion Sensor (The "Ears")
    The system starts with a PIR sensor (like the ones that turn on porch lights). It listens for movement. If it hears nothing, it goes back to sleep. If it hears something, it wakes up the next part.
  • Step 2: The Ultrasonic Sensor (The "Eyes" that measure)
    Before turning on the expensive camera, the system uses an ultrasonic sensor (like a bat's sonar) to measure the distance to the object.
    • The Logic: If the PIR sensor hears a rustle (maybe a bird or wind) but the ultrasonic sensor says, "Hey, there's nothing there," the system ignores it. This stops the "false alarms."
    • The Threshold: The system only turns on the camera if it is 65% sure something is actually there. This is the "probabilistic fusion" mentioned in the paper.

3. The "Smart Camera" (The Brain)

Once the system is sure something is there, it snaps a photo and uses a tiny computer (a Raspberry Pi) to figure out what it is. The paper tested two versions of this "brain":

  • The Budget Brain (Raspberry Pi Zero): This is a tiny, cheap computer ($22). It uses a simple trick: it guesses an animal is an elephant if it looks big enough in the photo.
    • The Catch: It gets confused easily. It often mistakes a cow for an elephant (or vice versa) because they look similar in size from a distance. It only got about 15% of elephants right.
  • The Pro Brain (Raspberry Pi 4): This is a more powerful computer ($55). It uses a sophisticated AI model (YOLOv5) that was specifically trained to recognize elephants, humans, and rocks.
    • The Result: It got 83.5% of elephants right. This is good enough to be used in the most dangerous areas.

4. The Message in a Bottle (LoRa)

Once the system identifies a real threat (like an elephant or a rock), it doesn't need Wi-Fi or 4G to send an alert. It uses LoRa, which is like a long-range walkie-talkie.

  • It sends a signal up to 1–2 kilometers away to a receiver on the train.
  • The train driver gets an alert in just 2.4 seconds.
  • In tests, this message delivery worked 100% of the time.

5. Why This is a Game-Changer

  • Cost: The whole system costs about $247 per kilometer. That is 75% cheaper than the current Gajraj system.
  • Battery Life: Because the camera only turns on when it's almost certain something is there, it saves a massive amount of power. The system can run on solar power for days without needing a charge.
  • Versatility: Unlike other systems that only look for elephants, NETRA can spot humans trying to sabotage the track or rocks blocking the way.

The Bottom Line

NETRA is a "set it and forget it" system. It sits quietly on the side of the track, using cheap sensors to listen and measure. It only wakes up its "brain" and "camera" when it's sure a real danger is approaching. It then sends a quick, reliable radio message to the train driver to hit the brakes.

The paper tested this in a forest environment and found it could detect 95% of real intrusions while making zero false alarms (it didn't scream "danger" when there was none). While the cheap version struggles to tell elephants from cows, the slightly more expensive version works very well, offering a practical, affordable way to keep trains and wildlife safe.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →