OpenCV motion detection for Raspberry Pi