-
Notifications
You must be signed in to change notification settings - Fork 3
Image processing
NotGayBut5CentsAre5Cents edited this page Jun 7, 2018
·
2 revisions
Uses openCv to process the screen.
params:
screen # the screen to be processed
This function makes a greyscale representation of the screen. and process all the lines in a predefined ROI(region of interest)
params:
screen # the screen to be processed
This function uses the above one, to get all the lines. Then it determines the 2 biggest lines to use for the lanes of the road
params:
x1, y1, x2, y2 # cordinates of two points which slope should be calculated
A helper function for calculating slope