Flask app to control Pi Camera