openni

Kinect 3D gesture recognition based on skeleton movements - What libraries exist?

青春壹個敷衍的年華 提交于 2019-12-04 07:24:46
What gesture recognition libraries (if any) exist for the Kinect? Right now I'm using OpenNI to record skeleton movements but am not sure how to go from that to triggering discrete actions. My problem might be as simple as pose detection but it could also be as complicated as time based movements (ie. detect when they are moving their hand in a circle) depending on how difficult that is. The examples that I've seen for pose detection have been very ad-hoc - is this because a generic algorithm is difficult to do right? The NITE library (on top of OpenNI) has classes for detecting swipe and

How to read oni file in Processing 2?

徘徊边缘 提交于 2019-12-03 21:02:05
I have a Kinect program in Processing 2 that I would like to test or simulate by passing it saved skeletons from an .oni file rather than taking input from the Kinect. Is it possible to do this, i.e. to get Processing 2 instead of using the Kinect it should read values from the .oni file and produce an output? I recommend using the SimpleOpenNI library: import SimpleOpenNI.*; SimpleOpenNI ni; void setup(){ size(640,480); ni = new SimpleOpenNI(this); if(SimpleOpenNI.deviceCount() == 0) ni.openFileRecording("/path/to/yourRecording.oni"); ni.enableDepth(); } void draw(){ ni.update(); image(ni

Does Openni 2.2 support Kinect v2?

折月煮酒 提交于 2019-12-03 09:10:26
I'm using the new kinect on win8.1 and installed the Openni2 and NITE2, but they can't find my kinect. So what should I do to make it run? OpenNI doesn't support Kinect (v1 or v2) directly. But you may install a driver for that. I have used successfully the Kinect v1 with OpenNI in windows and Linux... In windows it is easier, you only need to install the Kinect SDK 1.8 for v1... I haven't test it for v2 though, but I am almost sure it doesn't work... most probably you will need to wait for an open driver... In summary: Does Openni 2.2 support Kinect v2? No So what should I do to make it run?

Missing file in java.library.path

一个人想着一个人 提交于 2019-12-02 13:59:27
问题 While compiling a demo from openni i stumbled across this error: Exception in thread "main" java.lang.UnsatisfiedLinkError: no OpenNI.jni in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1045) at org.OpenNI.NativeMethods.<clinit>(NativeMethods.java:34) at org.OpenNI.Context.initFromXmlEx(Context.java:317) at org.OpenNI.Context.createFromXmlFile(Context.java:36) at

How to install Openni in Windows and Visual Studio 2010?

别说谁变了你拦得住时间么 提交于 2019-12-02 10:16:10
问题 I would like to use this code to kinect with Kinect because my codings are all in c++, and I realize that I would need openni. VideoCapture capture( CV_CAP_OPENNI ); The problem is, I cannot find the latest guide installment for openni. When I do find some good guides, the links are dead. Can Anyone give me links for good openni installation in windows and in visual studio 2010? I would be very grateful. 回答1: VideoCapture capture( CV_CAP_OPENNI ); sounds like your using OpenCV built with

How to install Openni in Windows and Visual Studio 2010?

依然范特西╮ 提交于 2019-12-02 07:27:25
I would like to use this code to kinect with Kinect because my codings are all in c++, and I realize that I would need openni. VideoCapture capture( CV_CAP_OPENNI ); The problem is, I cannot find the latest guide installment for openni. When I do find some good guides, the links are dead. Can Anyone give me links for good openni installation in windows and in visual studio 2010? I would be very grateful. George Profenza VideoCapture capture( CV_CAP_OPENNI ); sounds like your using OpenCV built with OpenNI support. I recommend installing OpenNI first. Version 1.5.4.0 which you can find here

OpenCV OpenNI calibrate kinect

萝らか妹 提交于 2019-12-02 01:20:47
I use home to capture by kinect: capture.retrieve( depthMap, CV_CAP_OPENNI_DEPTH_MAP ) capture.retrieve( bgrImage, CV_CAP_OPENNI_BGR_IMAGE ) Now I don't know if I have to calibrate kinect to have depth pixel value correct. That is, if I take a pixel (u, v) from the image RBG, get the correct value of depth taking the pixels (u, v) from the image depth? depthMap.at<uchar>(u,v) Any help is much appreciated. Thanks! You can check if registration is on like so: cout << "REGISTRATION " << capture.get( CV_CAP_PROP_OPENNI_REGISTRATION ) << endl; and if it's not, set it like so: capture.set(CV_CAP

Set USB transfer type manually for a device

。_饼干妹妹 提交于 2019-12-01 12:45:54
I try to run the Asus xtion on a ARM Board (Pandaboard) and I already installed and used the samples (e.g NiSimpleRead) provided by openni. To get these samples running on this Platform it needed some tweaks, one of them is to set the UsbInterface manually to isochronous (in the GlobalDefaults.ini). But after that everything runs smoothly Now I want to use PCL (which is based on openni) to grab some frames but PCL doesn't work. I believe that pcl tries to set the USB-Interface on its own (it probably uses XnUSBLinux.cpp to be generic) and tries to bypass the GlobalDefaults.ini, respectively

Can not grab image from VideoCapture OpenCV with Asus Xtion Pro Live

我只是一个虾纸丫 提交于 2019-12-01 11:54:19
问题 I just installed OpenCV 2.4.7 with OpenNI and primesense Sensor as it can be seen in the following build information. I have problems grabbing from a VideoCapture object. For instance, if I run the openni_capture example, I get "Can not grab images." but I get info about the depth and RGB cameras, so I think I'm getting the VideoCapture object properly opened, but by the time it tries to grab an image, the grab function returns 0. I am using an Asus Xtion Pro Live and OpenNI and Sensor are

Set USB transfer type manually for a device

雨燕双飞 提交于 2019-12-01 11:47:35
问题 I try to run the Asus xtion on a ARM Board (Pandaboard) and I already installed and used the samples (e.g NiSimpleRead) provided by openni. To get these samples running on this Platform it needed some tweaks, one of them is to set the UsbInterface manually to isochronous (in the GlobalDefaults.ini). But after that everything runs smoothly Now I want to use PCL (which is based on openni) to grab some frames but PCL doesn't work. I believe that pcl tries to set the USB-Interface on its own (it