This post is part of , a 12-month accelerated learning project. For May, . Month to Master my goal is to build the software part of a self-driving car , I deconstructed a piece of code that identifies lanes lines in forward-facing images of the road. Yesterday Like this… Perhaps more interestingly than the picture, this block of code generates the representations of the lane lines using only very basic mathematical operations (essentially a string of functions that find weighted averages): mathematical = Slope: -0.740605727717; Intercept: 664.075746144 Lane line 1 = Coef: -0.740605727717; Intercept: 664.075746144. Lane line 2 Going through helped me better intuit the underlying mechanics of a self-driving car, which don’t seem quite as mystical anymore. this exercised Based on what I’ve experimented with so far, it seems like there are two main steps to creating self-driving car software: Manipulate the input image into a set of useful numeric representations of the driving (i.e. lane lines, other cars, traffic signs, pedestrians, etc.) Step 1: environment Feed this numeric representation of the world into a function that, based on these inputs, computes the correct steering angle and acceleration. Step 2: I suspect as the function in Step 2 improves (as increasing amounts of computational power become available in the future), the pre-processing and object categorization in Step 1 become less and less important. Thus, it seems I should shift my attention away from Step 1, which focuses largely on object recognition and digitization, and instead focus the majority of my attention on from Step 2, which maps inputs from the world into driving instructions. I’ll call this function the “Magic Function”. the function This seems like a reasonable plan, especially because the image processing techniques I described yesterday were invented decades ago, where as the Magic Function seems to have only recently become feasible. I’m not sure if this analysis is right, or this path is optimal, but this is my intuition right now based on what I’ve researched so far and on the exercise from the past few days. Starting tomorrow, I will start exploring how a Magic Function might work and how I might be able to build it. Read the . Read the . next post previous post is an obsessive learner, product builder, guinea pig for , and founder at . Max Deutsch Month to Master Openmind If you want to follow along with Max’s year-long accelerated learning project, make sure to follow . this Medium account