You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: writeup_template.md
+27-21Lines changed: 27 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
-
##Writeup Template
2
-
###You can use this file as a template for your writeup if you want to submit it as a markdown file, but feel free to use some other method and submit a pdf if you prefer.
1
+
## Writeup Template
2
+
3
+
### You can use this file as a template for your writeup if you want to submit it as a markdown file, but feel free to use some other method and submit a pdf if you prefer.
3
4
4
5
---
5
6
@@ -27,17 +28,20 @@ The goals / steps of this project are the following:
###Here I will consider the rubric points individually and describe how I addressed each point in my implementation.
31
+
32
+
### Here I will consider the rubric points individually and describe how I addressed each point in my implementation.
31
33
32
34
---
33
-
###Writeup / README
34
35
35
-
####1. Provide a Writeup / README that includes all the rubric points and how you addressed each one. You can submit your writeup as markdown or pdf. [Here](https://github.com/udacity/CarND-Advanced-Lane-Lines/blob/master/writeup_template.md) is a template writeup for this project you can use as a guide and a starting point.
36
+
### Writeup / README
37
+
38
+
#### 1. Provide a Writeup / README that includes all the rubric points and how you addressed each one. You can submit your writeup as markdown or pdf. [Here](https://github.com/udacity/CarND-Advanced-Lane-Lines/blob/master/writeup_template.md) is a template writeup for this project you can use as a guide and a starting point.
36
39
37
40
You're reading it!
38
-
###Camera Calibration
39
41
40
-
####1. Briefly state how you computed the camera matrix and distortion coefficients. Provide an example of a distortion corrected calibration image.
42
+
### Camera Calibration
43
+
44
+
#### 1. Briefly state how you computed the camera matrix and distortion coefficients. Provide an example of a distortion corrected calibration image.
41
45
42
46
The code for this step is contained in the first code cell of the IPython notebook located in "./examples/example.ipynb" (or in lines # through # of the file called `some_file.py`).
43
47
@@ -47,21 +51,24 @@ I then used the output `objpoints` and `imgpoints` to compute the camera calibra
47
51
48
52
![alt text][image1]
49
53
50
-
###Pipeline (single images)
54
+
### Pipeline (single images)
55
+
56
+
#### 1. Provide an example of a distortion-corrected image.
51
57
52
-
####1. Provide an example of a distortion-corrected image.
53
58
To demonstrate this step, I will describe how I apply the distortion correction to one of the test images like this one:
54
59
![alt text][image2]
55
-
####2. Describe how (and identify where in your code) you used color transforms, gradients or other methods to create a thresholded binary image. Provide an example of a binary image result.
60
+
61
+
#### 2. Describe how (and identify where in your code) you used color transforms, gradients or other methods to create a thresholded binary image. Provide an example of a binary image result.
62
+
56
63
I used a combination of color and gradient thresholds to generate a binary image (thresholding steps at lines # through # in `another_file.py`). Here's an example of my output for this step. (note: this is not actually from one of the test images)
57
64
58
65
![alt text][image3]
59
66
60
-
####3. Describe how (and identify where in your code) you performed a perspective transform and provide an example of a transformed image.
67
+
####3. Describe how (and identify where in your code) you performed a perspective transform and provide an example of a transformed image.
61
68
62
69
The code for my perspective transform includes a function called `warper()`, which appears in lines 1 through 8 in the file `example.py` (output_images/examples/example.py) (or, for example, in the 3rd code cell of the IPython notebook). The `warper()` function takes as inputs an image (`img`), as well as source (`src`) and destination (`dst`) points. I chose the hardcode the source and destination points in the following manner:
63
70
64
-
```
71
+
```python
65
72
src = np.float32(
66
73
[[(img_size[0] /2) -55, img_size[1] /2+100],
67
74
[((img_size[0] /6) -10), img_size[1]],
@@ -72,8 +79,8 @@ dst = np.float32(
72
79
[(img_size[0] /4), img_size[1]],
73
80
[(img_size[0] *3/4), img_size[1]],
74
81
[(img_size[0] *3/4), 0]])
75
-
76
82
```
83
+
77
84
This resulted in the following source and destination points:
78
85
79
86
| Source | Destination |
@@ -87,35 +94,34 @@ I verified that my perspective transform was working as expected by drawing the
87
94
88
95
![alt text][image4]
89
96
90
-
####4. Describe how (and identify where in your code) you identified lane-line pixels and fit their positions with a polynomial?
97
+
####4. Describe how (and identify where in your code) you identified lane-line pixels and fit their positions with a polynomial?
91
98
92
99
Then I did some other stuff and fit my lane lines with a 2nd order polynomial kinda like this:
93
100
94
101
![alt text][image5]
95
102
96
-
####5. Describe how (and identify where in your code) you calculated the radius of curvature of the lane and the position of the vehicle with respect to center.
103
+
####5. Describe how (and identify where in your code) you calculated the radius of curvature of the lane and the position of the vehicle with respect to center.
97
104
98
105
I did this in lines # through # in my code in `my_other_file.py`
99
106
100
-
####6. Provide an example image of your result plotted back down onto the road such that the lane area is identified clearly.
107
+
####6. Provide an example image of your result plotted back down onto the road such that the lane area is identified clearly.
101
108
102
109
I implemented this step in lines # through # in my code in `yet_another_file.py` in the function `map_lane()`. Here is an example of my result on a test image:
103
110
104
111
![alt text][image6]
105
112
106
113
---
107
114
108
-
###Pipeline (video)
115
+
###Pipeline (video)
109
116
110
-
####1. Provide a link to your final video output. Your pipeline should perform reasonably well on the entire project video (wobbly lines are ok but no catastrophic failures that would cause the car to drive off the road!).
117
+
####1. Provide a link to your final video output. Your pipeline should perform reasonably well on the entire project video (wobbly lines are ok but no catastrophic failures that would cause the car to drive off the road!).
111
118
112
119
Here's a [link to my video result](./project_video.mp4)
113
120
114
121
---
115
122
116
-
###Discussion
123
+
###Discussion
117
124
118
-
####1. Briefly discuss any problems / issues you faced in your implementation of this project. Where will your pipeline likely fail? What could you do to make it more robust?
125
+
####1. Briefly discuss any problems / issues you faced in your implementation of this project. Where will your pipeline likely fail? What could you do to make it more robust?
119
126
120
127
Here I'll talk about the approach I took, what techniques I used, what worked and why, where the pipeline might fail and how I might improve it if I were going to pursue this project further.
0 commit comments