QueryEd.comLearn · Explore · Understand
Automotive · Software · Computer Vision

Understanding ADAS

A simple introduction to Advanced Driver Assistance Systems — how a vehicle senses its surroundings, recognises road users and supports safer driving.

PEDESTRIANLANE MARKING
What is ADAS?
ADAS is a collection of vehicle technologies that help the driver understand the road and respond to potential hazards. Cameras, radar, lidar, ultrasonic sensors and software can work together to detect lanes, vehicles, pedestrians and other objects. ADAS assists the driver; it does not make every driving situation safe or remove the need for attention.
Start here

ADAS fundamentals

Understand the building blocks before exploring individual algorithms.

📷

Perception

Collecting and interpreting information from cameras and other sensors to understand the environment around the vehicle.

Explore perception →
🧠

Computer vision

Using image-processing and machine-learning techniques to identify patterns, road markings, pedestrians and vehicles.

Explore the pipeline →
📡

Sensor technologies

Cameras provide visual information; radar measures range and relative speed; lidar measures distance using laser pulses.

Compare sensors →
Main learning blocks

ADAS perception systems

Each block introduces the purpose, typical algorithms and the engineering concepts worth revising.

Road understanding
🛣️

Lane recognition

Find lane boundaries and estimate the vehicle's position within the lane. Traditional methods include grayscale conversion, edge detection, region-of-interest selection, Hough Transform and curve fitting. Modern systems may use neural networks and semantic segmentation.

Learn lane recognition →
Vulnerable road users
🚶

Pedestrian detection

Locate pedestrians in camera images or video. Classical approaches include HOG features with an SVM classifier and sliding windows; modern systems commonly use CNN-based object detectors.

Learn pedestrian detection →
Object perception
🚙

Vehicle detection

Identify cars, vans, trucks and motorcycles, estimate their image locations and classify them. Outputs can support following-distance and collision-warning functions.

Learn vehicle detection →
Temporal perception
🎯

Object tracking

Associate detections across successive frames so the system can maintain object identities and estimate movement. Common concepts include Kalman filters, optical flow and data association.

Learn object tracking →
Scene understanding
🧩

Traffic sign & signal recognition

Recognise speed-limit signs, warning signs, traffic lights and their states. Systems combine image classification, detection and temporal validation.

Learn sign recognition →
Risk assessment
⚠️

Collision warning & AEB

Estimate whether an object may intersect the vehicle's path and whether intervention is required. Automatic Emergency Braking can apply braking when defined conditions are met.

Learn collision systems →
Environment modelling
🌐

Sensor fusion

Combine information from different sensors to build a more reliable estimate of the environment. Fusion may happen at raw-data, feature or object level.

Learn sensor fusion →
Road geometry
📐

Free-space detection

Estimate the drivable area by distinguishing road surface from kerbs, vehicles, barriers and other obstacles. Semantic segmentation is one approach.

Learn free-space detection →
Driver support
🧭

Driver monitoring

Use an in-cabin camera to estimate gaze, head pose or signs of distraction and drowsiness, subject to system design and privacy requirements.

Learn driver monitoring →
Topic 01

Lane recognition — how does it work?

A classical camera-based lane detection pipeline, often taught using image-processing techniques.

Typical classical pipeline

  1. Acquire image: capture a forward-facing road image.
  2. Preprocess: convert to grayscale and reduce noise.
  3. Edge detection: use Sobel or Canny to find strong intensity changes.
  4. Region of interest: focus on the road area and ignore much of the sky or roadside.
  5. Line detection: use the Hough Transform to identify candidate lane segments.
  6. Fit and track: combine line candidates or fit curves across frames.

Real systems must handle worn markings, shadows, glare, bends, roadworks and occlusion. A straight-line Hough model alone is not enough for every road.

Key algorithms to revise

GrayscaleRepresent image intensity without colour channels.
Gaussian blurReduce high-frequency noise before edge detection.
Canny edge detectorFind likely boundaries using gradients and hysteresis.
Hough TransformConvert edge points into candidate geometric lines.
ROIRegion of interest: restrict processing to a useful image area.
Curve fittingEstimate curved lane boundaries, often with polynomials.
Topic 02

Pedestrian detection — how does it work?

The system must find a person, locate them in the image and assess how their position changes over time.

Classical approach: HOG + SVM

  1. Convert the image region to a suitable intensity representation.
  2. Calculate local image gradients (direction and magnitude).
  3. Build Histograms of Oriented Gradients (HOG) over small cells.
  4. Normalise groups of cells to improve robustness to lighting.
  5. Pass the feature vector to a Support Vector Machine (SVM).
  6. Use sliding windows at different positions and scales to search the image.
  7. Apply Non-Maximum Suppression (NMS) to remove duplicate overlapping boxes.

HOG describes local edge/shape patterns; the SVM is the classifier. They are separate stages.

Modern approach: neural object detector

  1. Resize and prepare the camera frame.
  2. A CNN extracts learned visual features.
  3. The detection head predicts object classes and bounding boxes.
  4. Confidence filtering and duplicate handling refine detections.
  5. Tracking associates pedestrians across frames.
  6. Other modules estimate distance, motion and collision risk.

A detector's bounding box is not automatically a reliable distance measurement. Depth may require stereo, radar, lidar, calibrated geometry or learned estimation.

End-to-end view

A simplified ADAS software workflow

One way to understand how perception outputs can feed vehicle functions.

1Sensor inputCamera · Radar · Lidar
2PreprocessingCalibration · Filtering
3PerceptionLane · Object · Sign
4Fusion & trackingPosition · Velocity
5Decision / actionWarning · Braking · Assist

This is a conceptual flow. Production architectures differ: processing may be distributed across ECUs, and safety monitoring, diagnostics, redundancy and vehicle interfaces add further layers.

Hardware fundamentals

ADAS sensor technologies

📷

Camera

Captures colour or monochrome images. Useful for lane markings, signs, traffic lights and object classification. Performance depends on lighting, weather, optics and calibration.

📡

Radar

Uses radio waves to estimate range and relative velocity. Useful for detecting vehicles in poor visibility, although object classification may be less detailed than camera vision.

🔦

Lidar

Measures distance using laser light and produces 3D point clouds. Useful for geometric and depth information; cost, weather and sensor configuration matter.

〰️

Ultrasonic

Uses sound waves for short-range distance measurement, commonly supporting parking and low-speed manoeuvres.

🧭

IMU / vehicle signals

Inertial measurements and vehicle data such as speed, yaw rate and steering angle help estimate vehicle motion and support perception.

🔗

Sensor fusion

Combines complementary measurements, handles uncertainty and helps maintain a consistent view of surrounding objects.

Topic 03

Object tracking

Detection answers “what is in this frame, and where?” Tracking answers “is this the same object as before, and how is it moving?”

Kalman filterPredicts and updates an object's state using a motion model and measurements.
Optical flowEstimates apparent pixel movement between consecutive images.
Data associationMatches new detections to existing tracks.
Track lifecycleCreates, updates and removes tracks as objects enter or leave view.
Topic 04

Traffic sign and signal recognition

Traffic sign recognition identifies signs such as speed limits, no-entry and warning signs. Traffic light recognition estimates signal state and may need to associate a light with the correct lane or vehicle path.

Concepts: object detection, image classification, colour spaces, shape features, CNNs, temporal consistency and confidence thresholds.

Topic 05

Collision warning and Automatic Emergency Braking

Perception modules estimate object location and motion. A risk-assessment function may consider relative speed, distance, predicted path and time-to-collision (TTC). If defined intervention conditions are met, an AEB function can request braking through the vehicle control architecture.

Important: TTC is a simplified indicator, not a complete safety decision. Real systems account for uncertainty, object type, road geometry, driver input, operating conditions and system limitations.

Topic 06

Sensor fusion

Sensor fusion combines measurements from multiple sources to improve the estimate of the environment. For example, a camera may classify an object as a car while radar provides a strong estimate of its range and relative velocity.

Early / raw-data fusionCombine sensor measurements close to the input stage.
Feature-level fusionCombine extracted features from different sensors.
Object-level fusionCombine detections or tracked objects from separate sensors.
Coordinate framesTransform measurements into a common reference frame using calibration.
Topic 07

Free-space and road segmentation

Free-space detection estimates which part of the scene is safe or available for the vehicle to drive through. Semantic segmentation assigns a class to each pixel, such as road, pavement, vehicle, person or vegetation. The output can support path planning and lane-level understanding.

Topic 08

Driver monitoring

Driver monitoring systems use cabin-facing sensors to estimate driver attention, gaze direction, head pose or signs of drowsiness. Typical techniques include face detection, landmark/keypoint estimation and gaze estimation. These are separate from forward-facing road perception.

Quick reference

Basic ADAS definitions

Short explanations of terms frequently used in computer vision and automotive perception.

ADASAdvanced Driver Assistance Systems: technologies that support the driver and may intervene in defined situations.
ROIRegion of Interest: selected image area for processing.
HOGHistogram of Oriented Gradients: a feature descriptor based on local gradient directions.
SVMSupport Vector Machine: a supervised learning algorithm used for classification.
CNNConvolutional Neural Network: a neural network architecture widely used for image analysis.
Bounding boxA rectangle describing an object's location in an image.
Confidence scoreA model output indicating its confidence in a prediction; it is not necessarily a calibrated probability.
NMSNon-Maximum Suppression: removes many duplicate overlapping detections.
IoUIntersection over Union: overlap ratio between two bounding boxes or regions.
FPSFrames per second: number of processed or displayed frames each second.
InferenceUsing a trained model to make predictions on new data.
CalibrationDetermining sensor parameters and relationships between sensor coordinate frames.
Point cloudA collection of 3D points, commonly generated by lidar.
Time-to-collisionAn estimated time until collision under simplified assumptions about current motion.
False positiveA detection reported when the target object is not actually present.
False negativeA target object that is present but not detected.
Interactive learning

Visualise a basic lane-detection idea

This small illustration is conceptual, not a working camera algorithm. Toggle the overlay to see the lane boundaries a simplified system might estimate.

Lane boundary overlay

Observe how detected lane candidates can be represented over a road image.

FRONT CAMERA VIEW · SIMULATED

Lane boundary candidates are highlighted in cyan.

Further learning

Useful links and references

Documentation, research papers, datasets and simulation tools for practical study.

OpenCV — Hough Line TransformLearn classical line detection with OpenCV.
OpenCV — Canny Edge DetectionUnderstand gradients, thresholds and edge maps.
Dalal & Triggs — HOG for Human Detection (2005)Foundational research paper on HOG features and linear SVM pedestrian detection.
Ultralytics — Object DetectionModern detection workflow, classes, boxes and confidence scores.
Ultralytics — Object TrackingTrack objects across video frames.
KITTI Vision Benchmark SuiteAutonomous-driving datasets for stereo, optical flow, object detection and tracking.
CARLA SimulatorOpen-source driving simulator for autonomous-driving research.
Euro NCAPVehicle safety assessments, including driver assistance and vulnerable road-user protection.
AUTOSARAutomotive software architecture standards and working groups.
ASAM StandardsStandards used in automotive development, testing and simulation.
Check your understanding

Quick knowledge check

Which classical feature descriptor was widely used with an SVM for pedestrian detection?

Choose an answer to check your understanding.