Ask Your Question

Revision history [back]

This error is generated because your document file is corrupt or bad.

Try to do this, it will work fine:

try:
   #Your Code here
except cv2.error as e:
   pass