Commit graph

8 commits

Author SHA1 Message Date
Andrzej Kapolka
2c2297b2bd Let's try using widthStep rather than nChannels and computing the alpha
values.
2013-06-18 13:30:31 -07:00
Andrzej Kapolka
a4324d71d5 If we don't get the image frame, try again later. 2013-06-18 13:08:16 -07:00
Andrzej Kapolka
9e92ea03da Rather than copying to a QImage, just send the pointer. Also, put the render
code in Webcam itself.
2013-06-18 12:13:40 -07:00
Andrzej Kapolka
341cde61f5 Allow four channel images, create a copy. 2013-06-17 18:21:35 -07:00
Andrzej Kapolka
a771f53df3 Read the webcam frames in a separate thread, since the call blocks. 2013-06-17 18:07:53 -07:00
Andrzej Kapolka
3c58f0c0a7 Must init webcam after OpenGL. 2013-06-17 16:24:47 -07:00
Andrzej Kapolka
c7ddc89803 Basic frame grab from camera; not currently working yet, but let's try on
OS X!
2013-06-17 15:06:40 -07:00
Andrzej Kapolka
4421b21124 Working on reintegrating OpenCV (also, removed lodepng). 2013-06-17 13:24:01 -07:00