The basic steps to detect a line in a frame are: 1. Turning the frame to grayscale via color maping conversion. 2. Bluring(A.K.A Smoothing) the frame via a Median Kernel. 3. Detecting edges on the frame via derivatives and comparing the result(gradient) which are highest above a threshold or thatContinue Reading