Skip to content
MargRakshak AI — Roadside Hazard Detection NetworkPre-pilot · Corridor New DelhiSpec v3.0 · Build 2026.11
MRAI logo
MRAI
by UniWebs
All clear
14ms
UniWebs · MRAI · MargRakshak AI
Roadside crash & hazard detection

A crash on an empty road shouldn't wait for a passer-by.

MRAI is a small node on a lamp post. Cheap sensors watch the lane all the time; when something goes wrong, the camera and AI wake up, check, and alert a human operator's phone — in about a second on the bench.

≈1.2 s
Sensor → alert
Measured · v1 bench
₹8k
Main node / year
Indicative
0
Video uploaded
By design
2×
Runner-up finishes
Competitions
Live node · tap a part
All clear
HC-SR04 distance

Pings the lane 20 times a second. A sudden drop wakes the camera.

180 cm
Simulated reading · MRAI-DEL-01
Sends a real phone alert
Real-Time Incident Stream
last 4
14:22:10Pedestrian crosswalk light triggered at Node 01.
14:15:47Ambient AQI drift detected — recalibrating sensor.
14:09:03Vehicle count threshold surpassed for lane B.
14:05:32Minor speed warning issued — 68 km/h in 50 zone.
§ 01 · Incident dispatch

From a distance drop to a ringing phone.

drag the slider or press play
One crash · step by step
T+0 ms
Timings: v1 bench ≈1.2 s measured · steps indicative
§ 02 · How it really works

The AI sleeps until it's needed.

sensor-gated keyframe inference
Tier 0
Always watching

ESP32 reads distance, rain and smoke 20 times a second on milliwatts.

20 Hz · always on
Tier 1
Trigger

A sudden distance drop or smoke spike raises a wake signal.

< 10 ms
Tier 2
Burst capture

The Pi wakes the camera and grabs 3–5 frames.

≈ 80 ms
Tier 3
Check & alert

YOLOv8n checks the frames at 2–4 fps and confirms or dismisses.

≈ 400 ms

Why it matters: a bare Pi 3B can't run continuous video AI. Gating means it doesn't have to — and the node uses a fraction of the power. Timings marked indicative are design targets, not field measurements.

§ 03 · Bench vs. road

What we built, and what a city would buy.

PartBench unit · v2 (built)Road-ready unit (target)
ComputeRaspberry Pi 3B + ESP32Pi 4/5 + Coral or Hailo-8L AI chip
Video AI2–4 fps, triggered bursts20+ fps continuous
DistanceHC-SR04 (indoor)JSN-SR04T waterproof
EnclosureOpen breadboardIP66 sealed box
PowerMains adapter12 V LiFePO4 + solar panel
RadioLoRa SX1276LoRa + 4G on the main node
Parts cost≈ ₹8,000 (indicative)≈ ₹28,000 (indicative)
§ 04 · Who it's for

Built for cities and for companies.

For governments · B2G
Corridor safety for city roads
  • Start with a supervised corridor pilot — Wazirabad Marg, 10 nodes.
  • Alerts in a standard format (CAP) for city control rooms and 112.
  • Human verifies every alert before anyone is dispatched.
  • No video stored — fits India's DPDP Act 2023 by design.
For companies · B2B
Private sites, toll plazas, logistics yards
  • One-time price per node, with support and alert routing.
  • Incident records and CSV exports for safety audits.
  • Simple API to plug alerts into existing systems.
  • Supervised private-site trial before any contract.
Main node
₹8,000 / year
The brain · LoRa + internet gateway · one-time
Indicative licence price
Satellite node
₹5,000 / year
Sensors + radio · reports to a main node · one-time
Indicative licence price
Starter pilot · 4 nodes
₹39,000
1 main ₹8k + 3 satellites ₹15k + 4 enclosures ₹16k · one-time · indicative
§ 05 · Honest status

Where MRAI actually stands.

Software platform

Live. Node registry, incident triage, CSV exports, map and phone alerts all work.

Hardware

v2 built and bench-tested, then taken apart. Paused for time and funding.

What we need

Funding for one road-ready node and a consenting trial site to collect real evidence.

§ 06 · Questions

What people ask us.

Is there a working device right now?

Prototype v2 was built and bench-tested, then taken apart for lack of time and funding. The software platform is live; what you see here runs on simulated readings until a node is rebuilt.

A Raspberry Pi 3B only does 2–4 frames a second. Isn't that useless?

Not with sensor gating. The cheap sensors watch the lane all the time; the camera and AI only wake when the distance sensor sees something wrong, and then check a short burst of frames. That's how roadside units save power. A road-ready unit adds an AI chip (Coral or Hailo) for continuous video.

What happens if the internet goes down?

Detection is on the node. Alerts hop over LoRa radio to the main node, and packets are stored and sent again once the link returns.

Does it call the ambulance itself?

No. MRAI informs a human operator, who checks and then calls 112. Automatic dispatch is out of scope until an authorised trial proves it.

What about privacy?

No video leaves the node. Only the event — type, time, place, sensor readings — is sent. No faces, no number plates.

Who is behind it?

UniWebs, a student-run engineering studio founded by Kavy (software) and Saksham (hardware), both in Class 11. MRAI finished first runner-up twice in competition.

UniWebs
Help us put one node on a real road.