A C# Example for using Cognitive Vision on Real time videos can be found here. https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/vision-api-how-to-topics/howtoanalyzevideo_vision
I cannot find something similar for Python.
How would I go about do that in Python?