akshitagupta15june / lane_detection_opencv

The main emphasis of this project is to find the further ways which can be used further to improve the result of lane detection algorithms. Join Discord channel for discussion.
https://discord.gg/CWqgNWbNye
MIT License
37 stars 37 forks source link

Select Region of Interest. #13

Closed akshitagupta15june closed 4 years ago

akshitagupta15june commented 4 years ago

Define Region of Interest. This helps in weeding out unwanted edges detected by canny edge detector.

Even after applying Canny Edge Detection, there are still many edges that are detected which are not lanes. Region of Interest is a polygon that defines area in the image, from where edges we are interested. Note that , the co-ordinate origin in the image is top-left corner of image. rows co-ordinates increase top-down and column co-ordinates increase left-right. Assumption here is camera remains in constant place and lanes are flat, so that we can “guess” region of interest.