Planned research · not yet implemented

FUTURE PROJECT A · INTELLIGENT TRANSPORTATION

Ground Traffic Control System (GTCS)

An ATC-inspired traffic surveillance, tracking and decision-support platform for civilian road networks.

GTCS is a planned project that would treat road traffic the way an air-traffic control system treats airspace: not just detecting vehicles in camera images, but building a continuous traffic picture, tracking moving road users, estimating how traffic is evolving, and supporting an operator's decisions.

It applies the engineering pattern I have worked with in C4I/C2 systems, radar multi-target tracking and multi-sensor fusion to a civilian domain. The plan starts with one camera at one intersection and grows only as each stage is measured and validated.

  • Vehicle Detection
  • Multi-Object Tracking
  • Kalman Filtering
  • Multi-Camera Fusion
  • Traffic-State Estimation
  • Decision Support
Concept illustration: a top-down intersection watched by two cameras with overlapping fields of view. Vehicles carry temporary track IDs and trajectory histories, a growing queue on one approach is flagged as a candidate alert, and a side panel lists the traffic-state quantities GTCS would estimate.
Concept illustration Planned single-intersection view: tracked vehicles, camera coverage and a candidate congestion alert. No measured data.
Status
Planned research & development; no component has been built yet
Builds on
Radar MTT, multi-sensor fusion, C2 data exchange, GPS tracking
First milestone
One fixed camera, recorded video, one complete tracking pipeline
Target domain
Civilian intelligent transportation and smart-city traffic centres

Future project. Everything on this page describes proposed work: the architecture, algorithms, technologies and metrics are a plan, not a deployed or validated system. No city-scale deployment, traffic-signal control or performance figure is claimed. All diagrams and illustrations are original concept drawings.

Problem & motivation

From Camera Feeds to a Traffic Picture

Many traffic centres already have cameras. What is often missing is a coherent operational picture: an operator watches a wall of video feeds and has to judge, by eye, where queues are growing, which road is blocked, and whether an alternative route would actually be faster.

Air-traffic control solved a similar problem decades ago. Surveillance sensors produce plots, a tracker turns plots into continuous tracks, fusion combines sensors into one air picture, and decision-support tools help a controller act. GTCS proposes to bring that same chain to road traffic: detect → track → estimate → fuse → detect events → recommend → authorise → evaluate.

Roads are not airspace, though. A road system has signals, intersections, pedestrians, lane capacity, queues and very different user behaviour. GTCS can reuse the underlying engineering concepts, but its traffic models, alert logic and safety procedures must be designed specifically for roads.

Five planned capabilities

  1. Traffic surveillance

    Detect vehicles, buses, trucks, motorcycles, bicycles and, where appropriate, pedestrians in road-camera video.

    ATC analogue: surveillance sensor input
  2. Vehicle tracking & data fusion

    Maintain tracks over time, estimate position, velocity and direction, and associate observations across cameras where feasible.

    ATC analogue: track initiation, tracking, correlation
  3. Common traffic picture

    Combine tracks, road geometry, signal states, queues and traffic measurements into one map-based picture.

    ATC analogue: Common Operational Picture
  4. Decision support

    Detect congestion and incidents, rank alerts by severity and recommend interventions or alternative routes.

    ATC analogue: controller decision support
  5. Intervention & evaluation

    Present recommendations to an authorised operator and measure their effect; integrate signal controllers only later, through approved interfaces.

    ATC analogue: instruction and feedback, adapted for roads
What already exists in my workRadar multi-target tracking, plot-to-track association, adaptive Kalman and alpha-beta tracking, multi-radar fusion for a unified air picture, C2 command acknowledgment, and a GPS fleet-tracking platform (see Completed Projects).
What GTCS would add (planned)Camera-based detection, image-to-road calibration, road-network traffic-state estimation, congestion and incident detection, route recommendation and an operator workflow for road traffic.

Proposed architecture

A Distributed Surveillance-to-Decision Architecture

Cameras and edge computers would collect and pre-process data, a central server would build the traffic picture, and operator workstations would provide supervision and decision support. Separating perception, tracking, traffic analysis and decision-making keeps each layer testable on its own.

GTCS layered architecture

Proposed design
  1. Surveillance layer

    • IP road cameras
    • Recorded video
    • Optional radar / loop detectors
  2. Edge processing

    Object detection

    Boxes, class, confidence, timestamp, camera ID per frame.

    Single-camera tracking

    Kalman-based tracks with temporary IDs.

  3. Central GTCS processing server

    Track management & fusion

    Association, motion estimation, duplicate-track handling.

    Road network & map matching

    Tracks placed on lanes and road segments.

    Traffic-state estimation

    Flow, speed, occupancy, queues, travel time.

    Incident detection & decision support

    Congestion, queue growth, abnormal stops, routes.

  4. Ground Traffic Control Centre

    • Digital traffic map
    • Camera wall
    • Alerts
    • Operator decisions
    • Performance reports

Messages between layers carry timestamps and source IDs so that every traffic measurement can be traced back to the observations that produced it.

Why this split

  • Edge detection and tracking keep raw video near the camera and send compact observations upstream, which limits network load.
  • Central fusion sees all cameras, so it is the right place to resolve duplicate tracks and associate vehicles between overlapping or adjacent views.
  • Traffic-state estimation works on road segments rather than pixels, so map-matched results can be compared with field counts and other sensors.
  • Operator-centred output keeps a human in the loop: GTCS recommends, the authorised operator decides.
ATC concept to GTCS equivalent mapping Six pairs: radar or surveillance input maps to road cameras and sensors; plot extraction maps to vehicle detection; multi-target tracking maps to multi-vehicle tracking; multi-sensor data fusion maps to camera and detector fusion; air situation display maps to the common traffic picture; controller decision support maps to route and traffic recommendations. ATC CONCEPT GTCS EQUIVALENT Radar / surveillance inputPlot extractionMulti-target tracking Multi-sensor data fusionAir situation displayController decision support Road cameras & sensorsVehicle detectionMulti-vehicle tracking Camera + detector fusionCommon traffic pictureRoute & traffic recommendations
Concept diagram The engineering pattern carries over; the traffic rules and safety procedures do not.

Processing pipeline

How Detection, Tracking, Estimation and Fusion Work Together

Each stage answers a different question. The detector says what is in this frame; the tracker says which detections are the same vehicle over time; estimation says where it is on the road and how fast it moves; fusion says what the road network is doing.

  1. Frame acquisition

    Read video with accurate timestamps and camera IDs; flag dropped or late frames.

    out: frame, t, camera_id
  2. Vehicle detection

    A YOLO-family detector (or equivalent) produces boxes, class and confidence. On its own it has no notion of identity across frames.

    out: box, class, score
  3. Single-camera tracking

    Associate detections with predicted tracks, update with a Kalman filter, and manage initiation, missed detections and termination.

    out: track_id, state, covariance
  4. Road-plane calibration

    Map the bottom-centre of each box through a calibrated homography so that motion is measured in metres, not pixels.

    out: X, Y on road plane
  5. Traffic measurements

    Per vehicle: lane or segment, direction, speed (where calibration supports it), stop duration, entry/exit times and turning movement.

    out: per-vehicle measurements
  6. Multi-camera fusion

    Combine measurements from several cameras; associate tracks across views using geometry, timing and road topology before appearance.

    out: fused tracks / segment states
  7. Traffic-state estimation

    Aggregate into flow, average speed, occupancy, queue length and travel time per road segment and time window.

    out: segment state, t-window
  8. Events & decision support

    Detect congestion and candidate incidents with persistence checks; compute alternative routes; present ranked recommendations.

    out: alerts, recommendations

Two separate fusion problems

  • Sensor fusion — combining measurements from different sources to estimate the traffic state of a road segment.
  • Cross-camera track association — deciding whether a vehicle leaving one camera's view is the same vehicle entering another's.

The plan starts with known camera positions, calibrated fields of view, road topology, synchronised timestamps and feasible travel-time windows. Appearance features add evidence only where permitted. Colour or proximity alone does not establish identity: occlusions, similar vehicles and clock offsets all cause false associations. For the first version it is entirely reasonable to fuse aggregated traffic measurements rather than maintain one vehicle identity across a city.

A track ID is not an identity. GTCS would track road users for traffic analysis without assuming it knows who they are. No licence-plate recognition or personal identification is part of this plan.

Why image coordinates must be calibrated to the road plane Left: a camera image of a road in perspective, with two vehicles that each move twenty pixels — one near the camera, one far away. Right: the same motions on the calibrated top-down road plane, where the far vehicle has travelled a much longer real distance. A homography G maps image points u, v to road-plane coordinates X, Y. Image (pixels) near: 20 px far: 20 px Road plane (metres) short distance long distance G [X, Y, 1]ᵀ ∝ G · [u, v, 1]ᵀ for points on the road surface
Concept diagram Equal pixel motion does not mean equal road distance. Speed is reported only after calibration and validation.

Mathematical foundations

Tracking, Calibration and Traffic-State Models

The starting models are deliberately simple and well understood, so that every later improvement can be measured against a clear baseline. The worked numbers below are arithmetic examples, not measurements.

Vehicle state & motion model

Constant-velocity state on the road plane

xk=[XYvXvY]T
xk=Fxk−1+wk−1
F=[10Δt0010Δt00100001]
zk=Hxk+vk
X,Y
Vehicle reference point on the calibrated road plane (metres).
vX,vY
Velocity components (m/s).
Δt
Time between processed frames, taken from timestamps — not assumed constant.
H
Measurement matrix selecting position: the detector measures where a vehicle is, not its velocity.
w,v
Process noise (unmodelled acceleration, covariance Q) and measurement noise (detection jitter, covariance R).
Data association

Validation gate on the innovation

νk=zk−Hxˆk|k−1
Sk=HPk|k−1HT+R
d2=νkTSk−1νk≤γ

A detection is a candidate for a track only if its normalised distance from the prediction is inside the gate. This is the same plot-to-track gating idea used in radar tracking; in video, an IoU-based cost is a common complementary test while tracking in image space.

ν
Innovation: difference between the detection and the predicted position.
S
Innovation covariance — how uncertain the prediction and detection are together.
γ
Gate threshold, e.g. a chi-square quantile for 2 degrees of freedom (≈ 9.21 for 99 %).
Camera calibration

Image-to-road homography

s[XY1]=G[uv1]
G∈ℝ3×3

G is estimated from at least four surveyed image-to-ground point correspondences (more in practice, with a least-squares fit). It is only valid for points on the road surface, which is why the bottom-centre of a bounding box is used rather than its centre. Road crowning, slopes and lens distortion limit accuracy and are part of the validation plan.

u,v
Pixel coordinates in the (undistorted) image.
s
Arbitrary scale factor of homogeneous coordinates.
Traffic flow

Flow, density and speed

q=NΔt
q≈kv¯s
N
Vehicles crossing a reference line during the interval Δt.
q
Flow, e.g. vehicles per minute or per hour (units always stated).
k
Density: vehicles per kilometre of lane.
v¯s
Space-mean speed. The relation holds for averages under roughly stationary traffic, not for individual vehicles.

Arithmetic example: 36 vehicles crossing the line in 2 minutes gives q=18 veh/min, i.e. 1,080 veh/h.

Road network

The city as a directed graph

𝒢=(V,E)
V
Intersections and other network nodes.
E
Directed road segments, each with length, legal direction, capacity, restrictions and an estimated travel time.

The traffic-state estimator updates each edge's condition, so the graph always reflects the latest measured traffic rather than static map distances.

Route recommendation

Time-dependent travel-time cost

ce(t)=Lemax(ve(t),vmin)
P*=arg⁡minP∑e∈Pce(te)
Le
Segment length.
ve(t)
Estimated speed on the segment at time t.
vmin
Floor that prevents division by zero when traffic stops.
te
Time the vehicle is expected to reach segment e.

Arithmetic example: a 600 m segment at 5 m/s costs 120 s; a 900 m alternative at 12 m/s costs 75 s — the longer route is faster. Queues, closures, turning delays and signal phases must later be added to this simplified model.

Traffic command & control

Decision Support with an Operator in the Loop

This is what would distinguish GTCS from a conventional monitoring application: an explicit operational loop and an alert lifecycle, modelled on the status management I have implemented in command-and-control software.

  1. ObserveVideo, sensor measurements and signal-state information.
  2. EstimateTracks, flow, queues and segment conditions.
  3. DetectCongestion, incidents, abnormal stops, deterioration.
  4. RecommendGenerate and rank traffic-management actions.
  5. AuthoriseAn authorised operator reviews and decides.
  6. EvaluateMeasure the outcome and update the estimate.

The loop repeats continuously; evaluation feeds the next observation cycle.

Example scenario (planned behaviour)

Camera A watches the approach to an intersection; Camera B watches the downstream road. GTCS would notice that:

  • the queue on the approach is growing,
  • the average speed is falling,
  • downstream traffic is also slow, and
  • an alternative route has a lower estimated travel time.

The operator would receive one alert containing the affected road, the measured conditions, a confidence level and suggested actions: publish an alternative route to authorised information systems, request a signal-timing review, investigate a possible obstruction, or coordinate with another team.

No automatic signal control. Early phases would only recommend and simulate. Real controllers would be connected only through approved interfaces, with safety checks, authorisation and fallback procedures, and only after validation.

Alert lifecycle

  1. Detected
  2. Verified
  3. Acknowledged
  4. Action proposed
  5. Authorised
  6. Monitoring
  7. Resolved
Not every event needs every state: a measured congestion condition may be logged without an operator command.
StateMeaning
DetectedAn algorithm has identified a potential event.
VerifiedReviewed or corroborated by another source.
AcknowledgedAn operator has confirmed awareness.
Action proposedThe system has generated a recommendation.
AuthorisedThe responsible operator approved the action.
MonitoringThe system is measuring the outcome.
ResolvedThe condition has cleared or the event is closed.

Traffic-management algorithms, built progressively

  • A

    Traffic-flow estimation

    Counts, flow, average speed and occupancy over defined time windows.

  • B

    Queue & congestion detection

    Combine falling speed, queue growth, occupancy and travel-time change; set thresholds from recorded data and validate against manual observation.

  • C

    Incident detection

    Stationary vehicles in a live lane, sudden queues, unexpected flow interruption — with temporal persistence and corroboration to limit false alarms.

  • D

    Alternative routes

    Shortest-time paths on the road graph with time-dependent edge costs and road restrictions.

  • E

    Signal-timing studies

    In simulation only: fixed-time versus traffic-responsive plans, compared on queue, delay, throughput and pedestrian requirements.

  • F

    System health

    Camera availability, stale or missing data and processing latency, surfaced as alerts in their own right.

Proposed hardware & software

Implementation Technologies

Proposed choices, not technologies already integrated into GTCS. A normal development computer is enough for the first prototype; a GPU or edge accelerator would be added when the detector and real-time throughput requirements justify it.

Planned software stack. Each choice will be re-evaluated against measured requirements.
ComponentProposed technologyPurpose
Operating systemUbuntu Linux LTSEdge computers and central server
Video processingPython, OpenCVStreams, frame handling, calibration
Vehicle detectionYOLO-family detector or equivalentDetect road users
Object trackingByteTrack or similar, with Kalman filteringMaintain temporal tracks
Cross-camera matchingGeometric constraints + appearance associationLink observations across cameras
Map & spatial dataPostgreSQL / PostGISRoad geometry, intersections, geospatial records
Event messagingMQTT or another message brokerDistribute observations and events
Backend APIFastAPIExpose traffic data and services
Operator interfacePyQt5 first, or a browser front endTraffic control workstation
VisualisationOpenStreetMap-compatible or approved local mapsRoads, tracks, queues, alerts
SimulationSUMOTest strategies before any real infrastructure
ReportingPython analytics, PDF generationStatistics and incident reports

Data sources for development

Development would begin without installing cameras around a city, using public or permitted recorded footage:

  • UA-DETRAC — traffic surveillance video with vehicle annotations.
  • AI City Challenge resources — traffic analytics and multi-camera tracking research.
  • Ultralytics YOLO and OpenCV documentation — detection, tracking and calibration tooling.
  • SUMO — traffic-control experiments in simulation.

Each dataset's licence and usage conditions would be checked before any commercial demonstration.

Software traceability rule

Every detection has a timestamp, every track has a defined lifecycle, and every traffic measurement can be traced back to its source observations.

Engineering challenges & limitations

What Makes This Hard

  • Perception

    Occlusion & dense traffic

    Vehicles hide each other in queues and at intersections, causing missed detections and identity switches.

    Approach: track coasting with growing uncertainty, careful gating and metrics that count ID switches explicitly.

  • Conditions

    Night, rain, glare

    Detector performance varies with lighting, weather and camera quality.

    Approach: evaluate separately per condition and report where performance drops rather than one average.

  • Geometry

    Calibration accuracy

    Homography assumes a flat road; slopes, crowning and lens distortion add error to positions and speeds.

    Approach: surveyed reference points and speed checks against an independent reference before any speed is reported.

  • Timing

    Clock synchronisation

    Unsynchronised cameras break cross-camera association and travel-time estimates.

    Approach: NTP/PTP-synchronised sources and explicit timestamp-offset measurement.

  • Alerts

    False alarms

    An alert system that cries wolf will be ignored by operators.

    Approach: persistence checks, corroboration across measurements, and false alerts per hour as a primary metric.

  • Governance

    Privacy & authority

    Video of public roads is sensitive, and traffic infrastructure belongs to authorities.

    Approach: no identification of individuals, aggregated outputs, and integration only with authorised systems.

Testing & performance metrics

How GTCS Would Be Measured

A credible demonstration needs measured results, not just an impressive interface. Target values will be set only after a baseline exists for the actual camera conditions; no real-time or accuracy figure is claimed before it has been measured under representative conditions.

Planned evaluation framework. Reference data: manually reviewed video, field counts and independent speed measurements.
SubsystemMetricsReference
Vehicle detectionPrecision, recall, false detectionsAnnotated frames
Vehicle trackingID switches, track continuity, IDF1 or HOTAAnnotated trajectories
Speed estimationMean absolute errorIndependent speed reference
Vehicle countingAbsolute and percentage counting errorManual counts
Queue estimationDifference from manually measured queue lengthManual review
Congestion detectionPrecision, recall, false alerts per hourLabelled congestion periods
Incident detectionDetection delay, false-alarm rateLabelled events
Route recommendationPredicted versus observed travel timeObserved trips
Processing systemEnd-to-end latency, throughput, dropped framesInstrumented pipeline
Operational reliabilityCamera availability, stale-data alerts, recovery timeSystem logs

Phased implementation roadmap

Seven Phases, Each Testable on Its Own

Every phase ends with a working, demonstrable result. Full-city coverage, automated signal control and citywide vehicle identity are explicitly not where the project starts.

  1. P1First milestone

    Single-camera prototype

    • Process recorded traffic video
    • Detect vehicles, assign track IDs
    • Draw boxes and trajectories
    • Show timestamps and processing performance

    Deliverable: a working video-tracking demonstration.

  2. P2

    Tracking & traffic measurements

    • Calibrate the camera
    • Road-plane positions and speeds
    • Count vehicles and turning movements
    • Queue lengths and travel times

    Deliverable: analytics validated against manually reviewed video.

  3. P3

    Digital traffic situation display

    • Interactive road map
    • Camera locations, conditions, statistics
    • Trajectories where appropriate
    • Alerts and historical playback

    Deliverable: a first GTCS operator interface.

  4. P4

    Multi-camera integration

    • At least two camera streams
    • Synchronised timestamps
    • Combined traffic measurements
    • Cross-camera association experiments

    Deliverable: a coordinated picture of two connected road sections.

  5. P5

    Traffic C2 & decision support

    • Congestion and candidate incidents
    • Alert acknowledgment and resolution
    • Alternative routes
    • Recommendations with evidence

    Deliverable: a decision-support workflow with operator authorisation.

  6. P6

    Simulation & optimisation

    • Model a small intersection or corridor
    • Feed measurements into a simulator
    • Test signal-timing strategies
    • Compare delay and queues before/after

    Deliverable: a repeatable, measurable traffic-management experiment.

  7. P7

    Field pilot

    • Approved cameras at a real site
    • Calibrated road geometry
    • Automated vs. field observations
    • Day, night, weather and occlusion tests

    Deliverable: a documented pilot with measured performance and known limitations.

Prototype V1 scope: one fixed camera with recorded video, detection and single-camera tracking, Kalman-based motion estimation, road-plane calibration, counting/flow/queue estimation, an intersection layout, a PyQt5 operator interface, alerts with an event log, a simulated route-recommendation workflow and a recorded end-to-end demonstration.

Expected contribution

Expected Contribution & Research Direction

GTCS would extend my experience in C4I/C2 systems, radar tracking, multi-sensor data fusion, GPS navigation and real-time software into civilian intelligent transportation. The distinctive contribution is not any single algorithm, but an end-to-end engineering chain — surveillance, tracking, fusion, traffic-state estimation and operator decision support — in which every output is traceable and measured.

Potential applications

  • Urban traffic management and smart-city operations centres
  • Corridor and intersection performance studies
  • Incident awareness for road operators
  • Evidence-based signal-timing and route-guidance studies
Mohammed Ismail Ali Attala
Proposed project lead

Mohammed Ismail Ali Attala

Senior Systems Engineer · C4I/C2 Integration · Tracking & Navigation

Open to discussing GTCS with traffic authorities, ITS integrators and research partners.

One camera. One intersection. One complete, measured tracking pipeline.

Proving that a single intersection can be observed, measured and analysed reliably is the foundation for any larger Ground Traffic Control Centre.

Contact & Collaboration

Working on Intelligent Transportation?

I welcome discussions about traffic surveillance, vehicle tracking, traffic-state estimation and decision-support systems with transport authorities, integrators and research teams.