shiffman / OpenKinect-for-Processing

For use of libfreenect in processing
536 stars 218 forks source link

Sketches not running #111

Open aditya051293 opened 7 years ago

aditya051293 commented 7 years ago

I am new to kinect, I am facing a problem while running even a simple code.

import org.openkinect.processing.*;
Kinect kinect;

void setup(){
size(512,424);
kinect=new Kinect(this);
kinect.initDepth();
}

void draw(){
background(0);
}

I am using kinect v1 1414, windows 7, processing 3.3. whenever I run it , it shows -

Setting 'Run Sketches on Display' preference to display 1

I am a newbie, could really use some help. Thanks in advance..

AbdullahAslam commented 7 years ago

@aditya051293 even i'm new to kinect! first of all Kinect V1 have different resolution so make sure... size(640,480); after kinect.initDepth(); write kinect.activateDevice(0); Try it.... May be helpful ! Sorry for my bad english.