2018-07-13 02:17:38 -0600 | received badge | ● Famous Question (source) |
2017-05-15 13:30:08 -0600 | received badge | ● Notable Question (source) |
2016-08-29 09:16:57 -0600 | received badge | ● Popular Question (source) |
2014-06-26 05:58:48 -0600 | commented question | TypeError: img data type = 17 is not supported I found were I made error. Was used not correct array. |
2014-06-26 04:29:37 -0600 | commented question | TypeError: img data type = 17 is not supported cap = cv2.VideoCapture(-1) I am capture from a cam. For know is dosn |
2014-06-26 03:44:09 -0600 | received badge | ● Editor (source) |
2014-06-26 03:39:28 -0600 | asked a question | TypeError: img data type = 17 is not supported Some one please help me with this error:
I try to save capture frame with this line, and I am geting error. How I can to know type of array ?
np.dtype(cap) return error for me.
12:34:11.658054 28 1 <module 'numpy.testing'="" from="" '="" usr="" lib64="" python2.7="" site-packages="" numpy="" testing="" __init__.pyc'=""> 0 () <videocapture 0x19b6af0=""> ./capture/images/capture0028.bmp <type 'numpy.ndarray'=""> Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1470, in __call__ return self.func(*args) File "./svyatovit.py", line 107, in Gov_start_func Start_sig(ishow); File "./svyatovit.py", line 57, in Start_sig Saveimage(cap, icount); File "/home/xxx/xxx/xxx/database.py", line 31, in Saveimage cv2.imwrite( filename, saveimg, cv2.cv.CV_IMWRITE_PXM_BINARY ) TypeError: img data type = 17 is not supported exit_sig func |