eleni@1: #ifndef FRAME_H_ eleni@1: #define FRAME_H_ eleni@1: eleni@1: #include eleni@2: #include eleni@1: eleni@2: struct Frame { eleni@2: cv::Mat depth_buf; eleni@2: cv::Mat video_buf; eleni@1: eleni@1: Frame(); eleni@2: void process(); eleni@1: }; eleni@1: eleni@2: void video_cb(freenect_device *kin_dev, void *video, uint32_t time); eleni@1: void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time); eleni@1: eleni@1: #endif // FRAME_H_