Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Kinect: Unable to see the camera display

$
0
0

@Aditya wrote:

Hello, I have created a basic kinect program. But display is not coming. I am new to kinect v2.
Please find the below program and please help me to resolve this error.
I am using Xbox one kinect on windows 10 64 bit.

void ofApp::setup() {

  • kinect.setRegistration(true);*
  • kinect.init(true); *
  • kinect.enableDepthNearValueWhite(true);*
  • kinect.open();*
    }

void ofApp::update() {

  • ofBackground(100, 100, 100);*
  • kinect.update();*
  • }*

void ofApp::draw()
{

  •   kinect.drawDepth(10, 10, 400, 300);*
    

}

void ofApp::exit() {

  • kinect.close();*
    }
    -----ofapp,h
    class ofApp : public ofBaseApp {
    public:

  • void setup();*

  • void update();*

  • void draw();*

  • void exit();*

  • ofxKinect kinect;*
    };

Below is the screen shot what output its showing:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles