Bonjour,
Je démarre sur processing..il faut bien un début ![]()
je cherche à utiliser la kinect pour réaliser des animations à base de sculpture et de numérique dans le cadre d'un "démonstrateur numérique itinérant" pour promouvoir (200% bénévolement ) les communautés open source, makers, hackers dans les territoires.
j'ai installé processing 1.5 et 2.0
j'ai installé open NI 2.0
NITE 2.0 itou
la bibliothèque SimpleOpenNI
la kinect est à priori bien installée puique j'ai bien des images avec le viewer nite
je charge et lance un sketch d'exemple issu du bouquin kinect arduino processing
j'obtiens le message d'erreur :
Can't load SimpleOpenNI library (SimpleOpenNI32) : java.lang.UnsatisfiedLinkError: E:\Users\carbon\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI32.dll: Can't find dependent libraries
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/ … stallation
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
at SimpleOpenNI.SimpleOpenNIJNI.swig_module_init(Native Method)
at SimpleOpenNI.SimpleOpenNIJNI.<clinit>(SimpleOpenNIJNI.java:1575)
at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:212)
at sketch_130502a.setup(sketch_130502a.java:27)
at processing.core.PApplet.handleDraw(PApplet.java:2241)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2140)
at java.lang.Thread.run(Thread.java:662)
alors que le chemin mène bien a SimpleOpenNI32.dll
... j'ai tout réinstallé trois fois... HELP!!!
le code:
// Import simple-openni
import SimpleOpenNI.*;
// Declare the simple-openni object
SimpleOpenNI kinect;
void setup() {
kinect = new SimpleOpenNI(this);
// enable depthMap and RGB image
kinect.enableDepth();
kinect.enableRGB();
// enable mirror
kinect.setMirror(true);
// Set the size of the sketch to fit the depth map and RGB images
size(kinect.depthWidth()+kinect.rgbWidth(), kinect.depthHeight());
}
void draw() {
// Update the data from Kinect
kinect.update();
// draw depthImageMap and RGB images
image(kinect.depthImage(), 0, 0);
image(kinect.rgbImage(), kinect.depthWidth(), 0);
}// Import simple-openni
import SimpleOpenNI.*;
// Declare the simple-openni object
SimpleOpenNI kinect;
void setup() {
kinect = new SimpleOpenNI(this);
// enable depthMap and RGB image
kinect.enableDepth();
kinect.enableRGB();
// enable mirror
kinect.setMirror(true);
// Set the size of the sketch to fit the depth map and RGB images
size(kinect.depthWidth()+kinect.rgbWidth(), kinect.depthHeight());
}
void draw() {
// Update the data from Kinect
kinect.update();
// draw depthImageMap and RGB images
image(kinect.depthImage(), 0, 0);
image(kinect.rgbImage(), kinect.depthWidth(), 0);
}si quelqu'un a besoin d'un scan du bouquin pour me répondre... qu'il n'hésite pas ![]()
Dernière modification par Man (2013-05-02 14:31:52)
Hors ligne
Pages: 1