zugaldia / android-robocar

Build your own robocar, remote-controlled or autonomous, with Android Things.
BSD 2-Clause "Simplified" License
94 stars 21 forks source link

Integrate lane detection using OpenCV #5

Closed zugaldia closed 7 years ago

zugaldia commented 7 years ago

Inspired by the approaches presented on https://github.com/udacity/CarND-LaneLines-P1.

To verify functionality is similar, the same test images are being used.

zugaldia commented 7 years ago

Basic lane detection up and running. There're many things that can be optimized here, but this is PR gives enough tools to start analyzing images:

For now, we have support for grayscale conversion:

solidwhiteright_grayscale

Gaussian blur:

solidwhiteright_gaussian

Canny:

solidwhiteright_canny

Line drawing:

solidwhiteright_line

Hough:

solidwhiteright_lanes