Computer Vision Applications in Autonomous Vehicles

Computer vision for self driving cars: where cameras sit beside lidar and radar, why rain, glare and night break them, and how perception is measured.

Computer Vision Applications in Autonomous Vehicles
Written by TechnoLynx Published on 22 Apr 2025

In computer vision for self driving cars, the camera supplies the rich semantic information that radar and lidar lack. It is cheap compared with radar and lidar, and it captures the colour and edges that classification and scene understanding depend on. Its weak points are depth, range and illumination: a camera-based system lacks accurate depth information, its measuring range runs from centimetres to about 100 metres, and light and weather such as fog and haze significantly affect it. Production systems therefore pair cameras with radar and, at higher automation levels, with lidar and a high-definition (HD) map.

In practice its failures cluster around light and weather.

Computer vision for self driving cars beside lidar, radar and ultrasonics

Autonomous vehicles typically carry four kinds of perception sensor (cameras, radar, lidar and ultrasonic sensors), with GPS and inertial units for localisation. Each sensor covers a gap left by the others, which is why the nuScenes authors argue that no single sensor type is sufficient.

Sensor What it gives perception Where it falls short Typical range
Camera (mono, stereo, surround) Colour, edges and boundaries for classification, lanes, signs and scene understanding No direct depth; badly affected by light, fog, rain and glare Centimetres to about 100 m
Radar (24 or 77 GHz) Range, angle and relative velocity through the Doppler effect; robust in dust, rain and poor light Very sparse returns, weak localisation, little semantic information About 70 m at 24 GHz, about 200 m at 77 GHz
Lidar Accurate 3D geometry that works without external light Sparse at distance, weak on small or thin objects, degraded by heavy rain and fog Typically 50 to 150 m per the nuScenes authors; up to 200 m for lidar in general per a 2023 survey

On KITTI, objects more than 60 m from the vehicle usually return fewer than 10 lidar points but still cover more than 400 image pixels. At that distance the camera has far more pixels on the object but lacks accurate depth information.

How does computer vision work in a self-driving car, from camera frame to driving decision?

A camera-based vision pipeline runs in fixed stages: capture, video decoding, preprocessing (resizing, noise reduction), specialised models for vehicles, pedestrians, lanes and signs, then a higher-level stage that merges those outputs into decisions such as safe following distance, and finally commands to the actuators. The perception module’s output feeds prediction and planning, which turn it into a trajectory.

YOLOP, which does object detection, drivable-area segmentation and lane detection in one network, reached 41 FPS on an NVIDIA TITAN XP and 23 FPS on a Jetson TX2 in its 2021 paper. Its authors chose a shared multi-task design specifically to cut compute and inference time compared with running three separate models. YOLOPv2 later reported 91 FPS on a Tesla V100, against 49 FPS for YOLOP under the same settings. Our piece on the perception pipeline under a latency contract goes into how the frame budget gets split.

Where classical OpenCV-style vision still earns its place

Convolutional networks have replaced most hand-engineered image processing in this pipeline, because manual features break under changes in scale, rotation and conditions. Classical methods have not gone away, though. A 2024 review notes that Mobileye still uses conventional computer vision algorithms aided by deep learning. Classical stereo matching (cost computation, aggregation, disparity optimisation and refinement) also remains practical, because CNN-based disparity estimators have been too heavy for most in-vehicle use.

Classical algorithms also offer verifiability that DNN-based perception lacks. Runtime monitors use classical computer vision and physical laws as domain-knowledge checks on a neural network’s output. The Perception Simplex architecture places a classical, analysable obstacle detector beside an unverifiable DNN to catch the faults the DNN misses.

What are the main production computer vision applications in autonomous vehicles today?

A 2023 survey of deployed systems identifies four computer vision applications in current autonomous driving systems: depth estimation, object detection, lane detection and traffic-sign recognition. These feed driver-assistance features. Object detection for pedestrians, cyclists and vehicles triggers collision warnings and, if the driver does not react, automatic emergency braking. Lane-centring systems rely on tracking and following lane markings. A front camera detecting light sources drives automatic high-beam switching.

Subaru’s EyeSight uses a stereo RGB camera behind the windscreen, and no other perception sensor, to detect pedestrians, cyclists and vehicles and estimate their distance. In the nuScenes paper’s tracking results, all methods use tracking-by-detection and all but two use a Kalman filter.

A 2024 hardware review cites CNN lane detection at 90% accuracy against 80% for traditional image processing. Figures like these are useful for comparing methods, but they tell you little about a wet road at night, which is where the later sections go. For a broader look at production deployments outside automotive, see where computer vision actually lives in production.

How do computer vision stacks differ between Level 2 ADAS and Level 4 deployments?

At Level 2 the system assists and a supervising driver must intervene as necessary. At Level 4 the system must handle its own fallback without human intervention. SAE J3016 defines six levels, from Level 0 (no automation) to Level 5 (driving under all conditions).

SAE level What the system does Typical sensor mix
L0 Momentary intervention, such as automatic emergency braking and forward collision warning Cameras and radar
L1 Sustained longitudinal or lateral control, such as adaptive cruise or lane centring Cameras and radar
L2 Both at once; the driver supervises and must intervene Camera, radar and ultrasonic; no lidar or HD map
L3 Object and event detection and response; the driver takes over on request Camera, radar, lidar and ultrasonic, plus an HD map matched against lidar for localisation
L4 System fallback with no human needed inside a geofenced area, such as a driverless taxi Cameras, radar, lidar, GPS and HD map data

A 2023 vision-radar survey says cameras and radar have dominated production cars at Levels 2 and 3 for more than a decade, while lidar is the common choice at Level 4 and above. A 2023 review of end-to-end driving puts the split slightly differently: camera-radar up to Level 3 for value, lidar-camera beyond it for very high recall without a human driver. At the time of the 2023 survey, most deployed systems were Level 2, with Mercedes-Benz Drive Pilot and Volvo Ride Pilot named as the Level 3 exceptions. At Level 4, a 2024 review reports Waymo has been building a driverless taxi business since 2016, offering rides within specific areas of Arizona.

As reported in the same 2024 review, Qualcomm specifies about 30 TOPS for its Level 1 and 2 chip and up to 700 TOPS at 130 W for fully autonomous driving.

At Level 2, an end-to-end lane follower can even replace the middle of the stack with one neural network. A Level 4 system handles its own fallback without human intervention inside its geofenced area.

How does sensor fusion change the computer vision architecture versus camera-only stacks?

Some programmes rely on cameras alone: cameras are low-cost sensors that meet mass-production needs, and some researchers and companies believe autonomous driving will be possible with cameras only. Tesla moved from a radar-centred system to camera-based “pure vision”, a choice the authors of a 2021 adverse-weather survey say does not fit their expectations for tackling adverse weather, given each sensor’s known weaknesses alone.

On the KITTI 3D detection leaderboard, the best monocular method (DD3D) reached 16.87% mAP, the best stereo method (LIGA-Stereo) 64.66% and the best lidar-only method (BtcDet) 82.86%. In a benchmark of 27 corruption types across lidar and camera inputs, camera-only 3D detectors proved extremely vulnerable to image corruptions, while lidar-camera fusion models were more robust. All of the top eight methods on the nuScenes detection leaderboard were fusion-based at the time of the 2021 survey.

On nuScenes, the lidar baseline PointPillars beat the camera-based MonoDIS on cars (68.4% vs 47.8% AP) and pedestrians (59.7% vs 37.0%), but MonoDIS won on bicycles (24.5% vs 1.1%) and traffic cones (48.7% vs 30.8%), because bicycles are thin objects with few lidar returns and traffic cones are small and easily overlooked in a lidar point cloud.

Fusion can happen early (on raw data), late (on each sensor’s detections) or deep (on learned features exchanged between branches). Late fusion lets teams reuse independent detectors, but its heuristics struggle when camera and radar disagree. One camera-primary fusion method discards detections sensed only by the radar. Bird’s-eye-view (BEV) fusion, which lifts image features into 3D and fuses them with lidar features, has proved robust against degraded images and sensor misalignment. Every projection and quantisation step also loses some information, so the choice of fusion stage, input and granularity is itself a source of error.

A camera-only stack has to solve depth, night and glare from pixels; a fused stack has to solve calibration, synchronisation and disagreement between sensors.

Why vision models struggle in rain, glare and at night

Cameras sense visible light reflected from objects, so light and weather conditions degrade them significantly. The data shows this happening. In the nuScenes paper, object detection mAP dropped by 55% and 58% at night for two camera-based methods, against 36% for a lidar method. The rain drop was small, partly because nuScenes labels any scene with raindrops on the windscreen as rainy, whether or not rain is falling.

Glare fails in two ways: directly, when a low sun hits the lens, and indirectly, when sunlight off a wet road overexposes the region where lane markings sit. On the GLARE traffic-sign dataset (2,157 images from 33 US dashcam videos), detectors trained on the standard LISA dataset averaged only 19.4 [email protected]:0.95. Training on glare images raised that to 39.6, and training on mixed conditions to 42.3. The GLARE authors cite a US Department of Transportation report of as many as 9,000 glare-related accidents a year. Under very strong light, a survey test recorded zero recall for an RGB camera across three object classes, while a thermal camera could still pick out objects. A single water drop on the lens can also make a camera’s input unusable, whatever its resolution.

Field tests show the same pattern. In the US Federal Highway Administration’s AVAW Phase 3 testing, vehicles failed to follow pavement markings in daytime and night-time glare, and night-time wet conditions impaired a single-camera vehicle’s marking detection. In winter testing, a lidar and HD map vehicle outperformed a multi-camera one. Across the summer tests, a vehicle with eight cameras did better than one with a single forward camera in every weather condition. NHTSA’s Office of Defects Investigation identified four crash reports in which Tesla vehicles with FSD engaged crashed after entering areas of reduced roadway visibility. It is examining how well the system detects and responds to those conditions. A 2023 survey attributes the four Tesla fatalities among the five Level 2 fatalities recorded up to August 2020 to perception failures.

Snow perception is still at the stage of building datasets. Occlusion, low light and small objects are among the edge cases that lead to high rates of missed and false detections. A 2021 survey calls adverse weather the problem that has long kept autonomous vehicles from reaching Level 4 or higher. HDR cameras handle glare and shadow but smear moving objects. Thermal cameras resist strong light but capture less texture. Neither replaces training and testing on the conditions themselves.

Which datasets and benchmarks drive AV computer vision, and where do they fall short?

nuScenes was the first dataset to carry the full sensor suite (6 cameras, 5 radars, 1 lidar, all 360°) and the first multimodal dataset with night and rain data, across 1,000 annotated scenes. Even so, only 19.4% of it is rain and 11.6% night. BDD100K’s 100,000 frames cover more weather and lighting variety than Cityscapes or CamVid.

The authors of the DEAP edge-case dataset report that over 98% of annotated data in public datasets is collected in well-lit, clear conditions on typical roads. ACDC splits 4,006 images equally between fog, night, rain and snow for semantic segmentation. DEAP collects over 2,000 edge-case scenarios in 14,057 annotated samples across five categories, including low light, ground reflection and anomalous traffic events. Waymo’s WOD-E2E curates 4,021 segments (about 12 hours) of scenarios that occur less than 0.03% of the time.

Many modular perception techniques rely on offline datasets, while closed-loop evaluation runs in an online simulator. The WOD-E2E authors found that average displacement error does not correlate reliably with a human-aligned trajectory score in long-tail scenarios. A good leaderboard score is a necessary entry ticket, not evidence of road robustness.

How perception outputs are measured so errors are caught before motion planning

Standard detection metrics count matches against ground truth. A prediction is a true positive when its intersection over union (IoU) with the ground-truth box exceeds a threshold (often 0.5); unmatched predictions are false positives and missed objects are false negatives; mAP averages precision across classes. nuScenes matches on ground-plane centre distance instead, because a small object like a pedestrian, slightly offset, can score zero IoU. It adds translation, scale, orientation, velocity and attribute errors, rolled into the nuScenes Detection Score (NDS). Waymo weights precision by heading (APH) and has a variant that tolerates the longitudinal depth errors typical of cameras.

These metrics treat every mistake alike, and the planner does not. Missing an obstacle ahead of a vehicle moving forward is far more serious than missing one behind it. Planner-centric work therefore splits a perception error into a planning-invariant part, which does not change the planner’s decision, and a planning-critical part, which does. The Planning KL-divergence metric measures how detections change the downstream driving task.

On the road there is no ground truth to compare against, so runtime monitors detect errors indirectly. They can cross-check another sensor modality, apply domain knowledge, test temporal consistency, or watch the network’s internal activations. Softmax confidence is not enough: a digit classifier trained on MNIST assigned probabilities between 0.95 and 1 to about 4,000 of 10,000 clothing images it had never been trained on. Detection delay is the critical parameter, since a vehicle running perception at 10 FPS keeps moving between the moment an object is missed and the moment the miss is caught. Perception Simplex compares the DNN’s detections against a verifiable safety layer and overrides when an uncovered obstacle carries collision risk. That safety layer also runs with much lower latency than the mission layer. When a fault is detected, a Safe Fail strategy (such as handing control to the driver) keeps the vehicle in a safe state.

For how these constraints combine with latency and safety targets across the stack, see our overview of perception, latency and safety constraints in autonomous cars.

How do AV teams test perception robustness before a release, and what evidence do reviewers expect?

The framing is ISO 21448 (SOTIF), published in June 2022. It covers hazards caused by functional insufficiencies, including performance insufficiencies in sensors and algorithms, for functions that depend on complex sensing at automation Levels 1 to 5. SOTIF covers faults that ISO 26262 cannot account for, such as a component failing to comprehend its environment. It expects the residual risk from unsafe-known inputs (outside the operational design domain) and unsafe-unknown inputs (outside the training distribution) to be reduced to an acceptable level. Field error can exceed test error, which is why operational error is tracked separately from test-set error.

Treating that evidence as reliability engineering, separate from model accuracy, is our position: regression suites, task-specific evaluation harnesses, drift detection and release-readiness reviews are the artefacts that catch perception failures on rare classes before customers do.

Release evidence checklist for a perception model

  • Defined ODD. Inputs outside the operational design domain count as unsafe-known, and their residual risk must be reduced to an acceptable level.
  • Condition-sliced results. Adverse-condition sets such as ACDC, GLARE and DEAP cover fog, night, rain, snow, glare and other edge cases.
  • Corruption robustness. The model is scored against systematic corruptions of camera and lidar input, including motion-level corruptions, which hit every model hardest.
  • Long-tail coverage. Rare scenarios are curated and scored with a metric that reflects multi-modal driving behaviour.
  • Planner-aware metrics. Regressions are checked for planning-critical impact, not only for mAP change.
  • Explicit pass/fail criteria. Each test has a stated failure condition. FHWA, for example, ended a run when a vehicle disengaged or drifted more than a foot from its lane for 2 seconds or more.
  • Runtime monitor behaviour. Detection delay and fallback behaviour are tested with injected perception faults, as Perception Simplex did in simulation.
  • Regression against the previous release. The same suite runs on the shipped model and the candidate, so a silent quality drop on a rare class shows up before release.

Simulators with adjustable weather and time of day let teams run these conditions before road testing.

What methods, challenges and future directions does the research literature identify, including end-to-end driving?

Published methods include CNN and YOLO-family detectors, multi-task networks and learned BEV fusion. Perception degradation in adverse weather and datasets dominated by clear conditions remain key limitations. Deep, learned camera-radar fusion is the direction one 2023 survey sees as most promising. Others point to new sensors: thermal and event cameras, and hyperspectral imaging, which identifies materials and resists lighting problems. Synthetic weather effects in training data are also gaining ground because real adverse-weather data is hard to collect.

End-to-end driving is a different architecture. It learns one mapping from sensor input straight to steering, braking and acceleration. The idea is old: ALVINN fed camera and laser range data to a network that steered, and NVIDIA’s 2016 network followed lanes in sun, rain and snow, though only for steering. Interpretability is one of its major drawbacks. When an end-to-end system misbehaves, it is very hard to target a fix, leaving teams to feed in more data. Datasets such as WOD-E2E now evaluate end-to-end models directly on long-tail scenarios.

End-to-end models make the measurement problem harder, not easier, because there is no intermediate perception output to gate before planning. The checks described above would have to move to the trajectory, or be rebuilt through auxiliary outputs. For how the learned components inside a modular stack fit together, see how machine learning powers the AV perception stack.

Which conditions the sensor mix leaves to vision alone

Whatever the SAE level, a programme has to settle two questions: which conditions its sensor mix leaves to the camera alone, and whether its evaluation suite measures those exact conditions. In the FHWA tests, camera-based Level 2 lane centring failed to follow markings in glare. The published numbers (the night mAP drops on nuScenes, the glare collapse on GLARE, the FHWA marking failures) show where to look first. They do not show where a specific model breaks; only that model’s own condition-sliced regression suite can. TechnoLynx’s AI engineering for manufacturing and automotive page describes the automotive side of that engineering work.

Back See Blogs
arrow icon