キネクトへアクセスし、距離カメラとカラーカメラの両方から画像を読み出し、並べて画面上に表示させたいです。
XBOX360 kinectを用いて、JavaベースのProcessingでライブの距離画像をみたいのですが、SimpleOpenNIの取得ができずにエラーが出ている状態です。
エラーメッセージ
Can't load SimpleOpenNI library (SimpleOpenNI64) : java.lang.UnsatisfiedLinkError: S:\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI64.dll: Can't find dependent libraries Verify if you installed SimpleOpenNI correctly. http://code.google.com/p/simple-openni/wiki/Installation A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application.
ソースコード
import SimpleOpenNI.*; import SimpleOpenNI.*; SimpleOpenNI kinect; void setup() { size(640, 480); kinect = new SimpleOpenNI(this); kinect.enableDepth(); kinect.enableRGB(); } void draw() { image ( kinect.depthImage(), 0, 0); image ( kinect.rgbImage(), 0, 0); }
試したこと
・simple-openni 公式サイトからsimple-openniと
OpenNI_NITE_Installer-win64-0.27.zipをダウンロード。
・「ドキュメント」フォルダの中の「Processing」の中の「libraries」を開き、「SimpleOpenNI」フォルダをもってくる。
・OpenNI_NITE_Installer-win64-0.27.zipを展開し、すべてのインストーラを実⾏。
よろしくお願いします。
あなたの回答
tips
プレビュー