Press Down to continue, or Swipe Up if you prefer.
Simplest frame type: it's just a picture. Also known as a key
frame
Stores what changed since the last frame. Useful!
Like P-Frames, but with time travel.
Every frame, GPU calculates which macro blocks moved where.
What on earth is this?!
For each frame, Pi's camera produces a stream of inline motion data. Consists of X, Y, and SAD values for each macro-block:
The picamera library does most of the tedious stuff (since 1.5)…
Crude first steps...
How about a histogram of magnitudes?
Left as an exercise for the reader...
goodblocks
The picamera library: picamera.readthedocs.org
The author: dave@waveform.org.uk
The Twitter feed: @waveform80