Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

it does not throw an exception here, so you can't catch one.

you'll have to check:

if cam.isOpened():
    # proceed..