Skip to content
MetroEye

MetroEye

Preventing incidents before they happen

Created on 28th February 2026

•

MetroEye

MetroEye

Preventing incidents before they happen

The problem MetroEye solves

Recently, the West Bengal government discussed investing ₹25.34 crore to prevent suicide attempts on legacy metro lines (e.g., the Blue Line in Kolkata).

In India, there are a total of 21 cities with operational metros, comprising 46 lines across the country. Approximately 35–45% of these are legacy metro lines where Platform Screen Door (PSD) integration hasn't been implemented due to high costs (the Indian Prime Minister has already rejected the proposal by the West Bengal state government).

Consequently, the government is now moving toward AI safety intelligence, as it currently appears to be the most feasible solution to reduce suicide attempts. However, the implementation approach discussed by the government isn't entirely feasible either. This approach demands completely new infrastructure, which is the reason for the high cost of ₹25.34 crore for a single line and also takes a lot of time to implement.

To address this, we are building MetroEye, an AI safety intelligence layer for existing metro infrastructure. It will reduce costs by more than 70%.

Challenges we ran into

  1. Absence of Real-World Suicide Behavior Data

One of the biggest challenges was the complete lack of publicly available datasets related to suicidal behavioral patterns in metro environments. Traditional ML approaches depend heavily on labeled datasets, but collecting such data is ethically sensitive and practically impossible.

To overcome this, we designed a rule-based risk scoring system that works as a shadow pilot. Instead of relying on pre-existing datasets, the system analyzes behavioral signals such as proximity to the platform edge, dwell time, pacing patterns, posture changes, and facial emotion indicators.
This approach allowed us to generate anonymized behavioral data and create pseudo-labels, enabling future machine learning model training while maintaining privacy and ethical compliance.

  1. Real-Time Video Processing Performance Bottleneck

Initially, processing live RTSP camera streams directly on a single server resulted in very low FPS (5–8 FPS), high detection latency, frame drops, and nearly 100% CPU utilization. This made real-time intervention impossible.

We solved this by redesigning the architecture into a multiprocessing pipeline where each camera runs in an isolated process. Frames are transferred using shared memory buffers instead of serialization, significantly reducing overhead.
Additionally, smart frame sampling was introduced where computationally heavy tasks like emotion detection run only at intervals while motion tracking runs continuously. This improved performance to nearly 30 FPS with sub-second latency.

  1. High False Positives from Normal Passenger Behavior

Many everyday passenger actions such as waiting near the platform edge, checking for incoming trains, or standing with family members were incorrectly triggering risk alerts.

To address this, we implemented multi-factor contextual analysis, including:

luggage and object detection,

group/social proximity tracking,

train arrival awareness,

movement pattern differentiation (waiting vs pacing),

posture and gaze direction analysis.

social isolation

hand to head posture

This significantly reduced unnecessary alerts while maintaining high-risk detection reliability.

  1. Need for Immediate and Non-Invasive Intervention

Detection alone was insufficient; the system needed to respond instantly without causing panic among passengers.

We implemented a multi-level AI-powered public announcement system using low-latency text-to-speech. Gentle multilingual announcements are triggered for moderate risks, while critical cases activate pre-cached emergency audio and driver/control-room alerts.
A hybrid local-audio + backend alert mechanism ensured intervention latency below milliseconds even during network failures.

  1. Emotion Recognition Instability and Compute Cost

Running emotion recognition on every video frame caused inconsistent predictions and heavy computational load, slowing down the entire pipeline.

We solved this using interval-based emotion processing with temporal smoothing, where emotions are analyzed periodically and validated over a time window instead of single frames. This removed transient false emotions and reduced computational cost by nearly 90%, while improving detection consistency.

Tracks Applied (1)

ElevenLabs

MetroEye x ElevenLabs: Voice-Powered Emergency Intervention The Integration: MetroEye uses ElevenLabs Text-to-Speech API...Read More
Major League Hacking

Major League Hacking

Discussion

Builders also viewed

See more projects on Devfolio