ADAS Assignment Report
ADAS Assignment Report
Lane Detection for Image number ‘8’ & Image number ‘392’
Grayscale Image - 8
Note: Same code is applicable for Image 392 the only difference in code would be the image
number in the code. In image 2, original_image = cv2.imread('8.jpg') #2022ht65110 shall be
replaced with original_image = cv2.imread('392.jpg') #2022ht65110 and rest will be kept same.
D) Snapshot with program and results side by side. The time on the
computer should be visible-
For Image number 8
For Image number 392
All the above snapshots are with having titles as BITS ID and each line
of code is commented with BITS ID which is 2022ht65110.
Enhanced results: From the above results it is evident that apart from
Lane detection there is a horizontal line detection so in order to eliminate
the horizontal line following modifications can be done
1) canny_edge = cv2.Canny(lane_gs_blur,150,150)
Comment: First threshold value changed from 60 to 150
2) poly_mask =
np.array([[(0,650),(int(width/2),int(height/1.65)),(width,650)]])
Comment: height is changed to 650.
For Image 8