forked from RyanZotti/Self-Driving-Car
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
started to add data collection docs and FAQ
- Loading branch information
Ryan Zotti
authored and
Ryan Zotti
committed
Sep 25, 2016
1 parent
fdd52f9
commit 437f0be
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,31 @@ | |
* TensorFlow | ||
|
||
Documentation coming soon ... | ||
|
||
## Data Collection | ||
|
||
Log into the Raspberry Pi and enter the following commands: | ||
|
||
# Go to wherever you installed ffmpeg | ||
cd /usr/src/ffmpeg | ||
|
||
# Run ffmpeg. I have no idea how this command works since I copy-and-pasted it from some website off of Google | ||
sudo ffserver -f /etc/ff.conf_original & ffmpeg -v quiet -r 5 -s 320x240 -f video4linux2 -i /dev/video0 http://localhost/webcam.ffm | ||
|
||
At this point the streaming video should be available at the URL below (although you probably won't be able to just open/view it with a web browser). Note that the IP will probably be different for you. | ||
|
||
http://192.168.0.35/webcam.mjpeg | ||
|
||
## FAQ | ||
|
||
**Q:** How do I log into the Pi? | ||
|
||
**A:** By default the id is ***pi*** and the password is ***raspberry***. I usually ssh into mine using the "Terminal" application on my Mac. On Windows you could probably use Putty. See example command below. Note: your IP will probably be different. | ||
|
||
ssh [email protected] | ||
|
||
**Q:** How do I find the IP address for my PI? | ||
|
||
**A:** There are probably multiple ways to do this, but whenever I connect my Raspberry Pi to a wifi network for the first time I always have to plug in my keyboard, mouse, and HDMI cable so that I can view the Pi on a monitor or TV. Then open up the Pi console and type the command below, which will print the IP to your console. | ||
|
||
hostname -I |