Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Convert the video to a series of images.
  2.  
  3. Convert images to grayscale.
  4.  
  5. Identify the portion of the image that has white as opposed to asphalt.
  6.  
  7. Filter unwanted pixels out of the video leaving mostly the lane.
  8.  
  9. Calibrate my camera, so I can know how much 1 pixel is distance wise.
  10.  
  11. Then do the calculations by byte locations in python to determine the distance.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement