Detailed description
The Python background subtractor tutorial attempts to check that the capture device is opened with:
if not capture.isOpened:
...
Instead the method needs to be called:
if not capture.isOpened():
...
Currently, it will always be true since the value is a function which is always truthy.
Issue submission checklist