OCTR2A: Real-Time RGB-to-BEV Trajectory Projection and Forecasting at Urban Intersections
Organizations: Department of Computer, Control and Management Engineering “Antonio Ruberti”, Sapienza University of Rome, 00185 Rome, Italy
Abstract
Trajectory forecasting at urban intersections is often studied assuming that reliable bird's-eye-view (BEV) motion histories are available, which in practice requires costly resources such as LiDAR, aerial views, HD maps, or calibrated infrastructure. We address this upstream perception-to-forecasting problem by reconstructing and predicting agents' BEV trajectories only from paired opposite-corner RGB cameras mounted on existing urban infrastructure at variable heights at inference time. We introduce the Opposite-Corner Trajectory Reconstruction and Anticipation Architecture (OCTR2A), a modular pipeline integrating per-view detection with class refinement, geometric cross-camera matching, transformer-based BEV projection, and egocentric GRU forecasting, trained in cascade and mainly supervised with a soft multi-scale spatial-overlap loss. Since no public benchmark provides this sensing configuration, we introduce R3ST++, a Blender-based synthetic benchmark built from SIND trajectories that provides synchronized opposite-corner views, cross-view correspondences, and BEV ground truth, while also serving as a deployment-support simulator for site-specific fine-tuning. Experiments on these datasets show that, with 12 observed and 12 predicted frames at 10,Hz, OCTR2A achieves projection~-forecasting ADE/FDE of 0.144/0.140-0.154/0.241meters in real time on a single consumer GPU. Evaluated on ground-truth BEV histories, the forecasting module improves over the strongest state-of-the-art methods on SIND by 66.7%/41.7% ADE/FDE. Transfer experiments on TUMTraf-V2X show that R3ST++ pretraining supports adaptation to real-world roadside domains with different sensing configurations.
Figures & tables
| Hyperparameter | Detector | Detector FT | Matcher | Projector | Forecaster | ||
| Backbone | Refiner | Backbone FT | Refiner FT | ||||
| Dataset | VisDrone | VisDrone | R3ST++ | R3ST++ | R3ST++ | R3ST++ | R3ST++ |
| Optimizer | SGD | AdamW | SGD | AdamW | AdamW | AdamW | AdamW |
| Learning rate | |||||||
| Weight decay | |||||||
| LR scheduler | W+L | Plateau | W+L | Plateau | Plateau | W+C | W+C |
| Level | Accuracy | Precision | Recall | F1 |
| Pairwise cls. | ||||
| Frame-level | ||||
| Tracklet assoc. | - |
| Method | ADE (m) | Median ADE | Coverage |
| projector | 0.144 0.010 | 0.125 0.006 | 100 % |
| Two-view DLT + homography fallback | 1.129 0.063 | 0.739 0.093 | 100 % |
| Ray–plane homography | 1.284 0.065 | 0.899 0.060 | 100 % |
| projector on single-view windows | 0.157 0.024 | 0.139 0.024 | 59.1 % |
| Ray–plane homography | 1.577 0.052 | 1.368 0.123 | 59.1 % |
| projector on two-view windows | 0.126 0.025 | 0.115 0.018 | 40.9 % |
| Method | 12-12 | 12-18 | S | M | ||
| ADE | FDE | ADE | FDE | |||
| S-GAN 6 [ 31 ] | 1.32 | 2.46 | 1.53 | 2.95 | ||
| S-LSTM 1 [ 30 ] | 0.87 | 1.60 | 0.96 | 1.78 | ||
| Trajectron++ 6 [ 40 ] | 0.37 | 0.93 | 0.70 | 1.91 | ||
| FJMP 6 [ 39 ] | 0.27 | 0.69 | 0.41 | 1.13 | ||
| HPNet 6 [ 38 ] | 0.09 | 0.21 | 0.11 | 0.25 | ||
| Projector | ||||
| Configuration | ADE | ADE | FDE | FDE |
| Uniform weights | - | - | ||
| w/o | ||||
| w/o | ||||
| w/o | ||||
| w/o | ||||
| Metric | S.T. + C.I. | S.T. + F.T. + C.I. | C.T. + C.I. |
| forecaster ADE (m) | |||
| forecaster FDE (m) |
| Class | Support | Recall | Precision | F1 |
| Car | 13,507 | 0.802 | 0.646 | 0.716 |
| Truck | 1,638 | 0.673 | 0.634 | 0.653 |
| Motorcycle | 425 | 0.586 | 0.331 | 0.423 |
| Bus | 532 | 0.962 | 0.347 | 0.510 |
| Pedestrian | 6,989 | 0.694 | 0.577 | 0.630 |
| Bicycle | 328 | 0.704 | 0.583 | 0.638 |
| Stage | Input | Training Mode | Metric | Result |
| Matcher | GT cuboids | – | F1 | |
| Matcher | Detector outputs | – | F1 | |
| Projector | GT association | From-scratch | ADE (m) | |
| FDE (m) | ||||
| FT - Tianjin sensing setup | ADE (m) | |||
| FDE (m) |
Trajectory Prediction
Trajectory prediction forecasts how people, vehicles, robots, and other dynamic systems will move from observed histories and context.
See all 198 papers