/Edge-Detection-OpenCV

Detecting edges on a road to determine the lane and provide navigating instructions to an autonomous cart.

Primary LanguagePython

Edge-Detection-OpenCV

Detecting edges on a road to determine the lane and provide navigating instructions to an autonomous cart.

  • Running the contour.py is sufficient.
  • To detect edges in any custom picture, replace the filename flatlay.jpg in line 6 the contour.py file with the new image file.
  • The last section of the code (commented) facilitates contour plotting in a video by treating each frame as an image input.