第一節課(Install kinect)
1.體驗vive,hololens
2.安裝kinect
要先安裝 openni
然後要安裝 kinect 的sdk
第二節課(基礎kinect)
3.讓kinect能夠使用並顯示出資訊
SimpleOpenNI show;
void setup()
{
size(640,480);
show=new SimpleOpenNI(this);
show.enableRGB();
show.enableDepth();
}
void draw()
{
show.update();
image(show.rgbImage(),0,0,320,240);
image(show.depthImage(),0,240,320,240);
}
4.將使用者變顏色
修正 image(show.userImage(),0,240+120,320/2,240/2);
import SimpleOpenNI.*;
SimpleOpenNI show;
void setup()
{
size(640,480);
show=new SimpleOpenNI(this);
show.enableRGB();
show.enableDepth();
show.enableUser();
}
void draw()
{
show.update();
image(show.rgbImage(),0,0);
image(show.userImage(),0,240+120,320/2,240/2);
}
第三節課(用別人軟體玩玩看找想法)
1.先下載 Kinect for Windows Developer Toolkit v1.8
2.試著玩玩看Kinect Fusion Basics D2D
沒有留言:
張貼留言