Quay lại Trending
RepositoryPythonUSHoa Kỳ
Ayanzadeh93

Ayanzadeh93/Udacity-Advance-Lane-detection-of-the-road

Udacity Self-Driving Car Engineer Nanodegree Advanced Lane Finding Project. Identifying lanes using edge detection (Sobel operator, gradient of magnitude and direction, and HLS color space), camera calibration and unwarping (distortion correction and perspective transform), and polynomial fitting for the lanes.

56sao
19fork
1issue
0lượt xem

🚗 Phát hiện làn đường thông minh cho xe tự lái

Toàn bộ pipeline từ calibration mắt kính tới vẽ lại làn đường lên video gốc, chỉ bằng Python + OpenCV.

Dự án Advanced Lane Detection của Ayanzadeh93 là lời giải cho bài tập lớn trong chương trình Udacity Self-Driving Car Engineer Nanodegree. Mục tiêu: tự động xác định hai làn đường trên video quay bằng camera giữa, đồng thời tính toán bán bùộc cong và lệch vị trí so với tâm xe. Kết quả là video đã được tăng cường thông tin — vẽ vùng làn đường, hiển thị số liệu đường cong và khoảng cách lệch.

✨ Điểm nổi bật

  • Camera calibration: tính ma trận calibration và hệ số biến dạng từ ảnh bàn cờ, dùng để chỉnh sửa nhiễu lens.
  • Distortion correction: áp dụng ma trận calibration để loại bỏ biến dạng ảnh gốc.
  • Thresholded binary image: kết hợp Sobel, gradient magnitude/direction và không gian màu HLS để tạo ảnh nhị phân.
  • Perspective transform: biến đổi góc nhìn sang "birds-eye view" để dễ dàng phân tích làn đường.
  • Polynomial fitting: dùng đa thức bậc hai để ước lượng ranh giới làn đường.
  • Curvature & offset: tính bán bùộc cong và vị trí lệch so với tâm xe.
  • Warp lại lên ảnh gốc: vẽ vùng làn đường đã phát hiện trở lại trên khung hình gốc.
  • Video augmentation: xuất video có chú thích số liệu và overlay vùng làn đường.

💡 Vì sao đáng chú ý

Không dùng deep learning, dự án hoàn toàn dựa trên kỹ thuật xử lý ảnh truyền thống — nhưng kết hợp khéo léo nhiều bước: calibration → threshold → warp → fit → unwarp. Mỗi giai đoạn đều được triển khai rõ ràng trong code, dễ theo dõi và điều chỉnh. Phù hợp cho người mới học computer vision, hoặc làm baseline cho hệ thống lane detection nhẹ trên thiết bị.


#SelfDrivingCars #ComputerVision #LaneDetection #OpenCV #Udacity #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.2k
Oct 24, 2026
RepositoryPython
d2l-ai/d2l-zh

《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被70多个国家的500多所大学用于教学。

82.1k
Jul 30, 2024
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

107.3k
Oct 2, 2026
RepositoryC++
opencv/opencv

Open Source Computer Vision Library

91.3k
Oct 26, 2026
Repository
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

83.7k
Oct 18, 2026
RepositoryJupyter Notebook
microsoft/AI-For-Beginners

12 Weeks, 24 Lessons, AI for All!

70.2k
Oct 23, 2026
RepositoryPython
pytorch/pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

105.1k
Oct 26, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.6k
Jan 22, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.6k
Jan 22, 2026