Skip to content

AvivDean/lane-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

lane-detection

cv project for detecting lanes while driving

  1. Extracting a frame’s data from the video
  2. Converting a frame from the video to RGB from BGR
  3. Getting the frame shape (height and width)
  4. Defining a region of interest to run the algorithm on, we chose an ROI in a shape of a small triangle so that it will cover the width of the driving lane and will converge ahead of the car
  5. Defined two functions, one that is covering everything else that it is not in our region of interest, and the other one is a function for drawing the lines of the lanes.
  6. Starting a while loop for the code to run on each frame at a time
  7. Converted the image to gray scales and applied canny mask on it, after that we used the function that covers everything else part for our ROI, on the canny image we created
  8. Applied the lanes function to draw the lanes on the frame

About

cv project for detecting lanes while driving

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published