Picamera motion detection with socket send, and sample Flask web app to view images.