invisible
view src/frame.h @ 2:b0b90ef993a0
backup
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Wed, 09 Oct 2013 22:56:42 +0300 |
parents | fdbd55eaa14e |
children | 1ff5a1a50b41 |
line source
1 #ifndef FRAME_H_
2 #define FRAME_H_
4 #include <libfreenect.h>
5 #include <cv.h>
7 struct Frame {
8 cv::Mat depth_buf;
9 cv::Mat video_buf;
11 Frame();
12 void process();
13 };
15 void video_cb(freenect_device *kin_dev, void *video, uint32_t time);
16 void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time);
18 #endif // FRAME_H_