Git Product home page Git Product logo

simpleopenni's Issues

Kinect v1 1414 not detecting in Processing 3.4 or 3.5.3 on MacOS Mojave

Issue Summary

The SimpleOpenNI can't initialise my device. It just freezes when run. I'm trying the examples which follows the installation in Processing. The OpenKinect library works fine and starts the camera up pretty quickly. I tried copying some .lib files from OpenKinect to SimpleOpenNI, as I saw that as a suggestion in another post, but that didn't do anything.

Executed Command (if any)

Tried the examples from the installation. The Point_Cloud one stops at
Line 21 for(int i = 0; i < depthPoints.length; i++){ and highlights in yellow.
It's a general issue though so not command specific.

Processing Output (if any)

2019-03-14 22:05:24.128 java[40999:4016777] pid(40999)/euid(501) is calling TIS/TSM in
non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main
thread!!!
2019-03-14 22:05:24.513 java[40999:4016777] WARNING: NSWindow drag regions should
only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff2be45ccc -[NSWindow(NSWindow_Theme)
_postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
1 AppKit 0x00007fff2be4307c -[NSWindow
_initContent:styleMask:backing:defer:contentView:] + 1488
2 AppKit 0x00007fff2be42aa6 -[NSWindow
initWithContentRect:styleMask:backing:defer:] + 45
3 libnativewindow_macosx.jnilib 0x00000001235873fe
Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010916da88 0x0 + 4447459976
)
SimpleOpenNI Version 1.96
After initialization:

SimpleOpenNI Error: Can't open device: DeviceOpen using default: no devices found

Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
    I'm following instructions from the README about v1 and just copying files into the Processing Library. Do I need anything else? Something installed maybe?
  • Execution error
    It definitely gives me errors on execution
  • Help wanted
    Do you have any ideas what's wrong? And does 3.5.3 work even though SimpleOpenNI says it's for 3.5.2?

Your System Configuration

Operating system:
MacOS Mojave 10.14.3
Running with Processing 3.4 and tried 3.5.4

Version of Kinect:
Kinect v1 1414

Thanks

Can't Open Device Processing 3.5.4

Issue Summary

When playing any example from OpenNi, I receive a "can't open device" error. I am able to open the Kinect v2 however when running examples from "Open Kinect for Processing." Is this issue specific to running on Processing 3.5.4 or am I missing something else? I attempted to run the sketches on Processing 2 and 4 but ran into other issues.

Processing Output

SimpleOpenNI Version 1.96
After initialization:
SimpleOpenNI Error: Can't open device: DeviceOpen using default: no devices found
Can't init SimpleOpenNI, maybe the camera is not connected

Your System Configuration

M1 MacBook Pro with macOS Monterey
Kinect V2
Processing 3.5.4

Error opening database/parameters file MacOS Mojave

Issue Summary

I’ve just come back to a project I was working on a month or two ago, and while it was working fine back then (and I haven’t messed with the folders it exists in), any sketch that involves Simple OpenNI comes up with the following error when run. This error only comes up for Simple OpenNI sketches (I've tried several other kinect libraries and they are all working), and I don't think I've updated processing or my operating system since it was last working.

Processing Output (if any)

SimpleOpenNI Version 1.96
Error opening database/parameters file.
After initialization:

Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.

Type of Issue

  • Execution error
  • Help wanted

Your System Configuration

Operating system: MacOS Mojave 10.14.5
Version of Kinect: xbox 360: 1414
Processing version: 3.5.3

Kinect V2 doesnt open on Mac OS Mojave

Issue Summary

Hi I have an issue connecting a Kinect V2 to my Mac. I used homebrew to install everything however I get an error when I try and run this command from terminal.

Thank you

Executed Command (if any)

mkdir build && cd build
cmake ..
make
make install

Processing Output (if any)

mkdir: build: File exists
Sams-MacBook-Pro-2:~ samsoifer$ cmake ..
CMake Error: The source directory "/Users" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Sams-MacBook-Pro-2:~ samsoifer$ make
make: *** No targets specified and no makefile found.  Stop.

This is the error I get from processing and I think it might be resolved if I can resolve the above issue

SimpleOpenNI Version 1.96
After initialization:

SimpleOpenNI Error: Can't open device:		DeviceOpen using default: no devices found


Can't init SimpleOpenNI, maybe the camera is not connected!

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your System Configuration

MacOS Mojave 10.14.3
Kinect v2
Processing 3.5.3
SimpleOpenNI 3.5.2

Delay on Lost User Programming Question

Issue Summary

I'm trying to make a program which counts the number of users the Kinect sees, and displays a particular image depending on that number.

Ie:
if no users display image 1
if one user display image 2
if two users display image 3

It's working which is epic - But I've just noticed there is a considerable delay (up to about 10 seconds) between a user exiting the Kinects area of vision, and the sketch realising this.

Any ideas on how to make this delay significantly less? It kind of ruins the flow of the interaction!

Type of Issue

  • Help wanted
  • Question

Your System Configuration

Operating system: Mac OS Mojave 10.14.5
Version of Kinect: v1, 1414

OS X and Win10: Exported apps can't find SimpleOpenNI libs

Issue Summary

Works fine in the Processing IDE, but exported apps look at root of the boot drive for the SimpleOpenNI folder, instead of in the correct location. This is an issue shared by all versions of SimpleOpenNI 1.96, including the original Max Rheiner version.

Executed Command (if any)

File > Export Application

Processing Output (if any)

Exported app crashes with gray screen.

Type of Issue

  • Execution error

Your System Configuration

Operating system: OS X 10.12, Win10.

linux 64 bit problem

Hello on archlinux (64 bit)
i try to install the library but... appear this message:

Or only works properly when the sketch is run as a 32-bit application.

is not a 64 library?
thx

Fixed: SimpleOpenNi stops working if RGB is enabled and depthness is too close

Hi, and thanks for this wonderful library.
I would like to share this problem (and its quick fix) in case anyone is in this same situation.

I´ve found that (when enabling the RGB capture in the Kinect context) there´s some kind of closeness limitation: you can´t put anything too close or the sensor stops working/streaming neither pointclouds or images, or at least the Processing script stops running properly, but with no errors.

To simply fix this, you must set some values when enabling the RGB mode, like this:

//kinect.enableRGB();
kinect.enableRGB( 640, 480, 24);

Maybe other size/fps values can work too, but this setup seems to run ok.
I found this on an ASUS XTION sensor, I will try to test if this happens too with a Kinect 1414 and if the fix also works.


Windows 10
SimpleOpenNI 3.4
Microsoft Kinect SDK 1.8
ASUS XTION PRO LIVE

[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out

System Configuration
MacBook Pro Late 2013 macOS Catalina v. 10. 15. 7
Kinect v2

Issue Summary
I've followed the instruction step by step and when I try to run any example codes in the OpenNI folder, I am getting the following message:

SimpleOpenNI Version 1.96
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 4 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @20:13 with serial 010977464647
[Info] [Freenect2Impl] found 1 devices
0 AppKit 0x00007fff2d541629 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 371
1 AppKit 0x00007fff2d529052 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
2 AppKit 0x00007fff2d528ac3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 libglfw.3.dylib 0x00000001282caa51 _glfwPlatformCreateWindow + 358
4 libglfw.3.dylib 0x00000001282c5553 glfwCreateWindow + 460
5 libfreenect2.0.2.0.dylib 0x00000001281a5dcc _ZN12libfreenect226OpenGLDepthPacketProcessorC2EPvb + 188
6 libfreenect2.0.2.0.dylib 0x0000000128191cf2 _ZN12libfreenect220OpenGLPacketPipelineC2EPvb + 130
7 libfreenect2.0.2.0.dylib 0x000000012819d2d5 _ZN12libfreenect227createDefaultPacketPipelineEv + 325
8 libfreenect2.0.2.0.dylib 0x000000012819d6e2 _ZN12libfreenect29Freenect210openDeviceEi + 18
9 libfreenect2-openni2.0.dylib 0x000000012816dd02 ZN15Freenect2Driver6Driver10deviceOpenEPKcS2 + 3314
10 libOpenNI2.dylib 0x00000001279b837a _ZN3oni14implementation6Device4openEPKc + 26
11 libSimpleOpenNI.jnilib 0x00000001279505a6 _ZN7sOpenNI14ContextWrapper4initEi + 70
12 libSimpleOpenNI.jnilib 0x000000012794560f Java_SimpleOpenNI_SimpleOpenNIJNI_ContextWrapper_1init_1_1SWIG_10 + 15
13 ??? 0x0000000114008a88 0x0 + 4630547080
14 ??? 0x0000000113fefb30 0x0 + 4630444848
15 ??? 0x0000000113fefb30 0x0 + 4630444848
16 ??? 0x0000000113ff035d 0x0 + 4630446941
)
After initialization:

[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 4128*33792
[Info] [Freenect2DeviceImpl] opened
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_TIMEOUT Operation timed out

What does it mean and what should I do to fix this? I am very new to coding and would really appreciate any help to solve this. Thank you.

Can i use latest raspberry pi processing software?

hii @totovr ,
I want to interface my kinect v2 with java processing software on Raspberry pi 4.I found your great work here.I have small question is that -- can i use latest processing(Raspberry pi) version?, if NOT then please tell me which version i have to install on pi4,
and how to add SimpleOpenNI lib into it.
Thank you.

multiple kinects v1?

hallo is it possible to run multiple kinects?

I am working ok with one kinect but cannot get it to work with 2 devices

Could anyone got it working on Linux/Ubuntu?

Hi, I am aware it was developed for Mac, but since there are Linux libraries into the branch I took the shot. However, it doesn't work on Ubuntu, maybe I am missing some step.
This line is highlighted in the code:
context = new SimpleOpenNI(this);

And the message of the error is the following:

Can't load SimpleOpenNI library (libSimpleOpenNI64.so) : java.lang.UnsatisfiedLinkError: /home/rossana/sketchbook/libraries/SimpleOpenNI/library/libSimpleOpenNI64.so: libboost_system.so.1.54.0: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation
UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 32-bit application.

It says it cant' open libboost_system.so.1.54.0 file , because it doesn' t exist, however it is in the folder. I downloaded the 64 bit version.
Thanks in advance.

SO: Ubuntu 19.04
Kinect v1 1414

On Ubuntu 18.04 JavaError: java.lang.UnsatisfiedLinkError

On Ubuntu 18.04, Java 11 (K4W)

I recieve every time the following error:
Can't load SimpleOpenNI library (SimpleOpenNI64) : java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-11-openjdk-amd64/lib/libSimpleOpenNI64.so: libboost_thread.so.1.54.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation

The code.google.com page returns 404, I have already copied the .so file to /jvm/java-11-openjdk-amd64/lib/

  • Help wanted

Anyone could get it working on Windows 10

Hi everyone, even it is said that it wasn't tested on Windows, it is supposed to work. I installed the plugin following all the instructions without luck. It seems the device isn't detected.
Any advice about the driver I should install?
I can run ofxKinect example addon with openframework, so it seems I have the right driver, anyhow I want to know if SimpleOpenNI uses some driver in particular.
If anyone could get it working on Windows 10 I appreciate if you share the steps followed.
Thanks!

OS: Windows 10 64 bits
Kinect 1v1 414
Processing 3.5.3

Question: Getting Rotation of Joints

Issue Summary

Reviewing the documentation I can't seem to find a way to extract the rotation of the joints, just the position, is this possible?

Type of Issue

You might select multiple topics, delete the rest:

  • Question

Your System Configuration

Operating system: Ubuntu 18.04
Version of Kinect: V1

[Processing 4] can not open device. no devices found

so after mulling over whether to do coding again. ive been looking at Processing for my coding endeavours. done plenty coding in the past in visuals & played with kinects etc

but one thing that seems to play in this library is the SimpleOpenNI Error: Can't open device: DeviceOpen using default: no devices found. Can't init SimpleOpenNI, maybe the camera is not connected! error. no matter if I move the camera to another port etc.
which is weird, since I had to debug Daniel Shiffmans own Kinect library to work, which it did work after a bit of searching & fixing. it works in the same ports & no matter what, I cant get this library to work.
I even tried it in Processing 3, just incase. But that left with even more errors. so I have no idea what the problem is or even the fix should be

Big Sur
Processing 4.3

Unable to successfully install SimpleOpenNI

Posting rules

  1. Fill the Your System Configuration section (all of it!) if you have some kind of error or performance question.
  2. No duplicated posts.
  3. No posts about questions already answered / clearly explained in the documentation
  4. Set a proper issue title: add the OSX/Ubuntu/Windows word and be specific (e.g. do not simple call it: Compile error).
  5. Only English comments.
    Issues/comments which do not follow these rules will be ignored or removed with no further clarification.

Issue Summary

I am trying to install the library the steps Ive been taking is to download the repo and unzip and copying the file over to processing/library/ folder but every time I try to run processing it says that I have not installed it properly and I get an error message about develop not able to trust

Executed Command (if any)

Processing Output (if any):

macOS cannot verify the developer of “libSimpleOpenNI.jnilib”. Are you sure you want to open it? -> open ->

Error message:
Can't load SimpleOpenNI library (SimpleOpenNI) : java.lang.UnsatisfiedLinkError: /Users/user/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenNI.jnilib: dlopen(/Users/user/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenNI.jnilib, 1): Library not loaded: ../../Bin/x64-Release/libOpenNI.dylib
Referenced from: /Users/user/Documents/Processing/libraries/SimpleOpenNI/library/libSimpleOpenNI.jnilib
Reason: image not found
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation
UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 32-bit application.

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Help wanted
  • Question

Your System Configuration

Operating system: MacOS
Version of Kinect: Kinect V1

Kinect V2 doesn't initialize on macOS

Posting rules

Issue Summary

Hi I've got an issue with initializing Kinect V2 on Processing 3.3.7, it doesn't initialize. Everything is plugged in correctly. The Kinect V1 works just fine. I've also tested the Kinect V2 in another library (Open Kinect for Processing) and it works there fine, but for this I'm not getting any response. Do you know what might be going on? Thanks

Executed Command (if any)

kinect  = new SimpleOpenNI(this);
kinect.enableDepth();

Processing Output (if any)

SimpleOpenNI Version 1.96
After initialization:

SimpleOpenNI Error: Can't open device:		DeviceOpen using default: no devices found


SimpleOpenNI not initialised

Type of Issue

  • Execution error

System Configuration

Operating system: macOS High Sierra 10.13.4
Kinect V2
Processing 3.3.7

skeleton_tracking_demo, Processing 3.3.7, MacOS High Sierra

Issue Summary

I'm trying to run your new skeletal tracking for the Kinect V2 via SimpleOpenNI and Processing. I've installed the drivers via terminal and homebrew, and can successfully open the Protonect example application. The issue: Processing does not recognize the device for any of the examples, including the new skeleton_tracking_demo. I'm running Processing 3.3.7 on MacOS High Sierra, as documented. I've downloaded the updated library and it's in the proper library folder of Processing. Looked through issue reports to no avail, do you have any pointers? Thank you for your time.

Processing Output (if any)

Error output: no device connected

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question

Your System Configuration

Operating system: Mac OS High Sierra
Version of Kinect: V2, model 1520

OSX High Sierra: Can't open device: no devices found

Issue Summary

When running the examples from the library the device is not found.
The Kinect device is plugged in.
The same Kinect works using the openKinect Processing library.
The same Kinect works fine on Windows as well.

Processing Output

SimpleOpenNI Error: Can't open device: DeviceOpen using default: no devices found
Can't init SimpleOpenNI, maybe the camera is not connected!

Type of Issue

Device not found

Your System Configuration

macOS High Sierra 10.13.4
Processing 3.5.3
Kinect v2

Java Build Version

Issue Summary

SimpleOpenni for Processing 2.2.1 appears to have been compiled with Java >=1.7, which Processing 2 does not support.

Type of Issue

  • Compilation/installation error
  • Execution error

Your System Configuration

Operating system: Mac OS 10.13.5 with Processing 2.2.1

Blank Screen with no error

When I run code I am getting blank screen nothing works.

Processing 3.+
SimpleOpenNI Version 1.96

I am talking about this screen.
Screenshot (15)

Kindly help me. Thanks

Licesing Concerns?

Issue Summary

Does including NiTE violate their license?

Type of Issue

  • Question

So, I was planning to put out a NiTE module for Isadora and a user posted this:

How did you get around NiTE's licensing restrictions, which prohibit using it with non-Primesense devices and prohibit redistributing it?

with this link going to an archive of Prime Sense's license

http://web.archive.org/web/20140305024832/http://www.openni.org/nite-licensing-and-distribution-terms/

Not that any of you are lawyers, but does anyone have an opinion about this? I mean, there are loads of copies of NiTE running around the web. It doesn't seem like Apple (who bought Prime Sense) is going after anyone, but I thought I'd mention it since you're hosting NiTE in ths github.

Best WIshes,
Mark

v2.2 crashes on mac mini every once a while (JRE fatal error; EXC_BAD_ACCESS)

Issue Summary

Thanks for this awesome tool and your time guys. This is the first time I try to post an issue so please point out any mistake I made in the post.
I have been trying to maintain a project called kinecticspace which can date back to 2011. It is Processing 2.2.1 based, and I have been running it on a mac mini, with SimpleOpenNI 2.2 installed as per the instructions.
The program crashes every once a while (between a day and a week) on "isTrackingSkeleton()", with a series of tracking on one of the users. The code snippet around the function call looks like shown in the Executed Command session.
It could be a defect in the code, but I could not see why, and wonder if this is a know issue for OpenNI?
When crashes, it shows:
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000000112630b4c, pid=15336, tid=54311

JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode bsd-amd64 compressed oops)
Problematic frame:
C [libSimpleOpenNI.jnilib+0x12b4c] _ZN7sOpenNI14ContextWrapper18isTrackingSkeletonEi+0x8c

OR, more precisely, there are 2 ways to crash at thread 22, isTracking skeleton(), only slightly different on the crashing lines, while other threads are fine:
shared crashing info header:
Process: java [87046]
Path: /Applications/Processing.app/Contents/PlugIns/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: Processing [245]
Responsible: Processing [245]
User ID: 509

Date/Time: 2019-04-06 10:02:37.815 -0400
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: CF643EE6-A166-D2B1-4C0F-9F333919F2D0

Sleep/Wake UUID: 673803D7-7A53-409D-B2C9-D465C66607DB

Time Awake Since Boot: 1800000 seconds
Time Since Wake: 770000 seconds

Crashed Thread: 22 Java: AWT-EventQueue-0

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000023

case 1: at 140 (stack bt up 6)
Thread 22 Crashed:: Java: AWT-EventQueue-0
0 libsystem_kernel.dylib 0x00007fff8af8e286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff86b18b53 abort + 129
2 libjvm.dylib 0x000000010a043b1b os::abort(bool) + 25
3 libjvm.dylib 0x000000010a14e1f0 VMError::report_and_die() + 2316
4 libjvm.dylib 0x000000010a0454b5 JVM_handle_bsd_signal + 1083
5 libsystem_platform.dylib 0x00007fff8fdeaf1a _sigtramp + 26
6 libSimpleOpenNI.jnilib 0x000000011b0ccb4c sOpenNI::ContextWrapper::isTrackingSkeleton(int) + 140
7 libSimpleOpenNI.jnilib 0x000000011b0c1b3f Java_SimpleOpenNI_SimpleOpenNIJNI_ContextWrapper_1isTrackingSkeleton + 15
8 ??? 0x000000010afa5ace 0 + 4479146702
9 ??? 0x000000010af0a1e8 0 + 4478509544
10 ??? 0x00000000ef6ab660 0 + 4016748128

case 2: at 174
Thread 22 Crashed:: Java: AWT-EventQueue-0
0 libsystem_kernel.dylib 0x00007fff8af8e286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff86b18b53 abort + 129
2 libjvm.dylib 0x000000010f609b1b os::abort(bool) + 25
3 libjvm.dylib 0x000000010f7141f0 VMError::report_and_die() + 2316
4 libjvm.dylib 0x000000010f60b4b5 JVM_handle_bsd_signal + 1083
5 libsystem_platform.dylib 0x00007fff8fdeaf1a _sigtramp + 26
6 libSimpleOpenNI.jnilib 0x00000001218e9b6e sOpenNI::ContextWrapper::isTrackingSkeleton(int) + 174
7 libSimpleOpenNI.jnilib 0x00000001218deb3f Java_SimpleOpenNI_SimpleOpenNIJNI_ContextWrapper_1isTrackingSkeleton + 15
8 ??? 0x0000000110218559 0 + 4565599577
9 ??? 0x00000001104cb410 0 + 4568429584

Executed Command (if any)

FYI: per my debugging data, the input for isTrackingSkeleton() is always between 1 and 6

int[] userList = context.getUsers();
if (userList == null) {
println("err: null user list.");
exit();
}

for (int i = 0; i<userList.length; i++)
{
    if ( (context.isTrackingSkeleton(userList[i])) && (person < 2) )
    {
        //println("Tracking user: " + userList[i]);
        evaluateSkeleton(userList[i]);
        foundSkeleton = true;
        person++;
    }
}

... (more code dealing with the user)

Type of Issue

  • Execution error
  • Help wanted
  • Question

Your System Configuration

Operating system:
Hardware Overview:

Model Name: Mac mini
Model Identifier: Macmini4,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.66 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache: 3 MB
Memory: 8 GB
Bus Speed: 1.07 GHz
Boot ROM Version: MM41.0042.B00
SMC Version (system): 1.65f2
Serial Number (system): C07FJ02ADD6N
Hardware UUID: 2859F238-F788-5FA2-8CC5-105588ECBDA1
Version of Kinect:
XBOX 360 kinect
model 1414

How to setup Kinect Version 1 with Processing 3.5.4 on OSX 10.9.5

Posting rules

  1. Fill the Your System Configuration section (all of it!) if you have some kind of error or performance question.
  2. No duplicated posts.
  3. No posts about questions already answered / clearly explained in the documentation
  4. Set a proper issue title: add the OSX/Ubuntu/Windows word and be specific (e.g. do not simple call it: Compile error).
  5. Only English comments.
    Issues/comments which do not follow these rules will be ignored or removed with no further clarification.

Issue Summary

Executed Command (if any)

Processing Output (if any)

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
  • Execution error
  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc
  • Other (type your own type)

Your System Configuration

Operating system:
Version of Kinect:

Region of Interest

Posting rules

  1. Fill the Your System Configuration section (all of it!) if you have some kind of error or performance question.
  2. No duplicated posts.
  3. No posts about questions already answered / clearly explained in the documentation
  4. Set a proper issue title: add the OSX/Ubuntu/Windows word and be specific (e.g. do not simple call it: Compile error).
  5. Only English comments.
    Issues/comments which do not follow these rules will be ignored or removed with no further clarification.

Issue Summary

Executed Command (if any)

Processing Output (if any)

Type of Issue

You might select multiple topics, delete the rest:

  • Help wanted
  • Question
  • Enhancement / offering possible extensions / pull request / etc

Your System Configuration

Operating system: windows 10 64 bit
Version of Kinect: V1 kinect

hi everybody, i just wanted to know if we can apply ROI to this library, i mean a region of interest, where the kinect only check that region for data...... for example as a argument to constructor...

Enhancement: Update to libfreenect.0.6.0.dylib (with instructions)

Enhancement Request for MacOS X

Thank you for the fantastic work! I figured out how to get your version of SimpleOpenNI to use the latest version of libfreenect (0.6.0) -- it would be great if you updated your repro to include this fix. Step by step instructions are given below.

Your System Configuration

Tested on MacOS X 10.10, but I would imagine it will work for High Sierra, etc.

Instructions

  1. In your current OpenNI2/Drivers folder, delete libfreenect.0.5.3.dylib, libfreenect.0.4.0.dylib, and the libfreenect.0.1.2.dylib symbolic link
  2. Follow the instructions here to download and build the OpenNI2-FreenectDriver, specifically mkdir build, cd build, etc.)

NOTE: I tried using their actual driver by Step 2 (libFreenectDriver.0.6.0.dylib) but it crashed when attempting to do skeleton tracking. But their version of libfreenect.0.6.0.dylib does work.

  1. Copy the file at libfreenect/build/lib/libfreenect.0.6.0.dylib as paste it into your OpenNI2/Drivers folder.
  2. Open a Terminal window
  3. cd to the OpenNI/Drivers directory, where you deleted the files in step 1.
  4. Paste the libfreenect.0.6.0.dylib there
  5. Open a Terminal window and cd to the OpenNI/Drivers folder.
  6. Enter the following command

ln -s libfreenect.0.6.0.dylib libfreenect.0.1.2.dylib

This creates the symbolic link that will cause libfreenect.0.6.0.dylib to be loaded

  1. That's it. Load up your Processing sketch and test.

Question: to find implementation of userImage()

Issue Summary

We are looking for the implementation of the userImage() method to port its functionality to another device. It seems no source code is provided for it in the .jars. Where does the implementation come from and how one can access it?

Type of Issue

  • Question

Skipping Kinect v2 device

Issue Summary

Can't drive the Kinect V2 device.
And i have install libfreenect2 base on the installation from below link:
https://github.com/OpenKinect/libfreenect2
and run the sample to find the Kinect device, log as below for your reference:

./bin/Protonect
Version: 0.2.0
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 5 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @20:22 with serial 500228442742
[Info] [Freenect2Impl] found 1 devices

Executed Command (if any)

Processing Output (if any)

SimpleOpenNI Version 1.96
Skipping Kinect v2 device (needs https://github.com/libfreenect2).
Skipping Kinect v2 device (needs https://github.com/libfreenect2).
Skipping Kinect v2 device (needs https://github.com/libfreenect2).
Skipping Kinect v2 device (needs https://github.com/libfreenect2).
After initialization:

SimpleOpenNI Error: Can't open device: DeviceOpen using default: no devices found

Type of Issue

  • Execution error

Your System Configuration

Operating system: Mojave 10.14.6
Version of Kinect: V2 (Xbox NUI Sensor)

Support for ARM Linux?

Huge fan of this lib for MacOS! Love how it just works for Kinect 1-2 + Orbbec Astra. Wishing it could work on a RaspberryPi for use in minimal installations – any plans or explorations for that setup (RPi ARM, running Raspbian Stretch w/ Processing 3.4)? "Open Kinect for Processing" has an experimental build for RPi I'm still trying to get working, but the Orbbec Astra is ideal since it's USB powered (and likely the future, RIP Kinect.. maybe not w/ Azure news), however the Orbbec only works in your lib...

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.