Aspice motion detection for RPi Camera
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Aspice is motion detection app for Raspberry Pi Camera. It allows you to use RPi as surveillance system to capture images based on movement in camera area.


  1. Open terminal on your RPi and install PIL to run this script.

sudo apt-get install python-imaging-tk

  1. Make the script executeable by typing:

chmod +x ~/

  1. You will need to create the folder to store your pictures:

mkdir ~/aspice

  1. Start the script by typing in Terminal:


The script is now running and taking pictures


Adjust the settings of the script. Open Nano editor in terminal by typing:

nano ~/

Now you can change settings of each feature, for example sending pictures to e-mail and adjust motion sensitivity.

Next up

Aspice is a work in progress. This is a beta release. There are a few things coming up:

  • Live streaming option
  • Surveillance system