OpenNI Driver for Windows 7 64 bit

2,626 views
Skip to first unread message

Mike Slinn

unread,
Dec 23, 2010, 5:53:45 AM12/23/10
to OpenNI
My machine runs Windows 7 64 bit. I installed OpenNI 1.0 Alpha build
23 binaries for Win32 and it does not work. The demos all fail and
there are no new camera devices shown in Device Manager. When I try
to run NiViewer, the message is:
One or more of the following nodes could not be enumerated:
(blank line follows)

Perhaps I need a 64 bit version of the driver? Where can I get a
prebuilt 64 bit driver? Do I need anything else to run the demos?

Thanks,

Mike

Rui Marinho

unread,
Dec 23, 2010, 6:31:58 AM12/23/10
to OpenNI
No that one should work , i m on a windows 7 64 bit also and got
everything to work, can u past your xml files , the ones on openni/
data, also did u put the right key when installing NITE ?

Rui Marinho

unread,
Dec 23, 2010, 6:37:39 AM12/23/10
to OpenNI
make sure you follow thsi steps:

1) Install OpenNI: http://openni.org/sites/default/files/OPENNI-Win32-1.0.0.23.exe
2) Install the Kinect sensor plugin: https://github.com/avin2/SensorKinect
(Run the precompiled SensorKinect-Win32-5.0.0.exe file from the Bin
Dir)
3) Install NITE: http://downloads.primesense.com/NITE-Win32-1.3.0.17.exe
Use the key: 0KOIk2JeIBYClPWVnMoRKn5cdY4= when the installer asks
for one.
4) Copy the XML files from "c:\Program Files\Prime Sense\Sensor
\SampleXMLs\NITE\Data" into "c:\Program Files\Prime Sense\NITE
\Data" (overwrite files)
5) Copy the XML files from "c:\Program Files\Prime Sense\Sensor
\SampleXMLs\OPENNI\Data" into "c:\Program Files\OpenNI
\Data" (overwrite files)
> > Mike- Ocultar texto citado -
>
> - Mostrar texto citado -

Mike Slinn

unread,
Dec 23, 2010, 3:54:00 PM12/23/10
to openn...@googlegroups.com
I never was prompted for the key, because Step 1 seemed to fail so I stopped.  Today I uninstalled OpenNI and restarted the sequence.  Here are my results:
Installed into E:\Program Files (x86)\OpenNI\ because drive C: is an SSD.  The installation program reported "Setup was completed successfully"

2) Install the Kinect sensor plugin: https://github.com/avin2/SensorKinect 
(Run the precompiled SensorKinect-Win32-5.0.0.exe file from the Bin Dir) 
Installed SensorKinect-Win32-5.0.24.exe into E:\Program Files (x86)\Prime Sense\Sensor.  The installation program reported "Setup was completed successfully"

3) Install NITE: http://downloads.primesense.com/NITE-Win32-1.3.0.17.exe 
    Use the key: 0KOIk2JeIBYClPWVnMoRKn5cdY4= when the installer asks for one.  
Installed into E:\Program Files (x86)\Prime Sense\NITE\.  The installation program reported "Setup was completed successfully"

4) There is no directory called 
"E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs".  The directory tree is:
E:\Program Files (x86)\Prime Sense>tree
Folder PATH listing for volume Primary
Volume serial number is 74CE-7696
E:.
├───NITE
│   ├───Bin
│   ├───Data
│   ├───Documentation
│   ├───Features
│   │   ├───Bin
│   │   └───Data
│   ├───Hands
│   │   ├───Bin
│   │   └───Data
│   ├───Include
│   ├───Lib
│   ├───Samples
│   │   ├───Bin
│   │   │   ├───Debug
│   │   │   └───Release
│   │   ├───Boxes
│   │   │   ├───Debug
│   │   │   ├───GL
│   │   │   ├───glh
│   │   │   ├───Libs
│   │   │   └───Release
│   │   ├───Build
│   │   ├───CircleControl
│   │   │   ├───Debug
│   │   │   ├───GL
│   │   │   ├───Libs
│   │   │   └───Release
│   │   ├───Players
│   │   │   ├───Debug
│   │   │   ├───GL
│   │   │   ├───glh
│   │   │   ├───Libs
│   │   │   └───Release
│   │   ├───PointServer
│   │   │   ├───Debug
│   │   │   └───Release
│   │   ├───PointViewer
│   │   │   ├───Debug
│   │   │   ├───GL
│   │   │   ├───glh
│   │   │   ├───Libs
│   │   │   └───Release
│   │   ├───Res
│   │   ├───SceneAnalysis
│   │   │   ├───Debug
│   │   │   ├───GL
│   │   │   ├───glh
│   │   │   ├───Libs
│   │   │   └───Release
│   │   ├───SingleControl
│   │   │   ├───Debug
│   │   │   └───Release
│   │   ├───StickFigure
│   │   │   ├───Debug
│   │   │   ├───GL
│   │   │   ├───glh
│   │   │   ├───Libs
│   │   │   └───Release
│   │   └───TrackPad
│   │       ├───Debug
│   │       ├───GL
│   │       ├───Libs
│   │       └───Release
│   └───Wrappers
│       ├───C#
│       │   └───Bin
│       ├───Flash
│       │   ├───Documentation
│       │   │   └───PrimeSense_ASDOC
│       │   │       ├───com
│       │   │       │   └───primesense
│       │   │       │       └───geom
│       │   │       └───images
│       │   ├───Samples
│       │   │   ├───CircleControl
│       │   │   ├───Data
│       │   │   ├───PointViewer
│       │   │   ├───PointViewerParticles
│       │   │   └───SelectableSliders
│       │   └───Source
│       │       └───AS3
│       │           └───com
│       │               └───primesense
│       │                   ├───events
│       │                   └───geom
│       └───RemoteNiteServer
│           ├───Bin
│           ├───Documentation
│           └───Include
└───Sensor
    ├───Bin
    └───Data

What should I do?

Mike

avin

unread,
Dec 23, 2010, 4:52:17 PM12/23/10
to OpenNI
Hello Mike,
There should be more directories under the "Sensor" directory... (You
are missing Driver, SampleXMLs, Tools)
Can you please click on the "Show Details" button while installing the
sensor and then copy & paste the output so I can look at it and see
what's wrong?
avin.

On Dec 23, 10:54 pm, Mike Slinn <msl...@micronauticsresearch.com>
wrote:

Mike Slinn

unread,
Dec 23, 2010, 5:11:31 PM12/23/10
to openn...@googlegroups.com
This is what I get:

Create folder: E:\Program Files (x86)\Prime Sense\Sensor
Create folder: E:\Program Files (x86)\Prime Sense\Sensor\Bin
Create folder: E:\Program Files (x86)\Prime Sense\Sensor\Data
Extract: E:\Program Files (x86)\Prime Sense\Sensor\GPL.txt... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\LGPL.txt... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnCore.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnFormats.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDDK.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceSensorV2.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceFile.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnSensorServer.exe... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Data\GlobalDefaults.ini... 100%
Execute: "E:\Program Files (x86)\OpenNI\Bin\niReg.exe" "E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceFile.dll"
Execute: "E:\Program Files (x86)\OpenNI\Bin\niReg.exe" "E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceSensorV2.dll" "E:\Program Files (x86)\Prime Sense\Sensor\Data"
Created uninstaller: E:\Program Files (x86)\Prime Sense\Sensor\Uninstall EE 5.0.0.exe
Completed

avin

unread,
Dec 23, 2010, 5:36:26 PM12/23/10
to OpenNI
Hello Mike,
This is 100% identical to the default sensor device made by PrimeSense
which does not support the Kinect.
I think you are installing the wrong file by mistake.

If you want Kinect support, you need to install a 9MB file called
"SensorKinect-Win32-5.0.0.exe" which you can find in:
https://github.com/avin2/SensorKinect/tree/master/Bin

If you are installing a small (700kb) file called Sensor-
Win32-5.0.0.24.exe then this is the ***wrong*** one.

avin.

On Dec 24, 12:11 am, Mike Slinn <msl...@micronauticsresearch.com>
wrote:

Mike Slinn

unread,
Dec 23, 2010, 5:53:26 PM12/23/10
to openn...@googlegroups.com
Avin,

It is great to be able to communicate with you.  Thank you for your help!

I uninstalled the device from device manager.  However, this did not seem to be sufficient to remove  Sensor-Win32-5.0.0.24.exe as shown below.
My currently installed programs are shown.  Should I remove one or more of them?  Do I need to reboot?


I installed SensorKinect-Win32-5.0.0.exe into E:\Program Files (x86)\Prime Sense\Sensor.  The details show:

Create folder: E:\Program Files (x86)\Prime Sense\Sensor
Create folder: E:\Program Files (x86)\Prime Sense\Sensor\Bin
Create folder: E:\Program Files (x86)\Prime Sense\Sensor\Data
Extract: E:\Program Files (x86)\Prime Sense\Sensor\GPL.txt... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\LGPL.txt... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnCore.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnFormats.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDDK.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceSensorV2.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceFile.dll... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnSensorServer.exe... 100%
Extract: E:\Program Files (x86)\Prime Sense\Sensor\Data\GlobalDefaults.ini... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\Driver
Extract: dpinst-amd64.exe... 100%
Extract: dpinst-x86.exe... 100%
Extract: dpinst.xml... 100%
Extract: psdrv3.cat... 100%
Extract: psdrv3.ico... 100%
Extract: psdrv3.inf... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\Driver\amd64
Extract: WdfCoInstaller01009.dll... 100%
Extract: psdrv3.sys... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\Driver\x86
Extract: WdfCoInstaller01009.dll... 100%
Extract: psdrv3.sys... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\Driver
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\Tools
Extract: vcredist_x86.exe... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\Tools
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs\NITE
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs\NITE\Data
Extract: Sample-Scene.xml... 100%
Extract: Sample-Tracking.xml... 100%
Extract: Sample-User.xml... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs\OPENNI
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs\OPENNI\Data
Extract: SamplesConfig.xml... 100%
Output folder: E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs
Execute: "E:\Program Files (x86)\OpenNI\Bin\niReg.exe" "E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceFile.dll"
Execute: "E:\Program Files (x86)\OpenNI\Bin\niReg.exe" "E:\Program Files (x86)\Prime Sense\Sensor\Bin\XnDeviceSensorV2.dll" "E:\Program Files (x86)\Prime Sense\Sensor\Data"
Execute: "E:\Program Files (x86)\Prime Sense\Sensor\Tools\vcredist_x86.exe" /q
Execute: "E:\Program Files (x86)\Prime Sense\Sensor\Driver\dpinst-amd64.exe" /sw /el
Created uninstaller: E:\Program Files (x86)\Prime Sense\Sensor\Uninstall EE 5.0.0.exe
Completed

Continuing with the prior instructions, modified for my 64 bit directories:

4) Copy the XML files from 
"E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs\NITE\Data" into 
"E:\Program Files (x86)\Prime Sense\NITE\Data" (overwrite files)
 
5) Copy the XML files from 
"E:\Program Files (x86)\Prime Sense\Sensor\SampleXMLs\OPENNI\Data" into 
"E:\Program Files (x86)\OpenNI\Data" (overwrite files) 

New steps to verify the installation:
6) Start / NITE / Samples / Stick Figure
Message is:
One or more of the following nodes could not be enumerated:

Device: PrimeSense/SensorV2/5.0.0.24: The device is not connected!

Press any key to continue . . .

This must be a leftover from the previous failed attempt (5.0.0.24)

7) Start / OpenNI / Samples / NiViewer  shows:
Message is:
One or more of the following nodes could not be enumerated:

Device: PrimeSense/SensorV2/5.0.0.24: The device is not connected!

Press any key to continue . . .

This must be a leftover from the previous failed attempt (5.0.0.24)

Mike

avin

unread,
Dec 23, 2010, 6:16:16 PM12/23/10
to OpenNI
Do you see the Kinect in the device manager?
You need to see both "Kinect Motor" and "Kinect Camera" under the
"PrimeSensor" section.
If you do not, then the driver was not installed properly.

Maybe you need to update the driver manually from the "c:\Program
Files (x86)\Prime Sense\Sensor\Driver" directory?

Happy to help,
avin.

On Dec 24, 12:53 am, Mike Slinn <msl...@micronauticsresearch.com>
wrote:
> Avin,
>
> It is great to be able to communicate with you.  Thank you for your help!
>
> I uninstalled the device from device manager.  However, this did not seem to
> be sufficient to remove  Sensor-Win32-5.0.0.24.exe as shown below.
> My currently installed programs are shown.  Should I remove one or more of
> them?  Do I need to reboot?
>
> <https://lh4.googleusercontent.com/_08BT6SofWSM/TRPSplTiJyI/AAAAAAAAAa...>

Mike Slinn

unread,
Dec 23, 2010, 6:28:34 PM12/23/10
to openn...@googlegroups.com
There was no PrimeSensor section in Device Manager:

I right-clicked on E:\Program Files (x86)\Prime Sense\Sensor\Driver\psdrv3.inf and selected "Install".  The message was "The INF file you selected does not support this method of installation".

Wow.  This is really not working.

Mike

Juan Carlos del Valle

unread,
Dec 23, 2010, 6:31:23 PM12/23/10
to openn...@googlegroups.com
Hello Mike, try this guide:


It has been useful to other people.


Mike

--
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.

avin

unread,
Dec 23, 2010, 6:36:45 PM12/23/10
to OpenNI
Hello Mike,
You cannot install the driver this way.
Try running the "dpinst-amd64.exe" file.

If it still doesn't work, search the device manager for something with
Kinect or XBox NUI (it might be under unidentified devices or under
USB devices) then click on it and choose the "update driver" button.
After you do that, please point it to the path: "c:\Program Files
(x86)\Prime Sense\Sensor\Driver" directory"

Also, sorry for the stupid question, but you did not forget to also
plug it to the power source right?
(Because then it will also not show up in device manager...)

avin.

On Dec 24, 1:28 am, Mike Slinn <msl...@micronauticsresearch.com>
wrote:
> There was no PrimeSensor section in Device Manager:
>
> <https://lh4.googleusercontent.com/_08BT6SofWSM/TRPam4kxxfI/AAAAAAAAAa...>

Mike Slinn

unread,
Dec 23, 2010, 7:01:49 PM12/23/10
to openn...@googlegroups.com
I double-clicked on "dpinst-amd64.exe" and it appeared to install properly.
The sample programs still failed.
The Kinect is plugged into power and the computer ;)
I then unplugged the Kinect from the computer, and plugged it in again.  3 devices then attempted to install.  Xbox NUI Audio failed (no driver found.)  Under the new PrimeSensor Device section I see:
  • Kinect Camera
  • Kinect Motor
Under Other Devices I see:
  • Xbox NUI Audio
I right-clicked on 'Xbox NUI Audio' and browsed to "E:\Program Files (x86)\Prime Sense\Sensor\Driver" but the driver was not found there.  I tried "E:\Program Files (x86)\OpenNI\Driver" but no joy.  I then tried the directory in which I unzipped the installation files "D:\storage\kinect\as3\freenect_drivers\inf".  A dialog box offered to install "OpenKinect Human Interface Devices" by "The Within Network, LLC".  I said "Yes", and Xbox NUI Audio was installed under Human Interface Devices.  I now have the following devices:

I tried the OpenNI Release demos and they all worked. I was surprised that I could run several demos concurrently, and with excellent responsiveness.

I also tried the PrimeSense "Stick Figure" demo and the generated image was very small.

Thank you for your help, Avin!

Now, what else must I do in order to get ActionScript / Flash working?

Mike

Juan Carlos del Valle

unread,
Dec 23, 2010, 7:05:31 PM12/23/10
to openn...@googlegroups.com
You can try openni socket server samples, or as3kinect.org server for openni.


Mike

Juan Carlos del Valle

unread,
Dec 23, 2010, 7:06:24 PM12/23/10
to openn...@googlegroups.com
Ohh PrimeSense NITE socket server example sorry, is not under openni folder.

Mike Slinn

unread,
Dec 23, 2010, 7:56:21 PM12/23/10
to openn...@googlegroups.com
If I understand the as3kinect.org download page, there are three options available (OpenKinect wrapper, OpenNI wrapper and Codelaboratories (NUI) wrapper.)  Looks like the OpenKinect wrapper is not compatible with the PrimeSense driver.  The OpenNI wrapper seems to be less capabile than the Codelaboratories (NUI) wrapper, but I am unsure because of the "..." in the OpenNI wrapper's capabilities list.

For my first project I want to use the Kinect as a virtual multitouch device, so I can control an Adobe AIR program's UI.  Would you recommend the Codelaboratories (NUI) wrapper for this purpose?  I just download the following:
I unzipped all the files.  When I double-click on as3server.exe the program stops immediately.  There is no console output.  What am I doing wrong?  I also tried to run test.exe but without the server it did not do anything interesting, although I saw a user interface.

Mike

Juan Carlos del Valle

unread,
Dec 23, 2010, 9:09:21 PM12/23/10
to openn...@googlegroups.com
I would recommend OpenNI wrapper or OpenKinect's, I'll not continue
developing NUI Wrapper as OpenKinect works already in windows and has
similar functionalities. OpenKinect wrapper will have different
purposes and capabilities than OpenNI wrapper. So people can have
options in terms of licencing/functionalities/usage ...

Mike Slinn

unread,
Dec 23, 2010, 9:25:23 PM12/23/10
to openn...@googlegroups.com
OpenNI wrapper works.  I see myself in red.  Your demos on as3kinect show more interesting activities, like tracking hands.  I want a multitouch virtual device, which I can use to control Adobe AIR programs.  I just want to track hands, not the entire skeleton.  Is as3kinect the most appropriate project to use for that purpose, or should I consider something else?

Mike

Juan Carlos del Valle

unread,
Dec 23, 2010, 11:17:04 PM12/23/10
to openn...@googlegroups.com
Nope OpenKinect as3server will be fine to achieve this, there is a
demo with blob detection and a sample with Touch_over and Touch_leave.
Its in the test.fla file.

Remember the as3 library has to grow by the time to support more features.

Mike Slinn

unread,
Dec 23, 2010, 11:55:26 PM12/23/10
to openn...@googlegroups.com
Juan,

Thank you for the information. I don't work with Flash Pro, I use Flash
Builder, which cannot read FLA files. Might you be able to post the
ActionScript somehow?

Mike

Reply all
Reply to author
Forward
0 new messages