Adding lane departure alert capabilities to my car with a Raspberry Pi 3
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Create an account to leave a comment. Already have an account? Log In.
Hi!
I am doing research in my phd studies for a similar topic. Could you able to achieve something? What is your master plan to process image for lane following?
Thanks
Hi there!
Sorry for the delay! This project has been on a small hold as my family moves for my new job.
I can give some details as to my plan though:
I am using a Pi3 as a minimum, with the PiCamera accessory. For processing, I plan on making a more naive version of the code I developed for the Udacity Self Driving Car Nanodegree's Project 4 (https://github.com/KyleARector/CarND-Advanced-Lane-Lines)
Using the video processing pipeline from that project, the Pi would not likely be able to process frames very quickly. The process involves binary thresholding each frame, aggregating the pixel column data to find the base of each lane line, and then using a sliding window search to find the rest of each lane line. It then fits a polynomial to each line, and draws that back on the image.
My ideal similar approach would skip the sliding window and instead do the pixel column aggregation in several horizontal segments of the frame. Then, a polynomial would be fit to a much smaller set of points per line, cutting down on compute time.
Some accuracy might be lost, but it might be a good enough approximation for lane departure checking.
If you are looking for a very naive approach, you could look at examples of the first project in the Udacity course on GitHub. Mine can be found at https://github.com/KyleARector/CarND-LaneLines-P1.
Also, Adrian at pyimagesearch.com has some excellent tutorials for installing OpenCV on a Pi.
I realize that was pretty long winded, but hopefully might help!
Become a member to follow this project and never miss any updates
Hi Kyle, I was checking your projects on github. Did you think to continue with the PRi when there is version 4 - more powerful ? I like that lane alert, car detection and traffic light detection. Would like to develop something like self-driving robot car that will learn the area (or use GPS and maps when bigger) + identify details about the oponent. For antonomous robot matches. But this may need LIDAR to find the oponent than identify lanes.