totovr / SimpleOpenNI

SimpleOpenNI library for Processing 3.5.2, 3.4, 3.3.7, 3.3.6 on MacOS for V1 and V2
https://totovr.github.io/SimpleOpenNI/
MIT License
158 stars 47 forks source link

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

Open nielsotto opened 5 years ago

nielsotto commented 5 years ago

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:

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

totovr commented 5 years ago

Hello, I teste the version in branch 3.5.2 and is working for me:

Screen Shot 2019-03-15 at 10 22 15

Screen Shot 2019-03-15 at 10 24 47

is not necessary to add files from another libraries, try to change the USB port.

nielsotto commented 5 years ago

I've tried every USB port now. Does it make a difference that I'm on the 2016 Macbook Pro with USB-C? I'm using a converter, and OpenKinnect works just fine. Screenshot 2019-03-15 at 21 12 29 See screenshot. That's all I'm getting every time.

This is the OpenKinnect one: Screenshot 2019-03-15 at 21 14 30

totovr commented 5 years ago

Is the light of the Kinect turning green or red?

nielsotto commented 5 years ago

It's turned green

nielsotto commented 5 years ago

I stumbled upon this article https://decyborg.wordpress.com/2013/01/19/kinect-on-os-x-10-8-and-processing/ But your installation guide says to just copy/paste the SimpleOpenNI folder into Processing/Libraries, and since OpenKinect works, I don't assume I have to go through the steps in the article?

totovr commented 5 years ago

I already checked the library in a Macbook Pro 2014, and Air 2013. Tomorrow one friend will lend me his Pro 2018, wait a little please.

hackerman084 commented 5 years ago

I am having the same issue with a Macbook Pro 2015, running Mojave and Processing 3.5.3!

tkota0726 commented 5 years ago

Hello, all. I think you can try to install this library. https://github.com/OpenKinect/libfreenect I solved this issue after installing this.

totovr commented 5 years ago

OpenKinect has not purpose in the Processing environment, I also checked in a Macbook Pro 2014 , same generation has the one that you have @hackerman084, and the library works, unfortunaly I could not get a Macbook Pro with USB type C @nielsotto.

nielsotto commented 5 years ago

Hi @totovr . What's the status on this?

thedoger82 commented 4 years ago

Hi everybody, i have the exact same problem... openkinect from processing works perfect, but simpleopenni give me the same error as everybody, can we try to find a solution for this?

Thanks in advanced!!! :)

El Capitan Kinect v1 processing 3.5.3

sicchio commented 3 years ago

Also having this same issue. Anyone find a solution? Mojave Kinect v1 Processing 3.5.3

masc4ii commented 3 years ago

Same issue here. macOS 10.14.6, MBPR13" 2013 Kinect v1 1414 (is blinking green) Processing 3.5.3

curlytom commented 1 year ago

Did anyone ever solve this issue?