OpenCV-based Autonomous Vehicle

OpenCV 기반 자율 주행 자동차

  • Lee, Jin-Woo (Korea Polytechnic University Convergence Technology Education Center) ;
  • Hong, Dong-sun (Korea Polytechnic University Convergence Technology Education Center)
  • 이진우 (한국폴리텍대학 융합기술교육원) ;
  • 김남호 (한국폴리텍대학 융합기술교육원)
  • Published : 2018.10.18

Abstract

This paper summarizes the implementation of lane recognition using OpenCV, one of the open source computer vision libraries. The Linux operating system Rasbian(r18.03.13) was installed on the ARM processor-based Raspberry Pi 3 board, and Raspberry Pi Camera was used for image processing. In order to realize the lane recognition, Canny Edge Detection and Hough Transform algorithm implemented in OpenCV library was used and RANSAC algorithm was used to prevent shaking of vanishing point and to detect only the desired straight line. In addtion, the DC motor and the Servo motor were controlled so that the vehicle would run according to the detected lane.

본 논문에서는 오픈 소스 컴퓨터 비전 라이브러리 중 하나인 OpenCV를 사용하여 차선 인식 기능을 구현한 내용을 정리하였다. ARM 프로세서 기반인 Raspberry Pi 3 보드에 Linux 운영체제인 Rasbian(r18.03.13)을 탑재하였고, 영상처리를 수행하기 위해 Raspberry Pi Camera를 사용하였다. 차선인식을 구현하기 위해서 OpenCV 라이브러리에 구현된 Canny Edge Detection, Hough Transform 알고리즘을 사용하였고, 소실점(Vanishing Point)의 흔들림을 방지하고 원하는 직선만을 검출하도록 RANSAC 알고리즘을 사용하였다. 또한, 검출된 차선에 따라 자동차가 주행하도록 DC모터와 Servo모터를 제어하였다.

Keywords