Change resolution on openni2 not working
问题 I want to read depth frame at 640x480. I am using windows 8.1 64bit, openni2 32bit, kinect:PSMP05000,PSCM04900(PrimeSense) I take code reference from here: cannot set VGA resolution Simple Read Combined to this code: main.cpp OniSampleUtilities.h SimpleRead.vcxproj should be compiled if you install openni2 32bit from here: OpeniNI 2 #include "iostream" #include "OpenNI.h" #include "OniSampleUtilities.h" #define SAMPLE_READ_WAIT_TIMEOUT 2000 //2000ms using namespace openni; using namespace std