Skip to content

Predicting car turn direction, computing curvature radius, and identifying the driving lane areas on KITTI data

Notifications You must be signed in to change notification settings

roniepatil/Lane-detection-and-turn-prediction

Repository files navigation

Lane detection and turn prediction

Developed a lane detection algorithm using edge detection, Hough transform, homography, and curve-fitting techniques. Achieved 95% accuracy in predicting car turn direction and computing curvature radius. Used semantic segmentation to identify the drivable areas.


Results

  • Lane detection
    • alt text
  • Turn prediction
    • alt text

Dependencies

Plugin
scipy
numpy
cv2
matplotlib
glob

Instructions to run

Problem 1.a) Histogram equaliztion - Full image:

python prob1_all_frames_video.py

or

python3 prob1_all_frames_video.py

Problem 1.b) Adaptive Histogram equaliztion - :

python prob1b_all_frames_video.py

or

python3 prob1b_all_frames_video.py

Problem 2) Lane detection:

python prob2_video.py

or

python3 prob2_video.py

Problem 3) Turn prediction:

python prob3_video.py

or

python3 prob3_video.py

**Find all the outputs after running the code in their respective output folder eg:prob1_output, prob2_output, prob3_output **

About

Predicting car turn direction, computing curvature radius, and identifying the driving lane areas on KITTI data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages