나는 처리를 위해 SimplePenni 라이브러리와 함께 openni2.2, nite2.2 및 kinect SDK 1.6을 설치했습니다. 적외선 이미지를 제외하고는 모두 잘 작동합니다. 단순히 존재하지 않습니다. 동시에 심도있는 이미지를 볼 수 있기 때문에 (그리고 깊이 이미지는 인프라 카메라와 프로젝터 작동을 논리적으로 필요로하기 때문에) 정말 이상합니다. 그래서 드라이버 나 소프트웨어에 문제가 있다고 가정합니까? 적외선 카메라로 kinect를 사용하고 싶습니다. 제발 도와주세요, 내 테스트 코드를 첨부하십시오 :Kinect 인프라 이미지가 표시되지 않습니다 - 이유가 무엇입니까?
/* --------------------------------------------------------------------------
* SimpleOpenNI IR Test
* --------------------------------------------------------------------------
* Processing Wrapper for the OpenNI/Kinect library
* http://code.google.com/p/simple-openni
* --------------------------------------------------------------------------
* prog: Max Rheiner/Interaction Design/zhdk/http://iad.zhdk.ch/
* date: 02/16/2011 (m/d/y)
* ----------------------------------------------------------------------------
*/
import SimpleOpenNI.*;
SimpleOpenNI context;
void setup()
{
context = new SimpleOpenNI(this);
// enable depthMap generation
if(context.enableDepth() == false)
{
println("Can't open the depthMap, maybe the camera is not connected!");
exit();
return;
}
// enable ir generation
if(context.enableIR() == false)
{
println("Can't open the depthMap, maybe the camera is not connected!");
exit();
return;
}
background(200,0,0);
size(context.depthWidth() + context.irWidth() + 10, context.depthHeight());
}
void draw()
{
// update the cam
context.update();
// draw depthImageMap
image(context.depthImage(),0,0);
// draw irImageMap
image(context.irImage(),context.depthWidth() + 10,0);
}
이미지 오류 표시 : http://i.imgur.com/jzdqbXN.jpg?1 – doku