Linetracking with opencv

From ESE205 Wiki
Revision as of 13:26, 3 December 2018 by George (talk | contribs) (Process)
Jump to: navigation, search


This Tutorial will show how to make a line detection and find a center of line for a line following pi car.


You will need a Raspberry pi 3 with python installed and Pi camera (Webcam works too). you also need to install OpenCV onto your Raspberry Pi. We can follow instructions to install OpenCV. If it is the first time to use pi camera, to be able to access the Raspberry pi camera with OpenCV and Python, we recommend to look at this instruction. For interfacing with the Raspberry Pi camera module using Python, the basic idea is to install picamera module with NumPy array support since OpenCV represents images as NumPy arrays when using Python bindings.


If you are using Webcam,


Pi Car Discovery Group

Group Link

group project page

Weekly logs