Currently, the script always activates the webcam the whole time and uses processing resources.
Is it possible to pause the processing, while the output video device is not used?
Or maybe even automatically start the script when a process opens the device and exit afterwards.