Skip to content

Software Setup

Joe Herman edited this page Feb 22, 2017 · 10 revisions

##Raspberry Pi (server) Setup

  • Install Raspbian. My system is running Raspbian Jessie, but the software should work on other Raspbian flavors.
  • Run sudo raspi-config to perform the following
    • If your system automatically boots into a window manager, [disable it]
    • Enable the camera
    • Enable ssh
    • Give your pi a fixed IP address or a hostname on the network
  • Install the python-picamera library
  • Make sure you can login to ssh. Now you can disconnect your keyboard and monitor if you wish.
  • Download the server software to your pi.
  • (After your wiring is in place) run 'sudo filmcap-test.py' to test your software and wiring setup. (Test file removed because no longer working with current wiring setup. Hope to replace it soon.)
  • To start the server software, run sudo python fcServer.py in the folder where you have the software installed
  • Once your software is reliably running the way you want it, you may want to have it start on boot. (Instructions to be added.)

##Client Setup (I've only tested this on Ubuntu, but other users have reported success in Windows)

  • Ensure you're running Python 2.7. This code isn't tested on Python 3 as of this writing.
  • Install OpenCV 3 and python bindings using this link
  • Install qt: apt-get install python-qt4
  • Install matplotlib: apt-get install python-matplotlib
  • Download the client software from here.
  • If necessary, modify the line server_ip = "raspberrypi.local" in config.py to point to your pi.
  • You may want to install sshfs so that you can easily edit the server python and config files from your client machine.
  • To start the software, run 'python fcClient.py' in the folder where your client software is installed.

Clone this wiki locally