Previous Episode: 404 not found
Next Episode: A motion detection class for Python.
Using RTSP and OpenCV you can easily stream video to your Python script. OpenCV provides a high level set of Python modules which makes the stream of video feeds very easy.
In addition streaming video from a video camera or RTSP feed you can also load video files in place of the stream.
The following code contains a class called VideoStream. When the start() method is called the object is