• Stars
    star
    285
  • Rank 144,302 (Top 3 %)
  • Language
    Jupyter Notebook
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Find lane lines on the road using Python and OpenCV, applying Canny edge detectors and Hough line transforms

Finding Lane Lines on the Road

Combined Image

This project detects lane lines using Python and OpenCV. A video of the end-result can be found at:

https://www.youtube.com/watch?v=EZcHGsPX55Y

Dependencies

  • Python 3.5
  • NumPy
  • OpenCV
  • Matplotlib
  • MoviePy

How to run

To run the script stand-alone:

Usage: lane_lines.py [options]

Options:
  -h, --help            show this help message and exit
  -i INPUT_FILE, --input_file=INPUT_FILE
                        Input video/image file
  -o OUTPUT_FILE, --output_file=OUTPUT_FILE
                        Output (destination) video/image file
  -I, --image_only      Annotate image (defaults to annotating video)

For example, to detect lanes lines on the video 'challenge.mp4', run:

python lane_lines.py -i challenge.mp4 -o extra.mp4

To detect lane lines on a single image (e.g. for debugging), run:

python lane_lines.py -i input_image.jpg -o output_image.jpg -I

For detailed explanation of what the code does, and example images of intermediate steps, refer to P1.ipynb via jupyter notebook

More Repositories

1

ssd_tensorflow_traffic_sign_detection

Implementation of Single Shot MultiBox Detector in TensorFlow, to detect and classify traffic signs
Python
514
star
2

advanced_lane_detection

Advanced lane detection using computer vision
Python
493
star
3

llm_qlora

Fine-tuning LLMs using QLoRA
Python
50
star
4

LLM-WikipediaQA

Document Q&A on Wikipedia articles using LLMs
Jupyter Notebook
43
star
5

deep_rl_acrobot

TensorFlow A2C to solve Acrobot, with synchronized parallel environments
Python
33
star
6

vehicle_detection_hog_svm

Vehicle detection using HOG + SVM and sliding windows
Python
31
star
7

traffic_sign_classification_german

Traffic sign classification for the German Traffic Sign Dataset
HTML
30
star
8

behavioral_cloning

Deep learning to train an autonomous vehicle to mimic human driving
Python
25
star
9

ssd_vehicle_detection

Python
6
star
10

ml_competition_didi

My entry into DiDi Research's machine learning algorithm competition (http://research.xiaojukeji.com/competition/main.action?competitionId=DiTech2016)
Python
5
star
11

neurips2018_rl_challenge

Reinforcement learning for human walking motion with prosthetic leg
Python
2
star
12

tennis-match

Tennis match-making web app to find tennis partners of similar skill, at preferred time and place
Python
2
star
13

model_predictive_control

Udacity Self-Driving Car Nanodegree: MPC Project
C++
1
star
14

particle_filter

Udacity Self-Driving Car Nanodegree: Particle Filter Project
C++
1
star
15

ml_nanodegree_customer_segments

Jupyter Notebook
1
star
16

udacity_deeplearning

Deep learning course assignments from Udacity's Deep Learning course
Jupyter Notebook
1
star