New SensorKinect v0.93 (by avin) for Windows, Linux & MacOSX - With preliminary Kinect4Windows support!

1,195 views
Skip to first unread message

avin

unread,
May 24, 2012, 2:45:24 PM5/24/12
to OpenNI
Hi,

I've finally added support for the Kinect4Windows sensor.

It doesn't work that great on Linux or Mac yet because it seems the
audio device needs to be kept open or else the camera device will
disconnect from time to time.
I'll fix it in the next couple of days - it doesn't seem very hard.

You can download the sources from:
https://github.com/avin2/SensorKinect

And the binaries from:
https://github.com/avin2/SensorKinect/downloads

Enjoy!

avin.

Jeffrey Kesselman

unread,
May 24, 2012, 2:49:12 PM5/24/12
to openn...@googlegroups.com
*clap clap clap*

Looking forward to a working OSX version to try out.


avin.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
It's always darkest just before you are eaten by a grue.

avin

unread,
May 24, 2012, 3:02:41 PM5/24/12
to OpenNI
Jeffery, it kind of works already. You just might need to run your
application more than once until you get it to initialize properly
which is very annoying but I will fix this soon.

avin.

Jeffrey Kesselman

unread,
May 24, 2012, 3:13:38 PM5/24/12
to openn...@googlegroups.com
Okay,  then Ill start working with it this weekend :)

Thanks!

JK

Yassir Ennazk

unread,
May 24, 2012, 5:00:36 PM5/24/12
to openn...@googlegroups.com
Awesome news Avin! Thanks for the hard work!

Jeffrey Kesselman

unread,
May 25, 2012, 11:31:13 AM5/25/12
to openn...@googlegroups.com
Btw...  is it possible to put the Kinect4W in near mode with SensorKinect/OpenNI?

Thanks

JK

On Thu, May 24, 2012 at 2:45 PM, avin <avin...@gmail.com> wrote:

avin.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Sinan DİNÇ

unread,
May 26, 2012, 4:50:04 AM5/26/12
to OpenNI
does all k4w features work with this? like near mode?

Jeffrey Kesselman

unread,
May 26, 2012, 2:51:01 PM5/26/12
to openn...@googlegroups.com
Hi Avin,

i installed SK093 using sudo ./install.sh

I'm still getting no cameras found from glview.

Is there anything else I need to do?

JK

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Xavier Mendez

unread,
May 27, 2012, 7:40:33 AM5/27/12
to openn...@googlegroups.com
Can you try to run the samples as root?

2012/5/26 Jeffrey Kesselman <jef...@gmail.com>

gabor papp

unread,
May 30, 2012, 10:00:31 AM5/30/12
to OpenNI
Is the latest git (15f1975d5) supposed to work with the latest
unstable OpenNI 1.5.4.0 version?
I'm getting the following error message from RedistMaker on OS X
10.6.8 with Xcode 2.4.

g++ -o ../../Bin/x86-Release/libXnDeviceSensorV2KM.dylib ./x86-Release/
Bayer.o ./x86-Release/Registration.o ./x86-Release/Uncomp.o ./x86-
Release/XnAudioProcessor.o ./x86-Release/XnBayerImageProcessor.o ./x86-
Release/XnCmosInfo.o ./x86-Release/XnDataProcessor.o ./x86-Release/
XnDataProcessorHolder.o ./x86-Release/XnDepthProcessor.o ./x86-Release/
XnDeviceSensor.o ./x86-Release/XnDeviceSensorIO.o ./x86-Release/
XnDeviceSensorInit.o ./x86-Release/XnDeviceSensorProtocol.o ./x86-
Release/XnExportedSensorDevice.o ./x86-Release/
XnExportedSensorGenerator.o ./x86-Release/XnFirmwareCommands.o ./x86-
Release/XnFirmwareInfo.o ./x86-Release/XnFirmwareStreams.o ./x86-
Release/XnFrameStreamProcessor.o ./x86-Release/XnHostProtocol.o ./x86-
Release/XnIRProcessor.o ./x86-Release/XnImageProcessor.o ./x86-Release/
XnJpegImageProcessor.o ./x86-Release/XnJpegToRGBImageProcessor.o ./x86-
Release/XnMultiPropChangedHandler.o ./x86-Release/
XnPSCompressedDepthProcessor.o ./x86-Release/
XnPSCompressedImageProcessor.o ./x86-Release/
XnPacked11DepthProcessor.o ./x86-Release/XnPacked12DepthProcessor.o ./
x86-Release/XnSensor.o ./x86-Release/XnSensorAudioGenerator.o ./x86-
Release/XnSensorAudioStream.o ./x86-Release/XnSensorClient.o ./x86-
Release/XnSensorClientStream.o ./x86-Release/
XnSensorDepthGenerator.o ./x86-Release/XnSensorDepthStream.o ./x86-
Release/XnSensorDevice.o ./x86-Release/XnSensorFPS.o ./x86-Release/
XnSensorFirmware.o ./x86-Release/XnSensorFirmwareParams.o ./x86-
Release/XnSensorFixedParams.o ./x86-Release/XnSensorGenerator.o ./x86-
Release/XnSensorIRGenerator.o ./x86-Release/XnSensorIRStream.o ./x86-
Release/XnSensorImageGenerator.o ./x86-Release/XnSensorImageStream.o ./
x86-Release/XnSensorMapGenerator.o ./x86-Release/
XnSensorOpenNiteImpl.o ./x86-Release/XnSensorProductionNode.o ./x86-
Release/XnSensorServer.o ./x86-Release/XnSensorStreamHelper.o ./x86-
Release/XnSensorsManager.o ./x86-Release/XnServerSensorInvoker.o ./x86-
Release/XnServerSession.o ./x86-Release/XnStreamProcessor.o ./x86-
Release/XnUncompressedBayerProcessor.o ./x86-Release/
XnUncompressedDepthProcessor.o ./x86-Release/
XnUncompressedYUVImageProcessor.o ./x86-Release/
XnUncompressedYUVtoRGBImageProcessor.o ./x86-Release/
XnWholePacketProcessor.o ./x86-Release/YUV.o -arch i386 -arch x86_64  -
L../../Bin/x86-Release -lXnCore -lXnFormats -lXnDDK -lOpenNI -
undefined error -dynamiclib -headerpad_max_install_names
Undefined symbols for architecture i386:
  "XnDeviceBase::GetStreamsList(XnListT<XnDeviceModuleHolder*,
XnLinkedNodeDefaultAllocatorT<XnDeviceModuleHolder*> >&)", referenced
from:
      XnSensor::LoadConfigFromFile(char const*, char const*)in
XnSensor.o
  "XnDeviceBase::RegisterToStreamsChange(void (*)
(XnStreamCollectionChangedEventArgs const&, void*), void*, void*&)",
referenced from:
      vtable for XnSensorin XnSensor.o
      vtable for XnSensorClientin XnSensorClient.o
  "XnDeviceBase::RegisterToNewStreamData(void (*)
(XnNewStreamDataEventArgs const&, void*), void*, void*&)", referenced
from:
      vtable for XnSensorin XnSensor.o
      vtable for XnSensorClientin XnSensorClient.o
  "XnDeviceBase::RegisterToPropertyChange(char const*, char const*,
void (*)(void*, char const*, char const*, void*), void*, void*&)",
referenced from:
      vtable for XnSensorin XnSensor.o
      vtable for XnSensorClientin XnSensorClient.o
  "XnFrameStream::GetTripleBuffer(XnFrameBufferManager**)", referenced
from:
      XnSensorDepthStream::CreateDataProcessor(XnDataProcessor**)    
   in XnSensorDepthStream.o
      XnSensorIRStream::CreateDataProcessor(XnDataProcessor**)      
 in XnSensorIRStream.o
      XnSensorImageStream::CreateDataProcessor(XnDataProcessor**)    
   in XnSensorImageStream.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Undefined symbols for architecture x86_64:
  "XnDeviceBase::GetStreamsList(XnListT<XnDeviceModuleHolder*,
XnLinkedNodeDefaultAllocatorT<XnDeviceModuleHolder*> >&)", referenced
from:
      XnSensor::LoadConfigFromFile(char const*, char const*)in
XnSensor.o
  "XnDeviceBase::RegisterToStreamsChange(void (*)
(XnStreamCollectionChangedEventArgs const&, void*), void*, void*&)",
referenced from:
      vtable for XnSensorin XnSensor.o
      vtable for XnSensorClientin XnSensorClient.o
  "XnDeviceBase::RegisterToNewStreamData(void (*)
(XnNewStreamDataEventArgs const&, void*), void*, void*&)", referenced
from:
      vtable for XnSensorin XnSensor.o
      vtable for XnSensorClientin XnSensorClient.o
  "XnDeviceBase::RegisterToPropertyChange(char const*, char const*,
void (*)(void*, char const*, char const*, void*), void*, void*&)",
referenced from:
      vtable for XnSensorin XnSensor.o
      vtable for XnSensorClientin XnSensorClient.o
  "XnFrameStream::GetTripleBuffer(XnFrameBufferManager**)", referenced
from:
      XnSensorDepthStream::CreateDataProcessor(XnDataProcessor**)    
   in XnSensorDepthStream.o
      XnSensorIRStream::CreateDataProcessor(XnDataProcessor**)      
 in XnSensorIRStream.o
      XnSensorImageStream::CreateDataProcessor(XnDataProcessor**)    
   in XnSensorImageStream.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/Kk/KkISfUSrE5WUECyAtog47U++
+TI/-Tmp-//ccm1QPrX.out (No such file or directory)
make[1]: *** [../../Bin/x86-Release/libXnDeviceSensorV2KM.dylib] Error
1
make: *** [XnDeviceSensorV2] Error 2

Jeffrey Kesselman

unread,
May 30, 2012, 6:42:50 PM5/30/12
to openn...@googlegroups.com
ran glview under sudo. no better.

Harshad1

unread,
May 31, 2012, 12:20:41 AM5/31/12
to openn...@googlegroups.com
I might be making a stupid mistake here, but isn't glview a libfreenect example.

There is little reason to expect it to work with the totally different sensorkinect/ openni driver system.

Try openni / ....... / NiViewer


2012/5/26 Jeffrey Kesselman <jef...@gmail.com>
To unsubscribe from this group, send email to openni-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

--
It's always darkest just before you are eaten by a grue.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Len Zhong

unread,
May 31, 2012, 8:06:55 AM5/31/12
to openn...@googlegroups.com
Hi avin,

It's great, thanks!
Do you know why QVGA doesn't work? I tried NIviewer with QVGA instead of the default one - VGA, and got error: bad parameter sent

Sent from mobile.
> --
> You received this message because you are subscribed to the Google Groups "OpenNI" group.
> To post to this group, send email to openn...@googlegroups.com.
> To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.

Jeffrey Kesselman

unread,
May 31, 2012, 11:40:54 AM5/31/12
to openn...@googlegroups.com
Um.  My confusing the two libraries (libfreenect and OpenNI) is probably part of the provlem :)

Let me go try the driver with the RIGHT library :)

Thanks

JK

To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/M-_mmentlLIJ.

To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

moleonmars

unread,
Jun 8, 2012, 10:41:11 AM6/8/12
to openn...@googlegroups.com
Thanks for your work!

Bought Kinect4windows today and hope to get it to work with my Mac!

Mole

Christopher von Hessert

unread,
Jun 8, 2012, 10:54:24 AM6/8/12
to openn...@googlegroups.com
Hi, I'm a game software developer & new to the Kinect world, just bought a K4W.

I've been trying all examples from the oficial SDK, and no problem over there....but I would like to get K4W to work with OpenNI & IISU but I cant... I guess because of the drivers I have installed & all the SDK's ived downloaded & installed, ive made a mess.

Could someone help me on how to do a clean setup of K4W to work with OpenNI? I don't understand if I have to install Primesense drivers and how or what should I install.

Thanks for your help!

Christopher von Hessert

unread,
Jun 8, 2012, 10:55:06 AM6/8/12
to openn...@googlegroups.com
I'm on Windows 7 enviorment

Yassir Ennazk

unread,
Jun 8, 2012, 11:21:04 AM6/8/12
to openn...@googlegroups.com
For the Kinect to work with OpenNI, I use the Avin SensorKinect driver available on his git repo here https://github.com/avin2/SensorKinect/tree/unstable/Bin
I don't use Primesense drivers and you will have to remove the K4W SDK drivers both can be removed from your windows device manager.
Good luck!

JuanC

unread,
Jun 8, 2012, 3:00:29 PM6/8/12
to openn...@googlegroups.com
You could try this: http://code.google.com/p/kinect-mssdk-openni-bridge/

Tomoto's Experimental module to connect Kinect SDK to OpenNI. It works great

Christopher von Hessert

unread,
Jun 8, 2012, 3:08:04 PM6/8/12
to openn...@googlegroups.com
Thank you very much, I'll try that!

Have any of you used K4W with IISU (SoftKinect)? How?

Thanks again!

Paul Reimer

unread,
Jun 10, 2012, 4:34:56 PM6/10/12
to openn...@googlegroups.com
I have the same problem, using the latest OS X: 10.7.4, and have tried both clang and gcc from latest XCode: 4.3.2. It seems libXnDeviceSensorV2KM.dylib is created, but the RedistMaker stops there and does not produce a Redist/ directory.

Ryan Ismert

unread,
Aug 20, 2012, 3:16:42 PM8/20/12
to openn...@googlegroups.com
Avin,

Any luck with stabilizing this for Linux / OSX?  It's a real PITA to keep losing the camera.  If you can point me to some code, I'm happy to take a stab at it and send you a patch.

Ryan
Reply all
Reply to author
Forward
0 new messages