Building a Raspberry Pi security camera with OpenCV