Ask Your Question

Wnt2bsleepin's profile - activity

2020-07-16 00:03:28 -0600 received badge  Popular Question (source)
2013-07-06 08:56:31 -0600 received badge  Scholar (source)
2013-07-06 08:56:14 -0600 received badge  Supporter (source)
2013-07-05 16:58:43 -0600 asked a question Building VS 2010 and cv2.pyd

I am compiling OpenCV using Visual Studio 2010. The program compiles with no errors, but it does not seem to generate cv2.pyd at all. Here are my make config settings

image description

Any help is appreciated

2013-07-05 16:51:35 -0600 commented answer Intercept Corrupt Data

No, it doesn't throw an exception. It does seem to print the error message on the stderr stream, but I don't know how to capture it when the program is running.

2013-07-05 13:21:37 -0600 commented answer Intercept Corrupt Data

Indeed. Calling the decode function brings up the error. I do wish it threw an exception.

2013-07-04 18:22:36 -0600 asked a question Intercept Corrupt Data

Hello, I have some corrupted image data mixed with some images. When I load it with

cv2.imread(image)

I get the error

Corrupt JPEG data

I would like to intercept this and move those images to a folder since they have corruption issues. However, it doesn't seem to be an exception so I cannot catch it. Any help is appreciated.