Selected work / Case study

D-SCAN: real-time driver alerts on an edge device

A computer-vision system that watches for drowsiness, yawning, distraction and a blocked camera, and responds in under 500 ms on a Jetson Nano. I presented it to APSRTC's Executive Director and Chief Engineer (IT).

Context
APSRTC (Andhra Pradesh State Road Transport Corporation) bus fleet
Year
2025
Hardware
NVIDIA Jetson Nano
See it
LinkedIn post (opens in a new tab)
01 · Problem

Catching fatigue before it becomes an accident

A bus driver on a long route can't be supervised in person, and drowsiness or distraction builds up quietly. The system needed to spot the warning signs in real time, on hardware small enough to run inside the vehicle.

Harsha presenting the Enhanced Driver Alert System to APSRTC officials, with live bus-camera feeds on the screen
Presenting the live system to APSRTC officials in Vijayawada, September 2025.
02 · Approach

Run the whole pipeline at the edge

Facial landmarks and object detection run on an embedded GPU board in the cab to check for drowsiness, yawning, distraction and camera obstruction, and the driver is alerted immediately.

03 · Architecture

How the pieces fit

InputIn-cab camera
On the Jetson NanoOpenCV frame processingMediaPipe facial landmarksYOLOv12 detection
ChecksDrowsiness (eye aspect ratio)YawningDistractionCamera obstruction
OutputAlert to the driver
Simplified architecture: an in-cab camera feeds a Jetson Nano running OpenCV, MediaPipe facial landmarks and YOLOv12 detection, which check for drowsiness, yawning, distraction and camera obstruction and alert the driver.
04 · Technologies

The stack

  • YOLOv12
  • MediaPipe
  • OpenCV
  • Flask
  • NVIDIA Jetson Nano
05 · Implementation

What was built

  • Drowsiness measured with the eye aspect ratio (EAR) from facial landmarks.
  • Yawning, distraction and camera-obstruction checks running alongside drowsiness detection.
  • A pipeline tuned for embedded hardware, keeping inference under 500 ms on a Jetson Nano.
06 · Results

Outcomes

  • Under 500 ms per inferenceMeasured on the embedded Jetson Nano.
  • Presented to APSRTC leadershipThe Executive Director and the Chief Engineer (IT), in Vijayawada.
  • Recognized for deployment potentialValued for real-world use across the bus fleet, with guidance on an implementation roadmap.

Need computer vision or AI that runs where the work happens?

Start a conversation