Tutorial 15: Detect Motion using Pi Camera
Motion detection with a camera is not a trivial undertaking. Creating and walking through a script from scratch that can do it all for us would likely take longer than all the other tutorials in this project. To save time I use the work from Brian Flakes - he created a module we can download and import into our scripts to do simple motion detection in Python.Download link: http://pastebin.com/raw/yH7JHz9w
Later I will show you how to convert this script such that it is compatible with our Python 3 scripts we will be writing in the future.
This tutorial is a little older (published in 2015!). The main principles are still relevant, so I haven't needed to update this lesson.