Implementation of Lane Detection Algorithm for Self-driving Vehicles Using Tensor Flow

  • Hyunhee ParkEmail author
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 773)


Recently, systems for detecting and tracking moving objects from video are gaining research interest in the field of image processing, owing to their applications in fields such as security, observation, and military, and considerable research is being conducted to develop high-accuracy and high-speed processing systems. In particular, as interest in autonomous driving has increased rapidly, various algorithms for lane keeping assistance devices have been developed. This study proposes a lane detection algorithm by comparing color-based lane detection algorithms and using a lane detection algorithm based on representative line extraction. Edge extraction and Gaussian filters are applied for lane detection and a Median filter is applied for image noise reduction. The detection accuracy is improved by extracting the region of interest for the image based on four pointers. Finally, a Hough transform is applied to improve the accuracy of straight line detection, and an algorithm to extract representative lines is applied to increase the detection rate in shadow regions and dark areas. Experimental results show that the proposed algorithm can detect lanes with high accuracy. The application of this algorithm to vehicle black boxes or autonomous driving will help prevent lane departure and reduce accident rates.



This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. 2017R1C1B5017556).

The simulation results of this paper are performed by Hwan Kim (Seoul Sanggye High School, and Yonghee Lee (Seoul Sanggye High School, Information Instructor,


  1. 1.
    Aziz, M., Prihatmanto, A., Hindersah, H.: Implementation of lane detection algorithm for self-driving car on toll road cipularang using Python language. In: International Conference on Electric Vehicular Technology, Paris, pp. 144–148 (2017)Google Scholar
  2. 2.
    Park, H., Park, S., Kim, E.: A road condition-based routing and greedy data forwarding algorithm for VANETs. Ad Hoc Sens. Wirel. Netw. 33, 301–3019 (2016)Google Scholar
  3. 3.
    Paula, M., Jung, C.: Automatic detection and classification of road lane markings using onboard vehicular cameras. IEEE Trans. Neural Netw. Learn. Syst. 28, 690–703 (2017)CrossRefGoogle Scholar
  4. 4.
    Uchida, N., Ishida, T., Shibata, T.: Delay tolerant networks-based vehicle-to-vehicle wireless networks for road surveillance systems in local areas. Int. J. Space-Based Situated Comput. 6, 12–20 (2016)CrossRefGoogle Scholar
  5. 5.
    Bente, T., Szaghalmy, S., Fazekas, A.: Detection of lanes and traffic signs painted on road using on-board camera. In: International Conference on Future IoT Technologies, Eger Hungary, pp. 1–7 (2018)Google Scholar
  6. 6.
    Ito, K., Hirakawa, G., Arai, Y., Shibata, Y.: A road condition monitoring system using various sensor data in vehicle-to-vehicle communication environment. Int. J. Space-Based Situated Comput. 6, 21–30 (2016)CrossRefGoogle Scholar
  7. 7.
    Zhang, Y., Wang, J., Wang, X., Dolan, J.: Road-segmentation-based curb detection method for self-driving via a 3D-LiDAR sensor. IEEE Trans. Intell. Transp. Syst. 99, 1–11 (2018)Google Scholar
  8. 8.
    Li, X., Liu, J., Li, X., Li, H.: A reputation-based secure scheme in vehicular ad hoc networks. Int. J. Grid Util. Comput. 6, 83–90 (2015)CrossRefGoogle Scholar
  9. 9.
    Wang, C., Huang, S., Fu, L.: Driver assistance system for lane detection and vehicle recognition with night vision. In: International Conference on Intelligent Robots and Systems, Edmonton, Canada, pp. 3530–3535 (2005)Google Scholar
  10. 10.
    Satzoda, R., Sathyanarayana, S., Srikanthan, T., Sathyanarayana, S.: Hierarchical additive hough transform for lane detection. IEEE Embed. Syst. Lett. 2, 23–26 (2010)CrossRefGoogle Scholar
  11. 11.
    Li, J., Mei, X., Prokhorov, D., Tao, D.: Deep neural network for structural prediction and lane detection in traffic scene. IEEE Trans. Neural Netw. Learn. Syst. 28, 690–703 (2017)CrossRefGoogle Scholar
  12. 12.
    Hanna, M., Kimmel, S.: Current US federal policy framework for self-driving vehicles: opportunities and challenges. Computer 50, 32–40 (2017)CrossRefGoogle Scholar
  13. 13.
    Cheng, H., Yu, C., Tseng, C., Fan, K., Hwang, J., Jeng, B.: Environment classification and hierarchical lane detection for structured and unstructured roads. IET Comput. Vis. 4, 37–49 (2010)CrossRefGoogle Scholar
  14. 14.
    Huang, R., Chang, B., Tsai, Y., Liang, Y.: Mobile edge computing-based vehicular cloud of cooperative adaptive driving for platooning autonomous self driving. In: International Symposium on Cloud and Service Computing, Kanazawa, Japan, pp. 32–39 (2017)Google Scholar
  15. 15.
    Ozgunalp, U., Xiao, R., Dahnoun, A.: Multiple lane detection algorithm based on novel dense vanishing point estimation. IEEE Trans. Intell. Transp. Syst. 18, 621–632 (2017)CrossRefGoogle Scholar
  16. 16.
    Yoo, J., Lee, S., Park, S., Kim, D.: A robust lane detection method based on vanishing point estimation using the relevance of line segments. IEEE Trans. Intell. Transp. Syst. 18, 3254–3266 (2017)CrossRefGoogle Scholar
  17. 17.
    Chen, S., Shang, J., Zhang, S., Zheng, N.: Cognitive map-based model: toward a developmental framework for self-driving cars. In: International Conference on Intelligent Transportation Systems, pp. 1–8. MIT, Cambridge (2017)Google Scholar
  18. 18.
    Paula, M., Jung, C.: Automatic detection and classification of road lane markings using onboard vehicular cameras. IEEE Trans. Intell. Transp. Syst. 16, 3160–3169 (2015)CrossRefGoogle Scholar
  19. 19.
    Nugraha, B., Fahmizal S.: Towards self-driving car using convolutional neural network and road lane detector. In: International Conference on Automation, Cognitive Science, Optics, Micro Electro–Mechanical System, and Information Technology, Jakarta, Indonesia, pp. 65–69 (2017)Google Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2019

Authors and Affiliations

  1. 1.Department of Computer SoftwareKorean Bible UniversitySeoulKorea

Personalised recommendations