Skip to content

Commit

Permalink
update references to images and videos in P1 jupyter notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlicht committed Mar 3, 2017
1 parent 3cd9c6a commit 5187435
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions P1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"---\n",
"\n",
"<figure>\n",
" <img src=\"line-segments-example.jpg\" width=\"380\" alt=\"Combined Image\" />\n",
" <img src=\"examples/line-segments-example.jpg\" width=\"380\" alt=\"Combined Image\" />\n",
" <figcaption>\n",
" <p></p> \n",
" <p style=\"text-align: center;\"> Your output should look something like this (above) after detecting line segments using the helper functions below </p> \n",
" </figcaption>\n",
"</figure>\n",
" <p></p> \n",
"<figure>\n",
" <img src=\"laneLines_thirdPass.jpg\" width=\"380\" alt=\"Combined Image\" />\n",
" <img src=\"examples/laneLines_thirdPass.jpg\" width=\"380\" alt=\"Combined Image\" />\n",
" <figcaption>\n",
" <p></p> \n",
" <p style=\"text-align: center;\"> Your goal is to connect/average/extrapolate line segments to get output like this</p> \n",
Expand Down Expand Up @@ -275,7 +275,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Build the pipeline and run your solution on all test_images. Make copies into the test_images directory, and you can use the images in your writeup report.\n",
"Build the pipeline and run your solution on all test_images. Make copies into the `test_images_output` directory, and you can use the images in your writeup report.\n",
"\n",
"Try tuning the various parameters, especially the low and high Canny thresholds as well as the Hough lines parameters."
]
Expand Down Expand Up @@ -361,8 +361,8 @@
},
"outputs": [],
"source": [
"white_output = 'white.mp4'\n",
"clip1 = VideoFileClip(\"solidWhiteRight.mp4\")\n",
"white_output = 'test_videos_output/solidWhiteRight.mp4'\n",
"clip1 = VideoFileClip(\"test_videos/solidWhiteRight.mp4\")\n",
"white_clip = clip1.fl_image(process_image) #NOTE: this function expects color images!!\n",
"%time white_clip.write_videofile(white_output, audio=False)"
]
Expand Down Expand Up @@ -415,8 +415,8 @@
},
"outputs": [],
"source": [
"yellow_output = 'yellow.mp4'\n",
"clip2 = VideoFileClip('solidYellowLeft.mp4')\n",
"yellow_output = 'test_videos_output/solidYellowLeft.mp4'\n",
"clip2 = VideoFileClip('test_videos/solidYellowLeft.mp4')\n",
"yellow_clip = clip2.fl_image(process_image)\n",
"%time yellow_clip.write_videofile(yellow_output, audio=False)"
]
Expand Down Expand Up @@ -464,8 +464,8 @@
},
"outputs": [],
"source": [
"challenge_output = 'extra.mp4'\n",
"clip2 = VideoFileClip('challenge.mp4')\n",
"challenge_output = 'test_videos_output/challenge.mp4'\n",
"clip2 = VideoFileClip('test_videos/challenge.mp4')\n",
"challenge_clip = clip2.fl_image(process_image)\n",
"%time challenge_clip.write_videofile(challenge_output, audio=False)"
]
Expand Down

0 comments on commit 5187435

Please sign in to comment.