Posts

Path Detection based on Bird Eye view with OpenCV module

Image
Path Detection based on Birds Eye view with OpenCV module   Environment setup/ Project Requirements : 1)Python  2)OpenCV, Numpy, Pickle libraries need to be installed on your computer/laptop 3) Pycharm/Visual studio/Atom must be installed Note: You can't run this code in google-colab (or) in any online compiler/interpreter  Work Flow:   We make a copy of the original image and Undistort the copied image Apply threshold and canny filter to the copied image. Apply warp perspective to get a birds-eye view of the image. Place virtual windows at the starting of the image, which reflects the shape of the curve. Using the center of the windows we generate a second-order polynomial function. We apply the entire process to the original image. Step 1: Image Preprocessing Firstly we have to undistort the image because, when a large amount of area is getting into the smaller area there will be some distortions in the image. We use the undistort function to remove distortion...