Motivation

Advanced Driver Assistance Systems (ADAS)


Enhance vehicle safety and assist the driver.๐Ÿฆบ

Combination of sensors, cameras, and algorithms to monitor the vehicle's surroundings.๐Ÿ“Š

Help reduce the risk of accidents and improve overall road safety.โœ…

[9]

Road Bend Prediction

Road Bend Prediction:

Observing upcoming bends.๐Ÿ”ญ

Classifying the direction and severity.๐Ÿ“Š

Assess Risk -> Alert driver or intervene.๐Ÿ“‰

Use Case: Fire engine study to reduce rollover ๐Ÿš’

Simulated complex roads.๐Ÿ—บ๏ธ

Firefighters Navigated with & without system.๐Ÿ””

Reported significant reduction in roll-over risk.โฌ‡๏ธ

[3]

Study: Real World Experiment ๐Ÿš—

They used GPS and high detailed maps to find upcoming bend.๐Ÿ—บ๏ธ

Alerted driver with advisory speed.๐Ÿ””

Reduction in Risk in real-world environment.โฌ‡๏ธ

[4]

This Bend Classification System

Aims:

Vision only system.๐Ÿ“ท

Detect and classify upcoming bend direction & sharpness.๐Ÿ›ฃ๏ธ

Build the system to handle real-world environments.๐ŸŒ

Human-Like Judgement

Human Judgement

Manipulating Motion Field... Over/Under Steering Source: [5]

Human-Like Judgement

Human Judgement

Gaze on R-VP when negotiating bends. Source: [2].

Experiment Hypothesis:

1. Bend classification machine Learning on RGB sequences.

2. Practicality of human-like motion fields for bend classification.

3. Impact of R-VP focused sequences.

Processing Pipeline ๐Ÿญ

Processing Pipeline

Milestone 1: Prepare Data

Data Collection

Data Collection 6hr45mins of UK road footage between October 2024 and April 2025
Covering Range of: Seasons, Road types, Speeds, Weather conditions
โš ๏ธ Disclaimer: Footage at night was removed.

Stereo Camera

Captured in stereo for future research & development
(calibration artifacts publicly available)
Main 4k camera capturing driver perspective, 1080p camera on passenger side.

NMEA Positioning Data

Positioning data embedded in video: 10Hz sample rate.
							
								$GPRMC,[utc_time],[status],[latitude],[ns_indicator],[longitude],[ew_indicator],[speed_knots],[course_deg],[date_ddmmyy],[mag_var],[mag_var_dir]*[checksum]
								$GPGGA,[utc_time],[latitude],[ns_indicator],[longitude],[ew_indicator],[fix_quality],[num_sats],[hdop],[altitude],[alt_unit],[geoid_sep],[geoid_unit],[dgps_age],[dgps_station]*[checksum]
							
						
We focus on:
  • UTC Time
  • Speed (knots)
  • N/S and E/W
  • Latitude (Degrees Minutes)
  • Longitude (Degrees Minutes)

Automatic Bend Labelling

Detect bends in the dataset.๐Ÿ”

Label them with severity and speed.๐Ÿท๏ธ

Clip 10, 20, 30, 40, 50, 75, 100 metres before bend.๐Ÿ“

Distance based heading change

Heading Change

Distance based heading change

Heading Change

Detect start and end.

Detect start and end.

Detect start and end.

Detect start and end.

Detect start and end.

Return samples

Bend avg. Angle avg. Speed Start Frame 10 Metre Frame 20 Metre Frame 30 Metre Frame 40 Metre Frame 50 Metre Frame 75 Metre Frame 100 Metre Frame
1 10.63 30.16 1945 1924 1900 1882 1861 1843 -1 -1
2 -22.31 22.13 2754 2733 2709 2688 2664 2646 2595 -1
3 8.93 30.1 3221 3200 3179 3155 3137 3116 3065 3011
4 -8.57 27.76 3419 3398 3377 3356 3338 3317 3266 -1

Automatic Bend Labelling
Evaluation

โž• Observed high accuracy.

โž• Constant labelling (no human bias).

โž– No filter of false bends: Roundabouts or Junctions.

โž– Relies on quality of NMEA data.

โž– Affected by noise in slow moving traffic.

Milestone 2: Find Road Vanishing Point (R-VP)

Road Vanishing Point (R-VP) Estimation

Challenges Of Understanding Driving Scenes

Ego-motion

Occlusion

Structured and Unstructured

Other Factors

Illumination/ Glare

Weather

...

Road Vanishing Point (R-VP) Estimation

Goal

Estimate the R-VP of the road.๐Ÿ”

Establish understand the scene.๐Ÿ›ฃ๏ธ

Solution 1:Perspective Shift Estimation

Solution 1:Perspective Shift Estimation

Notice high sensitivity to ego-motion.

Evaluation 1:Perspective Shift Estimation

โž• Speed and Efficiency!

โž• Moderately good approximation.

โž– Highly sensitive to Ego-Motion.

โž– Highly sensitive to feature quality.

Solution 2:Optic Flow with RANSAC

Evaluation 2:Optic Flow with RANSAC

โž• Robust against moderate Ego-motion.

โž• Higher stability.

โž• Filter other vehicles.

โž– Difficulty finding global parameters.

โž– Computation cost.

Milestone 3: Dataset Generation

Generation Pipeline

Generation Pipeline

Generation Time

29783m 49s (20.68 days)

Generation Time

29783m 49s (20.68 days)

โฌ‡๏ธ Optimisations + Parallel Processing

2644m 18s (40.56 hours)

Input variants generated

Wide RGB
Narrow RGB
Wide Optical Flow
Narrow Optical Flow

Generated samples of each input variant

Wide RGB
Wide Optical Flow
Narrow RGB
Narrow Optical Flow

Generated samples of each input variant

Milestone 4: Deep Learning Classification Models

Train and compare models on these four input variants.

Evaluation metrics

Accuracy

Class level: Precision, Recall, F1

Weighted F1-Score

Confusion Matrix

(2+1)D Video Classification Design

Model Design [7]

Design Summary

(2+1)D Convolutional neural network (CNN).

Capture spatial and temporal patterns.

Take advantage of hierarchical features.

Multi-Layers generalise by producing abstract feature patterns.

Final class prediction outputted as a dense vector.

[1, 7]

What is (2+1)D convolution?

Approximates 3D convolution.

Separates spatial (2D) and temporal (1D) components.

Less weights to train.

[1, 7]

Model Performance

We split the dataset into 3 sets:

  • 70% Training set
  • 20% Validation set
  • 10% Test set

Test set is used to evaluate the model's performance on unseen data.

Wide View Datasets

Wide view classes

Narrow View Datasets

Narrow view classes

Overall

Model Accuracy Loss Weighted F1-score (f1)
Wide RGB Model (7-class) 73.78% 0.8675 0.7399
Wide Optical Flow Model (7-class) 55.55% 1.1519 0.5568
Narrow RGB Model (4-class) 43.27% 1.1907 0.4480
Narrow Optical Flow Model (4-class) 50.96% 1.2072 0.4783

Evaluated and Discussed the Proposed Hypothesis.๐Ÿ”

Hypothesis 1:

Is machine learning effective for bend direction and severity classification?

โž• Yes, we can classify bends with high accuracy. (73.78% for RGB Wide)

โž– However, requires more data to be robust.

Hypothesis 2:

Do motion fields provide a strong input representation (for human-like judgement)?

โž• Wide Optical Flow showed generalisation (55.55% Accuracy)

โž• Strong class boundaries for bend direction.

โž– High confusion for bend severity.

โž– RGB outperforms motion field.

Hypothesis 3:

Will focus around the R-VP, inspired by human-like gaze, improve classification?

โž• Narrow View Optical Flow performed marginally better than Narrow View RGB.

โž– High confusion and poor generalisation.

โž– Limited by quality of R-VP estimation.

โž– Limited dataset due to hardware limitations.

Limitations โฌ‡๏ธ

High computational cost.

No Real-time.

Ego-morton introduces additional challenges.

Occlusion of road features.

Separation of bends from junctions and roundabouts.

Adaptability to high noise (such as window wipers).

Error Propagation through the pipeline.

Achievements ๐Ÿฅ…

End-To-End Pipeline ๐Ÿญ

Automatic bend labelling

Road Vanishing Point (R-VP) estimation

Dense Optical Flow - Motion fields

Dataset generation

Deep Learning Classification Models

Produced Open Source Dataset๐Ÿ’พ

For comparing 4 different input variants.

Publicly available for future development.

Release raw dash cam and NMEA records

Countered real-world application challenges๐Ÿ›ฃ๏ธ.

Various road conditions and illumination.

Handle Unstructured and structured environments.

Filter bias by masking other vehicles.

Reduces Effects of ego-motion.

Interpreted bends from noisy GPS data.

Future Work

Incorporate additional sensors to counter ego-motion [8]

Use Depth Maps Through Stereo Vision

Explore Advanced DNN Architectures Further

Bibliography

[1]D. Tran, H. Wang, L. Torresani, J. Ray, Yann LeCun, and Manohar Paluri, โ€œA closer look at spatiotemporal convolutions for action recognition,โ€ 2018. https://arxiv.org/abs/1711.11248

[2]F. I. Kandil, A. Rotter, and M. Lappe, โ€œCar drivers attend to different gaze targets when negotiating closed vs. open bends,โ€ Journal of Vision, vol. 10, Art. no. 4, Apr. 2010, doi: https://doi.org/10.1167/10.4.24.

[3]P. Simeonov et al., โ€œEvaluation of advanced curve speed warning system to prevent fire truck rollover crashes,โ€ Journal of safety research, vol. 83, pp. 388โ€“399, 2022..

[4]S. Chowdhury, M. Faizan, and H. M. Imran, โ€œAdvanced curve speed warning system using standard GPS technology and road-level mapping information.,โ€ 2020, pp. 464โ€“472.

[5]C. D. Mole, G. Kountouriotis, J. Billington, and R. M. Wilkie, โ€œOptic flow speed modulates guidance level control: New insights into two-level steering.,โ€ Journal of experimental psychology: human perception and performance, vol. 42, Art. no. 11, 2016.

[6]S. Raviteja and R. Shanmughasundaram, โ€œAdvanced driver assitance system (ADAS),โ€ 2018, pp. 737โ€“740. doi: https://doi.org/10.1109/ICCONS.2018.8663146.

[7]TensorFlow, โ€œVideo classification with a 3D convolutional neural network.โ€

[8]B. Guan, Q. Yu, and F. Fraundorfer, โ€œMinimal solutions for the rotational alignment of IMU-camera systems using homography constraints,โ€ Computer vision and image understanding, vol. 170, pp. 79โ€“91, 2018.

[9]Jumaa, Bassim Abdulbaqi, A. A. Mousa, and A. A. Mousa, โ€œAdvanced driver assistance system (ADAS): A review of systems and technologies,โ€ International Journal of Advanced Research in Computer Engineering & Technology (IJARCET), vol. 8, Art. no. 6, 2019.

Links

Resource Link
Final Dataset UK-Road-Bend-Classification
Trained Models RGB & Optical Flow Models
Raw Dashcam Videos UK-Road-DashCam
Component Testing Dataset Stereo-Road-Curvature-Dashcam
Source Code GitHub Repo
Calibration Files Camera Calibration

Music Credit

							
							Song: Ethereal
							Composer: Punch Deck
							Website:
							 https://www.youtube.com/channel/UC3M9CX5HWSw25k5QL3FkDEA
							License:
							 Creative Commons (BY 3.0)
							 https://creativecommons.org/licenses/by/3.0/
							Music powered by BreakingCopyright:
							 https://breakingcopyright.com
							
						

Thank you!