Skip to content
المشاريع

georgesung/road_lane_line_detection

عرض على GitHub

حول

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

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…