Flask-based bird watching app for RaspberryPi and a recognized capture device (in my case an analogue-to-USB grabber) with switching off camera voltage (12V) via relay attached to GPIO pin if no one actually watches.
Based on https://blog.miguelgrinberg.com/post/flask-video-streaming-revisited.