Skip to content

Instantly share code, notes, and snippets.

@piyh
piyh / motion_215.py
Created July 7, 2016 02:15 — forked from waveform80/motion_215.py
Motion detection with a circular buffer and file recording in picamera
#!/usr/bin/env python
import io
import time
import picamera
import picamera.array
import numpy as np
from PIL import Image, ImageDraw