Book Image

Raspberry Pi Blueprints

Book Image

Raspberry Pi Blueprints

Overview of this book

Table of Contents (17 chapters)
Raspberry Pi Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up the capture software


Now, we need to get the capture software installed on the Pi.

  1. First, copy the recorder folder onto the Pi using FileZilla and SFTP.

  2. We need to install some packages and Python libraries that are used by the capture application. To do this, first install the Python setup tools that I have used to package the capture application:

    sudo apt-get install python-setuptools git
    
  3. Next, run the following commands to download and install the pexif library, which is used to save the GPS position from which each image was taken into the image EXIF data:

    git clone https://github.com/bennoleslie/pexif.git pexif
    cd pexif
    sudo python setup.py install
    
  4. Once this is done, SSH into the Pi can change directory to the recorder folder and run the following command:

    sudo python setup.py install
    
  5. Now that the application is installed, we can take a look at the list of commands it accepts using:

    gpstimelapse -h
    

    This shows the list of commands, as shown in the following screenshot:

A few...