Award Winner

TRACE.

Tracking · Recognition · Analytics · City-wide Traffic Enforcement

A five-layer spatio-temporal intelligence platform that links separate CCTV feeds into continuous vehicle trajectories: reading plates, matching vehicles by appearance, and flagging impossible journeys across a city.

Best Open-Source AI Project

Hacktoberfest Hack Day Coimbatore
27 October 2026 · Sri Shakthi Institute of Engineering and Technology

28.5 FPSReal-time detection and tracking per stream
90%Exact plate match, 9 of 10 on a TN sample
0.87 msPer multimodal identity decision
5Layers, from perception to alerts

Cameras that don't talk.

City CCTV and ANPR networks mostly run as isolated silos. Plates are read locally with no link between cameras, blurred or skewed plates break a trail, and control rooms cannot connect one vehicle's journey to wider congestion and origin-destination patterns.

TRACE unifies those feeds so that investigators get a complete, evidenced trajectory, operators get early alerts instead of reacting afterwards, and planners get analytics from the same data.

01Isolated camera systems
02Unreliable vehicle identification
03Incomplete cross-camera tracking
04Reactive traffic intelligence

From pixels to a city-wide picture

01

Multi-Camera ANPR

YOLOv8 detection, ByteTrack tracking, plate upscaling, and PaddleOCR, with temporal OCR fusion to resolve frame-to-frame jitter.

02

Multimodal Identity Fusion

Matches a vehicle across cameras even when the plate is dirty or hidden, combining Re-ID embeddings, plate string distance, and transition probabilities.

03

Trajectory Reconstruction

Traces any queried vehicle on a MapLibre map and flags impossible journeys where speed between cameras exceeds what the road allows, catching cloned or swapped plates.

04

City-Scale Analytics

Corridor traffic density, heatmaps, origin-destination matrices, travel times, and short-term congestion forecasts.

05

Real-Time Alerts

Instant WebSocket alerts for blacklisted vehicles, speed anomalies, and duplicate plates, with an operator review workflow.

The data pipeline

01

Video Ingestion

Live RTSP or recorded camera feeds stream through individual camera workers coordinated by a scenario manager.

02

Detection & Tracking

YOLOv8 finds vehicles, classes, and colours. ByteTrack keeps consistent track IDs within each camera.

03

Plate Reading

The plate region is localised, upscaled with bicubic interpolation, and read by PaddleOCR. Temporal fusion aggregates character confidence across frames.

04

Appearance Embeddings

Each vehicle crop becomes a normalised 512-dimension Re-ID embedding, stored in PostgreSQL.

05

Cross-Camera Matching

The identity matcher scores candidate sightings on plate text, appearance, and spatio-temporal feasibility along the road graph.

06

Trajectories & Alerts

Validated tracks become vehicle paths on the map. Blacklist hits and impossible journeys raise alerts over WebSockets.

Five layers, one trail.

Each layer feeds the next: perception produces sightings, fusion decides which sightings are the same vehicle, the road graph checks whether the journey is physically possible, and the top layers turn that into analytics and alerts.

Layer 1Edge Perception: YOLOv8, ByteTrack, PaddleOCR, plate localiser, temporal OCR fusion
Layer 2Multimodal Identity Fusion: Re-ID embeddings, Levenshtein plate matching, weighted identity score
Layer 3Spatial-Temporal Reasoning: road graph, trajectory solver, impossible-journey flag
Layer 4Network Intelligence: density heatmaps, OD matrices, bottleneck detection
Layer 5Prediction & Anomaly Operations: blacklist dispatch, route deviation, operator verification
Identity fusion and anomaly thresholds
score = w_plate * S_plate
      + w_app   * S_app
      + w_time  * S_time

IDENTITY_CONFIRM_THRESHOLD=0.70
IDENTITY_CANDIDATE_THRESHOLD=0.40
IMPOSSIBLE_JOURNEY_SPEED_MULTIPLIER=1.5

Measured, not estimated

Detection throughput28.5 FPSYOLOv8n with ByteTrack, steady state
Detection latency35.05 msMedian 34.11 ms
Exact plate match90%9 of 10 plates on a Tamil Nadu sample
Character accuracy99.0%Across the same 10 plates
Re-ID extraction43.87 msPer vehicle crop, ResNet34 512-D
Re-ID separation+0.3393Cosine gap, intra 0.988 vs inter 0.649
Identity fusion868 µsPer scoring decision
Shortest-path query84.2 µsDijkstra over the road graph

Run on an NVIDIA RTX 3050 Laptop GPU with recorded corridor footage and a 10-image Tamil Nadu plate set. Reproduce with scripts/run_benchmarks.py in the repository.

Built for control rooms

01

Live Operations Dashboard

Active cameras, detected vehicles, monitored targets, and live telemetry cards.

02

Camera Network Grid

A CCTV wall of synchronised feeds, with a toggle for YOLOv8 detection overlays.

03

Vehicle Trajectory Trace

Search a plate and see its full journey on the map with waypoints, timestamps, and anomaly flags.

04

Traffic Analytics

Density heatmaps, OD flow matrices, speed distributions, and congestion forecasts.

05

Blacklist & Alert Command

Register blacklisted plates, receive live alert popups, and verify sightings manually.

06

Camera Administration

Manage camera coordinates, video sources, and scenario playback sync.

Frontend
React 18TypeScriptViteTailwind CSSMapLibre GLRecharts
Backend
Python 3.11FastAPIPydantic v2UvicornWebSockets
Data
PostgreSQL 16PostGIS 3.4SQLAlchemy 2.0Alembic
Vision
YOLOv8ByteTrackPaddleOCRPyTorchResNet34 (VeRi-776)OpenCV
Graph
NetworkXShapelySciPy
Infra
JWT authRole-based accessDocker Compose

Six builders. One city-wide problem.

Problem Statement 26127, Bharat Electronics Limited · Software · Transportation & Logistics · Smart India Hackathon 2026

Read the code.

GitHub Repository