GithubHelp home page GithubHelp logo

simple-openni's People

Watchers

James Cloos avatar  avatar

simple-openni's Issues

Interference in depth map (vertical lines)

The depth map appears to have vertical lines running through it which get 
closer together the longer the sketch runs. Initially there are just two or 
three, but they seem to creep closer together over time so that there are more 
of them.

These were visible on the SimpleOpenNI_User sample sketch.

I am using version 0.11 with OSX 10.6 on a MacBook Pro.

See attached screenshot.

Original issue reported on code.google.com by [email protected] on 27 Feb 2011 at 1:22

Attachments:

OSX installation

What steps will reproduce the problem?
1. Install according to instructions
2. Open any/all of the examples in Processing
3. Click Run

What is the expected output? What do you see instead?
Get the library meesage
"Library not loaded: ../../Bin/Release/libXnVNite.dylib"

What version of the product are you using? On what operating system?
SimpleOpenNI-0.18-osx.zip on osx

Please provide any additional information below.
Are there missing files in the zip? There is no Bin directory, just 
documentation, examples, and library (which I installed in 
Documents/Processing/libraries)

Thanks!


Original issue reported on code.google.com by [email protected] on 5 Jun 2011 at 11:58

UnsatisfiedLinkError

after installing simple openni as described on ubuntu 10.10 64 bit (or 11.04 64 
bit) and running an example (as the one from the "project home" page), the 
following error occurs:

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: 
/home/*/sketchbook/libraries/SimpleOpenNI/library/libSimpleOpenNI.so: 
/home/*/sketchbook/libraries/SimpleOpenNI/library/libSimpleOpenNI.so: wrong ELF 
class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at SimpleOpenNI.SimpleOpenNI.<clinit>(SimpleOpenNI.java:33)
    at sketch_jul09a.setup(sketch_jul09a.java:28)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)

i tried this on two different machines now, both with the same error.

Original issue reported on code.google.com by [email protected] on 8 Jul 2011 at 10:20

close() breaks the system

If you try to use the close() function of the SimpleOpenNI, it breaks the 
virtual machine.

It happen in 0.25 version, on Linux x86_64.

My expectative is that I will can use close() function to stop the kinect, and 
some time later I start it again with new configurations.


Original issue reported on code.google.com by [email protected] on 2 Feb 2012 at 9:07

Windows 64 bit support

What steps will reproduce the problem?
1. Win 7 64 bit, java 64 bit, openni, nite, primesense 64 bit
2. Run processing and attempt to use simpleopenni (examples will do)

What is the expected output? What do you see instead?
Should work, instead get UnsatisfiedLinkError for SimpleOpenNI.dll - Can't load 
IA 32-bit on a AMD 64-bit platform

What version of the product are you using? On what operating system?
.20 version on Windows 7 64 bit

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Aug 2011 at 7:39

EXCEPTION_ACCESS_VIOLATION OpenNI.dll+0x10345

I've got a problem... I installed:
-PrimaSense Package Stable for Windows x86 20.3.3.6 dev edition
-SensorKinect-Win-OpenSource32 5.0.5.1
-JDK 7u1 x86
-Processing 1.5.1 without Java
-Eclipse x86
-SimpleOpenNI-0.20-win32
-Windows 7 x64

And when I run this program:

import processing.core.*;
import SimpleOpenNI.*;

public class T2Go extends PApplet{

     SimpleOpenNI  context;

      public void setup() {
        context = new SimpleOpenNI(this);
        context.enableDepth();
      }

      public void draw() {
      } 
}

I get error (full log in attached file), what's more, there is no problem when 
I delete context.enableDepth(); so I think the library was linked correctly. 
Same error with processing and eclipse.

I tried to install everything in x64 version but I can't pass 
java.lang.UnsatisfiedLinkError: no SimpleOpenNI so I gave up — with x86 I 
don't have this problem. 

I uninstalled freenect drivers and I can see in device manager under PrimaSense 
3 kinect devices so I hope it's ok. 

Do you have any idea?


Log's heder:


# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6ce90345, pid=4304, tid=5024
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) Client VM (21.1-b02 mixed mode windows-x86 )
# Problematic frame:
# C  [OpenNI.dll+0x10345]
#
# Failed to write core dump. Minidumps are not enabled by default on client 
versions of Windows

Original issue reported on code.google.com by [email protected] on 7 Dec 2011 at 8:54

Attachments:

Source not available

What steps will reproduce the problem?
1. Download source, using svn.
2. Look for corresponding sources to class files included in distribution jar.

What is the expected output? What do you see instead?
Expected: a folder named "SimpleOpenNI", with files such as 
"AlternativeViewPointCapablity.java" etc.

Instead: There is only one .java file, "SimpleOpenNI.java", not contained in a 
"SimpleOpenNI" folder and thus unable to fulfill its package directive "package 
SimpleOpenNI;"

What version of the product are you using? On what operating system?
Universal version 0.27; Ubuntu GNU/Linux 10.04 if it matters

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 8 Jun 2012 at 4:10

cannot save calibration on MacOSX lion

What steps will reproduce the problem?
1.run example "UserSaveCalib" in example
2.
3.

What is the expected output? What do you see instead?
application is expected to run and save user calibration. instead console 
throws error: "Invalid memory access of location 0x920b3508 eip=0x92b42c19", 
then application unexpectedly quits

What version of the product are you using? On what operating system?
version 0.24 & 0.26 on MacOSX lion, processing 1.5.1

Please provide any additional information below.
everything works fine on MacOSX 10.6

thanks a lot

Original issue reported on code.google.com by [email protected] on 7 Mar 2012 at 8:34

Attachments:

Fix for Ubuntu 11.10 32bit with latest openni binaries

What steps will reproduce the problem?

1. Install from openni.org:
openni-bin-dev-linux-x86-v1.5.2.23.tar.bz2
nite-bin-linux-x86-v1.5.2.21.tar.bz2
sensor-bin-linux-x86-v5.1.0.41.tar.bz2

2. Install simple-openni:
SimpleOpenNI-0.26.zip

3. Try to run the example pde from http://code.google.com/p/simple-openni/

What is the expected output? What do you see instead?

Error with stack trace:

Can't find the SimpleOpenNI library (SimpleOpenNI32) : 
java.lang.UnsatisfiedLinkError: no SimpleOpenNI32 in java.library.path
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:1553)
        at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
        at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:209)
        at SimpleOpenNITest.setup(SimpleOpenNITest.java:28)
        at processing.core.PApplet.handleDraw(Unknown Source)
        at processing.core.PApplet.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:662)

What version of the product are you using? On what operating system?

Running on 32 bit Ubuntu 11.10 (oneiric) with processing 1.5.1 and
the following Ubuntu packages:

$ dpkg-query -W libboost1.46-dev libeigen3-dev swig sun-java6-jdk cmake
cmake   2.8.5-1ubuntu1
libboost1.46-dev        1.46.1-5ubuntu2
libeigen3-dev   3.0.1-1
sun-java6-jdk   6.26-1natty1
swig    2.0.4+really1.3.40-3ubuntu4


Please provide any additional information below.

The build instructions at
http://code.google.com/p/simple-openni/wiki/HowToBuild
and the attached patch seem to fix things.


Original issue reported on code.google.com by [email protected] on 30 Mar 2012 at 3:00

Attachments:

How can I use others gestures?

Ok, I was wondering how I could use other gestures. I can't figure out how to 
use them. I looked at the index.html file and I saw a the push gesture and I 
would like to use that. Can anyone show me how to use them?

Thanks, will

Original issue reported on code.google.com by [email protected] on 5 Nov 2011 at 3:27

Win7, SimpleOpenNI 0.24 win32 > Can't open the depthMap

When I try to run an example program of the 
SimpleOpenNI-0.24-win32.zip library
I just get this console output: 

SimpleOpenNI Version 0.24
Can't open the depthMap, maybe the camera is not connected!

When I try to run an older Version - SimpleOpenNI 0.20 - I get this error:

SimpleOpenNI Version 0.20
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x73fc02b5, pid=7536, tid=7712
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode windows-x86 )
# Problematic frame:
# C  [OpenNI.dll+0x102b5]

I attached the whole crash report of the second test.


---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 26 stepping 5, 
cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

Memory: 4k page, physical 25164216k(17264944k free), swap 50326584k(42772584k 
free)

vm_info: Java HotSpot(TM) Client VM (20.5-b03) for windows-x86 JRE 
(1.6.0_30-b12), built on Nov 10 2011 01:51:00 by "java_re" with MS VC++ 7.1 
(VS2003)


I got two kinects plugged in 

and installed PrimeSense NITE 1.5.2.7 along with PrimeSense Sensor 5.1.0.25 and 
OpenNI 1.5.2.7

On the same machine I got a virtual machine running with osx 10.7.2 lion. On 
this VM SimpleOpenNI works.

Original issue reported on code.google.com by [email protected] on 4 Jan 2012 at 1:45

Attachments:

emphasize the install procedure for the mac osx install.

I tried the mac install in my usual way, type sudo in the terminal and then 
drag/drop the install.sh file throughout the finder.

That doesn't work. None of the folders are created.

You can, however, type cd in the terminal and then drag the 
OpenNI_NITE_Installer-OSX folder. You can follow the second command by typing 
it 

Just wanted to as that you emphasize the 'cd' portion of that install 
procedure, or a wring as to what to expect if it is done the other way.

Original issue reported on code.google.com by [email protected] on 29 Feb 2012 at 5:41

No error in Processing but still no depth image

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Expected output of simple library example 'depth image' is a split screen in 
which I can see RGB and depth image. I get the RGB image but only a black depth 
image. But also does not output "cannot open depth image" to console. Just 
black (enough light, enough distance)

What version of the product are you using? On what operating system?
0.26 , Processing 1.5, Mac OSX Lion 10.7.3, XboX360 Kinect sensor with 
USB/power supply adapter cable

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Apr 2012 at 11:22

mac install instructions fail for libusb-devel

What steps will reproduce the problem?

1. Run "sudo port install libusb-devel +universal"

--->  Configuring libusb-devel
Error: Please do not install this port since it has been replaced by 'libusb'.

2. Run "sudo port install libusb +universal"
--->  Fetching archive for libusb
--->  Attempting to fetch libusb-1.0.9_0+universal.darwin_11.i386-x86_64.tbz2 
from http://packages.macports.org/libusb
--->  Fetching distfiles for libusb
--->  Attempting to fetch libusb-1.0.9.tar.bz2 from 
http://distfiles.macports.org/libusb
--->  Verifying checksum(s) for libusb
--->  Extracting libusb
--->  Configuring libusb
--->  Building libusb
--->  Staging libusb into destroot
--->  Installing libusb @1.0.9_0+universal
--->  Activating libusb @1.0.9_0+universal
Error: org.macports.activate for port libusb returned: Image error: 
/opt/local/lib/libusb-1.0.0.dylib already exists and does not belong to a 
registered port.  Unable to activate port libusb. Use 'port -f activate libusb' 
to force the activation.
Please see the log file for port libusb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb failed

3. Run "sudo port -f activate libusb"
--->  The following versions of libusb are currently installed:
--->      libusb @1.0.9_0
--->      libusb @1.0.9_0+universal
Error: port activate failed: Registry error: Please specify the full version as 
recorded in the port registry.

4. Run "sudo port clean libusb" and "sudo port install libusb"
--->  Activating libusb @1.0.9_0
Error: org.macports.activate for port libusb returned: Image error: 
/opt/local/lib/libusb-1.0.0.dylib already exists and does not belong to a 
registered port.  Unable to activate port libusb. Use 'port -f activate libusb' 
to force the activation.
Please see the log file for port libusb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb failed



What is the expected output? What do you see instead?
Expect correct installation

What version of the product are you using? On what operating system?
OSX 10.7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 May 2012 at 8:56

Kinect for windows device id

The new kinect for windows has a difference device id, the new one is:
0x02be

I am having loads of issues building it, any chance you could add an if else 
statement for the device id.

Original issue reported on code.google.com by [email protected] on 29 Apr 2012 at 2:27

Microsoft Kinect Camera not appearing under Primesense in Device Manager (Win 7, 64-bit)

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
I expect to see the Kinect Motor, Camera and Audio under Primesense in the 
Device Manager but instead I only see the Audio and Motor. Microsoft Kinect 
Camera appears under Microsoft Kinect.


What version of the product are you using? On what operating system?
I have Windows 7 64 bit. 


Please provide any additional information below.
I tried using Zigfu to install with the above result. Then I tried installing 
the OPEN_NI_NITE (32 bit) installer from this site. The book I'm following for 
the kinect said to install the 32 bit version of it even if I have a 64 bit 
system so I did without modifying the result. I then tried the 64 bit version 
without changing the result either. In none of these steps did I uninstall the 
previous 32 bit versions.

Thanks for any help,

Mark


Original issue reported on code.google.com by [email protected] on 17 Jun 2012 at 7:01

Multicamera support

Hi,
since OpenNI offers the possibility to control multiple kinects, it would be 
great to integrate that feature into the wrapper.

Thanks in advance,
Ben

Original issue reported on code.google.com by [email protected] on 30 Sep 2011 at 8:14

Trying to make a small bundle and deploy for mac


What steps will reproduce the problem?
1. I wrote an application in Java using Eclipse with processing, libMapper and 
simpleOpenNI.
2. I want to make a bundle to deploy to mac users without requiring them to 
install 100Mb of libraries.
3. I'm including in the bundle

SimpleOpenNI.jar    
libSimpleOpenNI.jnilib      
libSimpleOpenNI64.so
libSimpleOpenNI.so
SimpleOpenNI32.dll  
SimpleOpenNI64.dll  

libOpenNI.dylib
libXnVNite_1_5_2.dylib
libusb-1.0.0.dylib

and have changed the install names.

What is the expected output? What do you see instead?
In my computer it is ok, but anywhere else I'm getting the error:

Current thread (10c9fd000):  JavaThread "Animation Thread" [_thread_in_native, 
id=556507136, stack(1211ba000,1212ba000)]
Stack: [1211ba000,1212ba000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  
SimpleOpenNI.SimpleOpenNIJNI.ContextWrapper_enableUserSwigExplicitContextWrapper
(JLSimpleOpenNI/ContextWrapper;I)Z+0
j  SimpleOpenNI.ContextWrapper.enableUser(I)Z+28
j  SimpleOpenNI.SimpleOpenNI.enableUser(ILjava/lang/Object;)Z+17
j  SimpleOpenNI.SimpleOpenNI.enableUser(I)Z+6
j  Painting.setup()V+38
j  processing.core.PApplet.handleDraw()V+65
j  processing.core.PApplet.run()V+51
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub


That comes from:

Thread 24 Crashed:  Java: Animation Thread
0   libOpenNI.dylib                 0x000000012358ba26 xnSetSkeletonProfile + 22
1   libSimpleOpenNI.jnilib          0x000000012346eb95 
xn::SkeletonCapability::SetSkeletonProfile(XnSkeletonProfile) + 35
2   libSimpleOpenNI.jnilib          0x0000000123474a4c 
sOpenNI::ContextWrapper::createUser(int, bool) + 238
3   libSimpleOpenNI.jnilib          0x0000000123474d12 
sOpenNI::ContextWrapper::enableUser(int) + 102
4   libSimpleOpenNI.jnilib          0x000000012344c43e 
Java_SimpleOpenNI_SimpleOpenNIJNI_ContextWrapper_1enableUserSwigExplicitContextW
rapper + 69



Original issue reported on code.google.com by [email protected] on 15 May 2012 at 5:14

Error in libusb-devel installation

hello.

I'm a Mac user, 10.7 Lion.
I want to run Kinect in Cinema4D.

So I installed Delicode NI mate, did not working.
And I find OpenNI.

At first, I install Macports, and install libtool. But I can't installed 
libusb-devel...

follows is error.

==========================================================
$ sudo port install libusb-devel +universal
Password:
--->  Configuring libusb-devel
Error: Please do not install this port since it has been replaced by 'libusb'.
Error: org.macports.configure for port libusb-devel returned: 
Please see the log file for port libusb-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb-devel/libusb-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb-devel failed
==========================================================


and I checked some issues.
http://code.google.com/p/simple-openni/issues/detail?id=44

But... is it libusb +universal?
I think it has to be but libusb to libusb-devel...

Additional, Kinect do not working.
Grenn lamp is blinking, I think it's usb connected sign... maybe.

in system report, kinect is identified...

Xbox NUI Motor:

  製品 ID:  0x02b0
  製造元 ID:   0x045e  (Microsoft Corporation)
  バージョン:    1.07
  速度: 最高 12 Mb/秒
  製造元:  Microsoft
  場所 ID:  0x26420000 / 3
  利用可能な電流(mA):  500
  必要な電流(mA):    100

like this.


What I have to do now... Please help me.



Original issue reported on code.google.com by [email protected] on 20 Jul 2012 at 9:43

Bad performance in OpenGL mode

When setting processing mode to OpenGL, context.update() function runs very 
slow.

Without drawing any elements to scene, simple context.update() function in P3D 
mode runs at about 30+ FPS on my machine. When i change the mode to OPENGL, 
performance drops down to 8 and less FPS...

Using SimpleOpenNI 0.22, Mac OS X 10.6.8

Original issue reported on code.google.com by [email protected] on 19 Dec 2011 at 3:07

error running on win7 SP1 x64

What steps will reproduce the problem?
1. follow installation instructions
2. run any example
3. get this error (see attached log)

What is the expected output? What do you see instead?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6735c905, pid=468, tid=2336
#

What version of the product are you using? On what operating system?

windows 7 SP1 x64
processing 1.2.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Mar 2011 at 4:44

Attachments:

UnsatisfiedLinkError

What steps will reproduce the problem?
1. downloaded everything
2. launched depthimage test


What is the expected output? What do you see instead?

Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
Can't find the SimpleOpenNI library (SimpleOpenNI) : 
java.lang.UnsatisfiedLinkError: 
/Users/lauria/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenN
I.jnilib:  no suitable image found.  Did find:  
/Users/lauria/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenN
I.jnilib: unknown required load command 0x80000022
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:1553)
    at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
    at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:167)
    at DepthImageXml.setup(DepthImageXml.java:40)
    at processing.core.PApplet.handleDraw(PApplet.java:1608)
    at processing.core.PApplet.run(PApplet.java:1530)
    at java.lang.Thread.run(Thread.java:680)

What version of the product are you using? On what operating system?
Mac OSX 10.5.8
Java 1.6
Processing 1.5.1

Please provide any additional information below.
Can't run detphimage test. Any help would be much appreciated. Thanks.

Original issue reported on code.google.com by [email protected] on 1 Apr 2012 at 2:51

OpenGL render mode does not work in Windows 7 x64 mode.

What steps will reproduce the problem?
1. Open an openNI example such as "Hands3D" that ships with the openNI download
2. Uncomment the open GL import, and uncomment the size(1024,768,OPENGL) line
3. Run the sketch and I get a gray screen - no errors. 


This, I believe, is partially due to the installation requirement to " remove 
the Java folder in the Processing folder." (See this link to the installation 
instructions: http://code.google.com/p/simple-openni/wiki/Installation).

If I do not remove this folder, I get the following error: 

Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError: 
C:\Users\Developer\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpe
nNI.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

which could be related to the following processing thread 
(http://code.google.com/p/processing/issues/detail?id=255), which has 
supposedly been resolved. More info about that can be found here:

https://forum.processing.org/topic/opengl-with-x64-windows-does-not-work-what-to
-do

What is the expected output? What do you see instead?

Blank gray screen


What version of the product are you using? On what operating system? WIndows 7 
x64 (64 bit mode)

SimpleOpenNI-0.24 Win64  


Please provide any additional information below.

All examples run fine in p3d mode. Please help me resolve! Thank you.

Original issue reported on code.google.com by [email protected] on 17 Feb 2012 at 6:50

Size and framerate of depthimage can't change

What steps will reproduce the problem?
1. Create new simpleOpenNI example.
2. Enabled depth with any width, height, or framerate values other than 
640,480,30
 - context.enableDepth(320,240,30); or context.enableDepth(640,480,15);
3. Video returned by depth and rgb is blank.

What is the expected output? What do you see instead?
Smaller/slower render of the kinect data to save cpu power since i dont need to 
sample an image that large

What version of the product are you using? On what operating system?
0.18

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 May 2011 at 3:59

Access accelerometer data

Hello and thank you for sharing this easy to library!

There is one thing I'd like to do and not sure if possible: can I read 
accelerometer data ?
If so, how ?
I had a look at the documentation and didn't find anything. In case the 
functionality isn't there where should I start tinkering to add that ?

Thank you for your time,
George

Original issue reported on code.google.com by [email protected] on 26 Nov 2011 at 2:21

SIGSEGV under Ubuntu 12.04 / [libXnVFeatures_1_5_2.so+0x8ce56] Segmentation::detectionByPoint

From time to time I get the following fatal error under Ubuntu 12.04.
Is this a simple-openni bug or is it a OpenNI bug?

SimpleOpenNI Version 0.26

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4dd86a4e56, pid=2796, tid=139972363659008
#
# JRE version: 6.0_25-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 
compressed oops)
# Problematic frame:
# C  [libXnVFeatures_1_5_2.so+0x8ce56]  Segmentation::detectionByPoint(bool, 
std::vector<Vector2D<int>, std::allocator<Vector2D<int> > > const*)+0x116


Original issue reported on code.google.com by [email protected] on 19 May 2012 at 8:06

Attachments:

Context doesn't seem to update if outside the draw() method

What steps will reproduce the problem?
1. Stop the draw() loop with noLoop()
2. Call context.update() and context.depthImage() or context.depthMap()
3. Notice the OpenNI information doesn't update, it's stil the most recent 
'frame' before calling noLoop()

What is the expected output? What do you see instead?

I expected to get updated depth values after calling context.update()

What version of the product are you using? On what operating system?

SimpleOpenNI 0.26 on osx 10.6.8 

Please provide any additional information below.
Here is a test sketch:
import SimpleOpenNI.*;

SimpleOpenNI  context;
boolean       recordFlag = true;

int frames = 0;

void setup(){
  context = new SimpleOpenNI(this);

  if(! recordFlag){
    if(! context.openFileRecording("test.oni") ){
      println("can't find recording !!!!");
      exit();
    }
    context.enableDepth();
  }else{  
    // recording
    context.enableDepth();
    // setup the recording 
    context.enableRecorder(SimpleOpenNI.RECORD_MEDIUM_FILE,"test.oni");
    // select the recording channels
    context.addNodeToRecording(SimpleOpenNI.NODE_DEPTH,SimpleOpenNI.CODEC_16Z_EMB_TABLES);
  }
  // set window size 
  if((context.nodes() & SimpleOpenNI.NODE_DEPTH) != 0)
    size(context.depthWidth() , context.depthHeight());
  else 
    exit();
}
void draw()
{
  background(0);
  context.update();
  if((context.nodes() & SimpleOpenNI.NODE_DEPTH) != 0) image(context.depthImage(),0,0);
  if(recordFlag) frames++;
}
void keyPressed(){
  if(key == ' '){
    if(recordFlag){
      saveStrings(dataPath("frames.txt"),split(frames+" ",' '));
      exit();
    }else saveONIToPLY();
  }
}
void saveONIToPLY(){
  frames = int(loadStrings(dataPath("frames.txt"))[0]);
  println("recording " + frames + " frames");
  int w = context.depthWidth();
  int h = context.depthHeight();
  noLoop();
  for(int i = 0 ; i < frames; i++){
    PrintWriter output = createWriter(dataPath("frame_"+i+".ply"));
    output.println("ply");
    output.println("format ascii 1.0");
    output.println("element vertex " + (w*h));
    output.println("property float x");
    output.println("property float y");
    output.println("property float z");
    output.println("end_header\n");
    context.update();
    int[]   depthMap = context.depthMap();
    int     index;
    PVector realWorldPoint;
    for(int y=0;y < h;y++){
      for(int x=0;x < w;x++){
        index = x + y * w;
        realWorldPoint = context.depthMapRealWorld()[index];
        output.println(realWorldPoint.x + " " + realWorldPoint.y + " " + realWorldPoint.z);
      }
    }
    output.flush();
    output.close();
    println("saved " + (i+1) + " of " + frames);
  }
  loop();
  println("recorded " + frames + " frames");
}

Also I couldn't find a way to determine how many frames the .oni file has, so 
I've used  a text file.

To get update to work I've done the saving in the draw loop and used delay() - 
quite hacky/not precise:

import SimpleOpenNI.*;

SimpleOpenNI  context;
boolean       recordFlag = false;
boolean       saving = false;
int frames = 0;
int savedFrames = 0;

void setup(){
  context = new SimpleOpenNI(this);

  if(! recordFlag){
    if(! context.openFileRecording("test.oni") ){
      println("can't find recording !!!!");
      exit();
    }
    context.enableDepth();
  }else{  
    // recording
    context.enableDepth();
    // setup the recording 
    context.enableRecorder(SimpleOpenNI.RECORD_MEDIUM_FILE,"test.oni");
    // select the recording channels
    context.addNodeToRecording(SimpleOpenNI.NODE_DEPTH,SimpleOpenNI.CODEC_16Z_EMB_TABLES);
  }
  // set window size 
  if((context.nodes() & SimpleOpenNI.NODE_DEPTH) != 0)
    size(context.depthWidth() , context.depthHeight());
  else 
    exit();
}
void draw()
{
  background(0);
  context.update();
  if((context.nodes() & SimpleOpenNI.NODE_DEPTH) != 0) image(context.depthImage(),0,0);
  if(recordFlag) frames++;
  if(saving && savedFrames < frames){
      delay(3000);//hack
      int i = savedFrames;
      int w = context.depthWidth();
      int h = context.depthHeight();
      PrintWriter output = createWriter(dataPath("frame_"+i+".ply"));
      output.println("ply");
      output.println("format ascii 1.0");
      output.println("element vertex " + (w*h));
      output.println("property float x");
      output.println("property float y");
      output.println("property float z");
      output.println("end_header\n");
      rect(random(width),random(height),100,100);
      int[]   depthMap = context.depthMap();
      int     index;
      PVector realWorldPoint;
      for(int y=0;y < h;y++){
        for(int x=0;x < w;x++){
          index = x + y * w;
          realWorldPoint = context.depthMapRealWorld()[index];
          output.println(realWorldPoint.x + " " + realWorldPoint.y + " " + realWorldPoint.z);
        }
      }
      output.flush();
      output.close();
      println("saved " + (i+1) + " of " + frames);
      savedFrames++;
  }
}
void keyPressed(){
  if(key == ' '){
    if(recordFlag){
      saveStrings(dataPath("frames.txt"),split(frames+" ",' '));
      exit();
    }else saveONIToPLY();
  }
}
void saveONIToPLY(){
  frames = int(loadStrings(dataPath("frames.txt"))[0]);
  saving = true;
  println("recording " + frames + " frames");
}

Original issue reported on code.google.com by [email protected] on 22 Jul 2012 at 10:01

Can't find the SimpleOpenNI library (SimpleOpenNI32) on 32 and 64-bit Ubuntu (Linux)

Acknowledgement
Contain solutions from Issue 35 and Wiki/Installation.

What steps will reproduce the problem?
1.  On 64-bit Ubuntu, install everything 64-bit
2.  Run DepthImage example

OR

1.  On 32-bit Ubuntu, install everything 32-bit
2.  Run DepthImage example

What is the expected output? What do you see instead?
Expect to see the screen showing images from Kinect.
However, received "Can't find the SimpleOpenNI library library (SimpleOpenNI32) 
: ..." error.

What version of the product are you using? On what operating system?
1.
Ubuntu 11.10, 64-bit, OpenNI-Bin-Dev-Linux-x64-v1.5.2.23, 
NITE-Bin-Dev-Linux-x64-v1.5.2.21, Sensor-Bin-Linux-x64-v5.1.0.41, Processing 
1.5.1, SimpleOpenNI-0.26

2.
Ubuntu 11.04, 32-bit, OpenNI-Bin-Dev-Linux-x86-v1.5.2.23, 
NITE-Bin-Dev-Linux-x86-v1.5.2.21, Sensor-Bin-Linux-x86-v5.1.0.25, Processing 
1.5.1, SimpleOpenNI-0.26

Please provide any additional information below.

Many thanks to [email protected] (Wiki/Installation Feb 11) and 
[email protected] 
(https://code.google.com/p/simple-openni/issues/detail?id=35).  Their solutions 
fixed the two related but different problems as described above.

If you receive "Can't find the SimpleOpenNI library (SimpleOpenNI32) : ..." 
error, it probably is due to incompatibility of the architecture (32 vs 64).  I 
encountered two scenarios:

1.  On x64 Ubuntu, installed everything x64 but encountered above error.  
Bradley's solution (up Feb 11) works here.  Apparently Processing has a 32-bit 
Java in it, and that shall be replaced with a 64-bit Java as described by 
Bradley.  Many thanks, Bradley.

2.  On x32 Ubuntu, installed everything x32 but encountered above error 
(again!).  d...'s solution (Issue 35) works here.  Apparently SimpleOpenNI 
download has been built for 64-bit and the library folder is missing 
"libSimpleOpenNI32.so" file.  One need to build the source for 32-bit and copy 
"libSimpleOpenNI32.so" into the SimpleOpenNI library folder.  Alternatively, 
download the file from attachment.  Many thanks, to [email protected].



Original issue reported on code.google.com by [email protected] on 23 Apr 2012 at 7:58

Attachments:

convertRealWorldToProjective() only works when depth image is enabled

What steps will reproduce the problem?

convertRealWorldToProjective( .. )
only works when enableDepth() has been called on context before. Otherwise the 
projected PVector is returned as [0,0,0].

What version of the product are you using? On what operating system?

OS-X, OpenNI installer from here SimpleOpenNI 0.22



Original issue reported on code.google.com by [email protected] on 2 Dec 2011 at 1:33

NullPointer error for depthMap in OPENGL mode

If I use depthMap generation switched on with enableDepth() and accessed with 
context.depthImage(), I get a nullPointer exception when I am in OPENGL mode 
(P3D mode doesn't work either). It seems impossible to use simple-openni in 
OPENGL mode.

I was adapting my previous code (which used OSCelelton), but the error can be 
reproduced by just adding OPENGL import etc to the SimpleOpenNI sample sketch.

I am using 0.11 on OSX 10.6 on a MacBook Pro.

Original issue reported on code.google.com by [email protected] on 27 Feb 2011 at 1:17

Ubuntu 11.10 32bits Can't open the depthMap, maybe the camera is not connected!

What steps will reproduce the problem?

1.Trying to test User example on Ubuntu 11.10 32bits 
2.I installed the patch for libSimpleOpenNi32.so
3.I've installed the openni modules for ubuntu 32bits 

What is the expected output? What do you see instead?

SimpleOpenNI Version 0.26
Can't open the depthMap, maybe the camera is not connected!

What version of the product are you using? On what operating system?
SimpleOpenNi 0.26

Please provide any additional information below.

I tested the kinect with freenect and it worked properly.



Original issue reported on code.google.com by [email protected] on 1 May 2012 at 12:07

Attachments:

Unsatisfied Link Error

What steps will reproduce the problem?
1. 64 Bit Windows 7, 64 Bit Java SDK 7

2. Install OpenNI, NITE, Sensor, and Kinect Driver  32 Bit from 
http://code.google.com/p/simple-openni/wiki/Installation

3. Try to run any example sketch through Processing (http://processing.org/)

What is the expected output? What do you see instead?

Can't load SimpleOpenNI library (SimpleOpenNI64) : 
java.lang.UnsatisfiedLinkError: 
C:\Users\BILL\Documents\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
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 DepthImage.setup(DepthImage.java:40)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:722)

What version of the product are you using? On what operating system?

Processing 1.5.1
SimpleOpenNI 0.27
NITE 1.5.2.21
OpenNI 1.5.4.0
SensorKinect v0.93-5.1.2.1

Please provide any additional information below.

Program will not run!

Original issue reported on code.google.com by [email protected] on 10 Jun 2012 at 12:06

UnsupportedClassVersionError

What steps will reproduce the problem?
1.install for Mac OSX
2.install library in Processing
3.Attempt to run sketch

What is the expected output? What do you see instead?
I expect to connect to Kinect and run examples from the library. Currently 
doing a tutorial for the book Making Things See.
full error message says
UnsupportedClassVersionError : a library is using code compiled with an 
unsupported version of Java.

What version of the product are you using? On what operating system?

0.22 OSX on OSX.
Please provide any additional information below.

I'm still new at this, so if there's some way to address it that I am simply 
unaware of your patience is appreciated.


Original issue reported on code.google.com by [email protected] on 27 Dec 2011 at 2:56

Building the svn repo fails

Hi Max,

I'm trying to build the latest SVN version of SimpleOpenNI without succes. I 
installed all the required libs (boost, swig, eigen, OPENNI, NITE & cmake). 
Running buildOsx.sh returns the following:

--- generate cmake ---
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found SWIG: /usr/local/bin/swig (found version "2.0.7") 
-- Found Java: /usr/bin/java (found version "1.6.0.31") 
-- Found JNI: -framework JavaVM  
-- Boost version: 1.49.0
-- Looking for include file XnOS.h
-- Looking for include file XnOS.h - not found.
-- Looking for include file XnVSessionManager.h
-- Looking for include file XnVSessionManager.h - not found.
version call: 1_5_2
-- Configuring done
-- Generating done
-- Build files have been written to: 
/Users/aartrost/Desktop/simpleopenni/source/build
--- build ---
"/Applications/CMake 2.8-8.app/Contents/bin/cmake" 
-H/Users/aartrost/Desktop/simpleopenni/source 
-B/Users/aartrost/Desktop/simpleopenni/source/build --check-build-system 
CMakeFiles/Makefile.cmake 0
"/Applications/CMake 2.8-8.app/Contents/bin/cmake" -E cmake_progress_start 
/Users/aartrost/Desktop/simpleopenni/source/build/CMakeFiles 
/Users/aartrost/Desktop/simpleopenni/source/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f CMakeFiles/SimpleOpenNI.dir/build.make 
CMakeFiles/SimpleOpenNI.dir/depend
"/Applications/CMake 2.8-8.app/Contents/bin/cmake" -E cmake_progress_report 
/Users/aartrost/Desktop/simpleopenni/source/build/CMakeFiles 1
[ 20%] Swig source
"/Applications/CMake 2.8-8.app/Contents/bin/cmake" -E make_directory 
/Users/aartrost/Desktop/simpleopenni/source/build/swig_src
/usr/local/bin/swig -java -package SimpleOpenNI -outdir 
/Users/aartrost/Desktop/simpleopenni/source/build/swig_src -c++ 
-I/System/Library/Frameworks/JavaVM.framework/Headers 
-I/System/Library/Frameworks/JavaVM.framework/Headers 
-I/Users/aartrost/Desktop/simpleopenni/source -I/usr/local/include 
-I/Users/aartrost/Desktop/simpleopenni/source/include -I/usr/include/ni 
-I/usr/include/nite -I/usr/local/include/eigen3 -o 
/Users/aartrost/Desktop/simpleopenni/source/build/src/SimpleOpenNIMainJAVA_wrap.
cxx /Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNIMain.i
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:502: Warning 
401: Base class 'NodeWrapper' undefined.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:815: Warning 
401: 'NodeWrapper' must be defined before it is used as a base class.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:256: Warning 
516: Overloaded method xn::OutputMetaData::Timestamp() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:255: Warning 
516: using xn::OutputMetaData::Timestamp() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:259: Warning 
516: Overloaded method xn::OutputMetaData::FrameID() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:258: Warning 
516: using xn::OutputMetaData::FrameID() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:262: Warning 
516: Overloaded method xn::OutputMetaData::DataSize() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:261: Warning 
516: using xn::OutputMetaData::DataSize() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:265: Warning 
516: Overloaded method xn::OutputMetaData::IsDataNew() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:264: Warning 
516: using xn::OutputMetaData::IsDataNew() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:268: Warning 
516: Overloaded method xn::OutputMetaData::GetUnderlying() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:267: Warning 
516: using xn::OutputMetaData::GetUnderlying() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:293: Warning 
516: Overloaded method xn::MapMetaData::XRes() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:292: Warning 
516: using xn::MapMetaData::XRes() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:296: Warning 
516: Overloaded method xn::MapMetaData::YRes() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:295: Warning 
516: using xn::MapMetaData::YRes() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:299: Warning 
516: Overloaded method xn::MapMetaData::XOffset() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:298: Warning 
516: using xn::MapMetaData::XOffset() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:302: Warning 
516: Overloaded method xn::MapMetaData::YOffset() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:301: Warning 
516: using xn::MapMetaData::YOffset() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:305: Warning 
516: Overloaded method xn::MapMetaData::FullXRes() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:304: Warning 
516: using xn::MapMetaData::FullXRes() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:308: Warning 
516: Overloaded method xn::MapMetaData::FullYRes() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:307: Warning 
516: using xn::MapMetaData::FullYRes() const instead.
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:311: Warning 
516: Overloaded method xn::MapMetaData::FPS() ignored,
/Users/aartrost/Desktop/simpleopenni/source/src/SimpleOpenNI.i:310: Warning 
516: using xn::MapMetaData::FPS() const instead.
make[2]: *** [src/SimpleOpenNIMainJAVA_wrap.cxx] Segmentation fault: 11
make[2]: *** Deleting file `src/SimpleOpenNIMainJAVA_wrap.cxx'
make[1]: *** [CMakeFiles/SimpleOpenNI.dir/all] Error 2
make: *** [all] Error 2
--- copy ---
cp: SimpleOpenNI.jar: No such file or directory
cp: libSimpleOpenNI.jnilib: No such file or directory
cp: ./doc/*: No such file or directory

Don't miss the following lines:

-- Looking for include file XnOS.h
-- Looking for include file XnOS.h - not found.
-- Looking for include file XnVSessionManager.h
-- Looking for include file XnVSessionManager.h - not found.

It also seems that you custom command in the CMakelists.txt doesn't run at all.

Hope you can help :)

I have little experience in compiling stuff so I'm kind of melting my brain on 
this one...

Original issue reported on code.google.com by [email protected] on 2 Jun 2012 at 10:35

Processing Can't find the SimpleOpenNI library in windows 32x

I can't figure out why this is coming up? I follwed the download instructions, 
according to the device manager everything is up and running. 
The processing program has been installed correctly. There was no inital 
"libraries" folder so I created one and I have the unzipped SimpleOpenNI folder 
located there.  

What is the expected output? What do you see instead?
I am trying to access the example library and the DepthImage example.


Please provide any additional information below.
Here is the code that comes up

Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError: 
C:\Documents and Settings\Leanne\My 
Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: Can't 
find dependent libraries
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:1542)
    at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
    at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:192)
    at DepthImage.setup(DepthImage.java:40)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)



Original issue reported on code.google.com by [email protected] on 18 Jan 2012 at 12:27

Set "userCount" back to 0

The function "context.getNumberOfUsers();" counts the number of users, who are 
standing in the sceneMap. 

If there is one person, the value of the function increases to 1. If there are 
2 people, the value turns to 2. 

The Problem: If one or both people walk outside the tracked area, the value 
doesn't go back to 0. 

Version of used library: SimpleOpenNI-0.15-osx.zip, uploaded Mar 15
What is the expected output? 0 -  What do you see instead? - 1



Original issue reported on code.google.com by [email protected] on 17 Mar 2011 at 9:19

getCoM() sometime returns 0,0,0 instead of real user's coords

What steps will reproduce the problem?
1. Launch the UserScene3D example
2. Move inside and outside the camera field to trigger user detection
3. See the rectangle showing the Center of Mass sometime going to the coord 
(0,0,0) instead of following the user. 

What is the expected output? What do you see instead?
As the user is well detected, the CoM should be always correct.

What version of the product are you using? On what operating system?
Latest unstable OpenNI, NITE and simple-openni 0.1.8, tested on Win7 x32 & x64

Please provide any additional information below
 - I don't know if it comes from the simple-openni lib or if it is a problem that also occurs when directly using the openni framework.

 - What is bothering is that the CoM calculation keeps being invalid if a user goes off the field and comes back again few seconds later, because the kinect will recognize it as the same user.
A solution would be to set the ServerNoClientsTimeout (in the 
GlobalDefaultsKinect.ini) to a low value, so when someone leaves the field and 
comes again inside it's detected as a new user and then the server starts a new 
CoM calculation.
Of course, some scenarios would be better if a user's id could be kept even if 
the user is off the field for a certain amount of time.

Original issue reported on code.google.com by [email protected] on 14 May 2011 at 11:49

UnsatisfiedLinkError

What steps will reproduce the problem?
1.Install OpenNI, NITE and PrimeSensor (controller)
2.Kinect Audio, Kinect Camera and Kinec Motor (are active)
3.

What is the expected output? What do you see instead?

Program stops in:   context = new SimpleOpenNI(this);
send message: UnsatisfiedLinkError 
C:\Programmierung\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: 
C:\Programmierung\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: 
Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at SimpleOpenNI.SimpleOpenNI.<clinit>(SimpleOpenNI.java:33)
    at DepthImage.setup(DepthImage.java:40)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:662)


What version of the product are you using? On what operating system?
Processing 1.5.1, Windows 7 (64)

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Oct 2011 at 2:10

How to get only one Scene user

Hi, 

I have been using this wrapper all summer. I love it. Anyways, I have a quick 
and probably simple question. In the Scene examples, can I make it so only one 
user can be detected and that user is always blue? And if so, how?

Thanks!

Original issue reported on code.google.com by [email protected] on 21 Jul 2011 at 5:07

still can't use simple openNI - Can't find dependent libraries

What steps will reproduce the problem?
1. OpenNI_NITE_Installer-Win64-0.24, SimpleOpenNI-0.24-win64,
   processing
2. use DepthImage to test
3. use DependencyWalker to detect SimpleOpenNI.dl


What is the expected output? What do you see instead?
Processing:
Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError: 
C:\Users\JiaMing\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenN
I.dll: Can't find dependent libraries

DependencyWalker:
Can't find OPENNI64.DLL and MSVCR90.DLL


What version of the product are you using? On what operating system?
Processing 1.5.1, win7(x64)


Please provide any additional information below.
I've installed  64bit Java version and removed the Java folder in the 
Processing folder but still can't get it. Anyone know about this? 

thanks 

Original issue reported on code.google.com by [email protected] on 18 Feb 2012 at 12:07

Win 64 broken library?

What steps will reproduce the problem?
1. Install 64 bit library
2. Install 64 bit dependent software
3. Run any example

What is the expected output? What do you see instead?
I expected that the example will work, but get:

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: 
E:\Processing\modes\java\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: Can't 
find dependent libraries

What version of the product are you using? On what operating system?
SimpleOpenNI-0.22 Win64  
OpenNI 1.3.3.6 
Nite 1.4.2.4
SensorKinect 5.0.3.4

Please provide any addiional information below.
I also put the lib in the processing folder with no luck.

Original issue reported on code.google.com by [email protected] on 18 Nov 2011 at 12:29

examples use wrong angles (in degrees) for perspective()

The "user3D" example has:

  perspective(95,
              float(width)/float(height), 
              10,150000);

For an hazardous coincidence, this gives reasonable results, but Processing's 
perspective() method takes the first parameter in radians, not degrees.

Try 96 instead of 95 and you'll see unexpected results.

The 95 is actually being interpreted as 95 modulus 2PI radians, which is 
0.752220432, so you can replace 95 with 0.752220432 and the result will be the 
same, but people will know what the code is doing.

It is approximately 43 degrees by the way.

Original issue reported on code.google.com by [email protected] on 16 Jul 2011 at 5:01

SWIG Incompatibilities with OpenNI as of April Release - Patch Attached

What steps will reproduce the problem?
1. Try to build SimpleOpenNI against new OpenNI libs (from April release)

What is the expected output? What do you see instead?

Compilation errors, properties now changed or missing.

What version of the product are you using? On what operating system?

Ubuntu 64-bit 11.04, OpenNI 1.3.4.2, NITE 1.4.1.2

Please provide any additional information below.

I've attached a patch that fixes the compilation errors. In addition, I also 
fixed the way boost thread is found/linked (otherwise you're going to run into 
fPIC errors on Ubuntu 64 with your current CMake, so I assume it's system local 
for building, since the .so shipped in the binaries shows a non-system-package 
boost when ldd'ing anyways :) ), and fixes an error I was having with doc 
generation. Checking for the validity of the P5_JAR variable also seems broken, 
it'll happily try to build without that. 

There's been a new release of OpenNI as of yesterday which may complicate 
issues even more, I haven't tested it against that yet.

Original issue reported on code.google.com by [email protected] on 12 Oct 2011 at 5:42

Attachments:

install simple-openni on OSX 10.7.2, Processing 2.4a

What steps will reproduce the problem?
1. install simple-openni on OSX 10.7.2, Processing 2.4a
2. Try to open any example (e.g. hands.pde)
3.

What is the expected output? What do you see instead?

Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError: 
/Users/admin/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenNI
.jnilib:  Library not loaded: ../../Bin/x86-Release/libOpenNI.dylib   
Referenced from: 
/Users/admin/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenNI
.jnilib   Reason: image not found
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:1542)
    at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
    at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:192)
    at Hands.setup(Hands.java:53)
    at processing.core.PApplet.handleDraw(PApplet.java:1881)
    at processing.core.PApplet.run(PApplet.java:1803)
    at java.lang.Thread.run(Thread.java:680)



What version of the product are you using? On what operating system?

OSX 10.7.2, Processing 2.4a


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Feb 2012 at 12:25

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b31fc75, pid=5872, tid=4612

When I try to run any sketch using simple-openni I get the above error message. 
I thought it might have to do with the memory so I increased it as much as 
possible until processing said it couldn't go higher.
Attached is an error report that was created by java. My OS, RAM, and java 
specs are included in the error report.

Thank you in advance for your support.

Original issue reported on code.google.com by [email protected] on 26 Dec 2011 at 10:35

Attachments:

[Feature Request] RGB & Depth calibration

What steps will reproduce the problem?
1. grab a depthImage()
2. grab a rgbImage() from the same POV
3. see the differences between those (known fact from kinect hardware)

What is the expected output? What do you see instead?
It should be great to get a calibration method for the rgb cam to be able to 
map rgb pixels on depthImage or make a good user mask.

What version of the product are you using? On what operating system?
simple-openni-0.18, stable openNI 1.0.0.23 & stable NITE 1.0.0.18.

Please provide any additional information below.
--
Hello, i'm currently making a processing server that streams many combinations 
of videos (depth, rgb, hands, users, users rgb with scene mask) with live 
control of the mode streamed, plus dispatching event like hands / fingers, 
skeleton, etc.. via osc. I'm currently struggling with the calibration between 
the rgb camera and the depth camera. It would be a great thing to implement 
Nicolas Burrus Kinect Calibration algorythms : 
http://nicolas.burrus.name/index.php/Research/KinectCalibration

Original issue reported on code.google.com by [email protected] on 8 Apr 2011 at 8:45

Multicam doesn't work

What steps will reproduce the problem?
1. Setup 2 kinect on different usb hubs
2. Launch multicam example from simple-openni64
3.

What is the expected output? What do you see instead?

Should run normally and display the 2 kinect depth and ir feeds.
By default, i get an error on cam2.enableDepth() (return false, ends the 
program).
When i switch the order and enable the cam2 (kinect id 1) BEFORE the cam1 (id 
0), it works but the depthImage from cam1 is awful (see attached file).

What version of the product are you using? On what operating system?
SimpleOpenNI 0.24 with provided openni64/nite/sensorkinect installers

Please provide any additional information below.

Very promising work here, i hope multicam will work great soon, have some 
really great project i want to share with that (mappinect multicam support for 
instance :)

Original issue reported on code.google.com by [email protected] on 21 Feb 2012 at 12:54

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.