Python Flask Application that takes Photos via USB Cam or Camera Module. Takes Random Photos and PIR Triggered photos