opencv-python-blueprints icon indicating copy to clipboard operation
opencv-python-blueprints copied to clipboard

Chapter 2

Open cjsumne opened this issue 8 years ago • 1 comments

Hi, I am trying to understand your code but keep getting an error that I can't quite get around.

I keep getting this error and I user:~/opencv-python-blueprints/chapter2$ python chapter2.py Could not open audio: -1 Traceback (most recent call last): File "chapter2.py", line 93, in main() File "chapter2.py", line 87, in main layout = KinectLayout(None, -1, 'Kinect Hand Gesture Recognition', capture) File "/home/lpcs/opencv-python-blueprints/chapter2/gui.py", line 71, in init self.bmp = wx.BitmapFromBuffer(self.imgWidth, self.imgHeight, frame) File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 856, in BitmapFromBuffer return gdi._BitmapFromBuffer(width, height, dataBuffer) ValueError: Invalid data buffer size.

cjsumne avatar Apr 10 '17 22:04 cjsumne

Getting also the same error. Please advise..

rlabuguen avatar Nov 10 '17 06:11 rlabuguen