Edge AI-Based Vehicle Surveillance System
Abstract
Urban vehicle numbers have grown far faster than the capacity of traffic police to watch every intersection and parking lane, and the result is a steady stream of hit-and-run incidents, wrong-parking, and double-parking cases that pass unrecorded under conventional patrol- and CCTV-based enforcement. This paper describes an Edge AI vehicle-surveillance pipeline built to close that gap while running entirely on low-cost, offline-capable hardware — a laptop or a Raspberry Pi — with no cloud backend and no purpose-built sensors. Vehicles are localised and classified frame by frame with YOLOv8, and a DeepSORT tracker then follows each detected vehicle through the sequence so that its position can be monitored continuously. A collision is inferred when two tracked bounding boxes overlap sharply, measured through Intersection over Union, together with an abrupt motion change captured by Lucas–Kanade optical flow; if the vehicle involved does not remain at the scene within a five-second grace period, the event is recorded as a hit-and-run. Separately, restricted-zone polygons combined with a configurable stay-duration check are used to catch vehicles parked illegally or blocking a live lane. Whenever any of these violations is confirmed, EasyOCR reads the offending number plate, and the system saves a short evidentiary clip, a still image, and a PDF summary before pushing an SMS, an email, and a dashboard notification to the relevant personnel. Implemented purely in Python and OpenCV, the resulting system is inexpensive to deploy at intersections, parking lots, and campus checkpoints