This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
// small excerpt from forthcoming of-cv utility/addon | |
#include "ofConstants.h" | |
#include "ofImage.h" | |
#include "cv.h" | |
namespace cv { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
kinect.setup(); | |
kinect.addDepthGenerator(); | |
kinect.setDepthColoring(COLORING_GREY); | |
kinect.start(); | |
grayImage.allocate(kinect.getWidth(), kinect.getHeight()); |
NewerOlder