Lane Detection
Hot to implementation
- Finding Lane Lines — Simple Pipeline For Lane Detection
- YouTube - Deep Learning road features from LiDAR
- [추천] python - How to detect lines in OpenCV? - Stack Overflow - 여러 예제 있다.
- Hough transform 참조.
차선과 같은 라인을 찾는 방법.
- Convert original image to grayscale.
- Darkened the grayscale image (this help in reducing contrast from discoloured regions of road)
- Convert original image to HLS colour space.
- Isolate yellow from HLS to get yellow mask. ( for yellow lane markings)
- Isolate white from HLS to get white mask. (for white lane markings)
- Bit-wise OR yellow and white masks to get common mask.
- Bit-wise AND mask with darkened image .
- Apply slight Gaussian Blur.
- Apply canny Edge Detector (adjust the thresholds — trial and error) to get edges.
- Define Region of Interest. This helps in weeding out unwanted edges detected by canny edge detector.
- Retrieve Hough lines.
- Consolidate and extrapolate the Hough lines and draw them on original image.
Projects
- Topo2D
- https://github.com/homothetic/Topo2D
- Enhancing 3D Lane Detection and Topology Reasoning with 2D Lane Priors
- 관련 프로젝트 - MMDetection3D, MapTR, PETR, OpenLane-v2, TopoNet
See also
- 차량 번호판 인식 (License Plate Recognition)
- 차량 카운팅 (Car Counting) Vehicle Counting
- 자율 주행 (Self-driving car)
- Hough transform