Paper
14 February 2024 Nighttime lane detection and vehicle position determination based on OpenCV
Leilei Chen, Yingshun Liu, Weiye Zhang
Author Affiliations +
Proceedings Volume 13018, International Conference on Smart Transportation and City Engineering (STCE 2023); 1301812 (2024) https://doi.org/10.1117/12.3024000
Event: International Conference on Smart Transportation and City Engineering (STCE 2023), 2023, Chongqing, China
Abstract
Lane detection plays a significant role in computer vision and autonomous driving applications. However, it encounters challenges under low-light conditions during nighttime, where images are darker and real-time processing is necessary. In this study, a nighttime lane detection method based on OpenCV is proposed. Initially, image contrast stretching is applied to enhance brightness as a preprocessing step. By adjusting the grayscale range of the image, lane line features can be captured more effectively. Median filtering and bilateral filtering are then employed to reduce noise interference in the image. To address potential left-right deviation caused by the camera, a novel dynamic Region of Interest (ROI) method is introduced. This method adaptively adjusts the ROI based on real-time image analysis, thereby reducing false detections and improving overall detection performance. Canny edge detection and Hough transform are utilized to locate the lane lines. Finally, lane fitting and drawing techniques are applied to determine the vehicle's position within the lane. Experimental results demonstrate the high accuracy and robustness of the proposed nighttime lane detection method, which incorporates enhanced images and the dynamic ROI approach. The method accurately identifies the vehicle's lane position, providing essential visual guidance for autonomous driving systems.
(2024) Published by SPIE. Downloading of the abstract is permitted for personal use only.
Leilei Chen, Yingshun Liu, and Weiye Zhang "Nighttime lane detection and vehicle position determination based on OpenCV", Proc. SPIE 13018, International Conference on Smart Transportation and City Engineering (STCE 2023), 1301812 (14 February 2024); https://doi.org/10.1117/12.3024000
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Tunable filters

Digital filtering

Image filtering

Image processing

Edge detection

Autonomous driving

Hough transforms

Back to Top