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.


    Access

    Check access

    Check availability in my library

    Order at Subito €


    Export, share and cite



    Title :

    Nighttime lane detection and vehicle position determination based on OpenCV


    Contributors:

    Conference:

    International Conference on Smart Transportation and City Engineering (STCE 2023) ; 2023 ; Chongqing, China


    Published in:

    Proc. SPIE ; 13018


    Publication date :

    2024-02-14





    Type of media :

    Conference paper


    Type of material :

    Electronic Resource


    Language :

    English



    Lane Line Detection Technology Based on OpenCV for Specific Scenarios

    Liu, Wei / Lu, Cunhao / Zhang, Ning | IEEE | 2022


    Nighttime Vehicle Detection Based on Lane Information and Detector with Convolutional Neural Network Features

    Zhang, Bingli / Qin, Haoran / Zheng, Jieyu et al. | SAE Technical Papers | 2020


    Nighttime Vehicle Detection Based on Lane Information and Detector with Convolutional Neural Network Features

    Zhang, Bingli / Zheng, Jieyu / Jiang, Shang et al. | British Library Conference Proceedings | 2020


    Vehicle Detection and Counting in Traffic Video Based on OpenCV

    Wang, Wen Jun ;Gao, Meng | Trans Tech Publications | 2013


    Nighttime lane markings recognition based on Canny detection and Hough transform

    Li, Yadi / Chen, Liguo / Huang, Haibo et al. | IEEE | 2016