Skip to content

Implementing road detection through OpenCV, and integrating augmented reality warning methods to provide drivers with more visual alerts.

Notifications You must be signed in to change notification settings

KennyChen880127/Lane-Detection-System-with-Augmented-Reality-Alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MLP Corrected Distance Estimation for Non Horizontal Camera Measurements

This project utilizes OpenCV to DevelopLane departure Warning System and Augmented Reality warning. Initially, it extracts three common road colors (red, yellow, white) using OpenCV's HSV range setting. After optimizing the image through morphological operations to enhance edge contours, it draws a Region of Interest (ROI) to reduce false positives. Subsequently, Hough Transform is employed to recognize and draw road lines. The project evaluates whether the centroid of the contours exceeds a predefined safety threshold. If it does, the system triggers a warning by cropping a PNG format image and displaying it prominently in a fixed location.

OpenCV

OpenCV OpenCV, or Open Source Computer Vision Library, is an open-source computer vision and machine learning software library. It provides a comprehensive set of tools and functions designed to facilitate real-time computer vision applications. OpenCV is widely used in various domains, including image and video processing, object detection and recognition, machine learning, and robotics.

Results

Detect a red line. Detect a yellow line. Detect a white line.
image image image

About

Implementing road detection through OpenCV, and integrating augmented reality warning methods to provide drivers with more visual alerts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published