Downloads Primesense Nite Win32 Application

May 2014: PrimeSense was bought by Apple at the end of April, and the OpenNI.org website was shut down. Fortunately, several sites have set up archives of.

I got this info from this page.
http://groups.google.com/group/openkinect/browse_thread/thread/3330d5ebb79995ae?tvc=2
Hi
I was confused with different instructions for connecting Kinect to PC.
Actually I couldn't install OpenKinect drivers, but I come up with an
instruction 4 Dummies! :D
I would be glad if somebody makes something like this for OpenKinect.
Sajjad
Step 1
Uninstall any previews drivers, such as CLNUI, OpenKinect,..
Uninstalling a driver does not seem to be easy esp in case of OpenKinect
Step 2
Download and install the latest stable or unstable OpenNI Binaries from
OpenNI website.
http://www.openni.org/downloadfiles/2-openni-binaries
There might be a security check message in this step and the next one. Don't
care and continue installing.
Step 3
Download Kinect Driver from the following link. The file name will be
avin2-SensorKinect-0124bd2.zip.
https://github.com/avin2/SensorKinect
Unzip the file and run
avin2-SensorKinect-0124bd2BinSensorKinect-Win32-5.0.0.exe
Step 4
Restart
Step 5
Plug in Kinect. Wait till Windows finds and installs the drivers. Check if
the camera and motor drivers are installed through Control Panel->System
and.->System->Device Manager
Currently no driver for Audio available by Primesense, although there is one
provided by OpenKinect.
Step6
Check OpenNI samples. NiSimpleRead just reads the data for the center of
Downloadsview into a console window. NiViewer gives you a color coded depth view
what the Kinect is looking at.
Step 7
Download and install the latest stable or unstable OpenNI Compliant
Middleware Binaries (NITE) from OpenNI website.
During installation, provide the following (free) PrimeSense key:
0KOIk2JeIBYClPWVnMoRKn5cdY4=
Step 8
Restart.
Step 9
Replace xml files in C:Program Files (x86)Prime SenseNITEData and
C:Program Files (x86)OpenNIData with the ones in
avin2-SensorKinect-0124bd2NITEData and
avin2-SensorKinect-0124bd2OpenNIData
Step 10
Checkout the NITE samples and have fun!
Note:
Error: the procedure entry point xnproductionNodeRelease could not be located in the dynamic link library openNI.dll
Sol: Ok, It is a version issue after all. By using unstable release of OpenNI/NITE, and then re-install the primesense kinect mods solves my problem.
Nathan wanted me to share with you how we got the Kinect hookuped with Motion Builder. It's straight forward for the most part:
Go to http://www.brekel.com to get the Application and plugin for MotionBuilder
And here are the specific instructions/drivers that Brekel needs for it to work with MotionBuilder:
1) Make sure you have a separate power adapter for your Kinect, you'll need it.
If you bought a standalone Kinect it came with one in the box.
If you bought a Kinect with a XBox360 bundle you may have to order one from Microsoft.
2) If you already have Kinect drivers installed that are NOT from OpenNI, make sure you delete them from your system first!
For example the OpenKinect/libfreenect ones or the Code Laboratories CL NUI ones.
These usually show up under a 'libusb' folder in your Windows Device Manager, where you can also delete them,
3) Download and install OpenNI
http://www.openni.org/downloadfiles/openni-binaries/21-stable
Note that you want the stable version (v1.0.0.23), not the unstable one (v1.0.0.25)
4) Download and install the Kinect drivers
https://github.com/avin2/SensorKinect/tree/master
Run SensorKinect-Win32-5.0.0.exe file from the Bin folder
Note that you don't pull the one from the unstable branch, but the one from the master branch
(If you see an OSX and Linux installer in the bin folder you've got the wrong one!)
5) Download and install NITE (user tracking module)
http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/34-stable
Use this key during installation: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
6) Make sure your Kinect is connected directly to your computer not through a USB hub
Your Windows Device Manager should look something like this:
7) Check if everything works by running one of the OpenNI samples:
C:Program Files (x86)OpenNISamplesBinReleaseNiSimpleViewer.exe
This should display a fullscreen videostream of the depth feed from your Kinect
8) If the sample works then you're ready to start Brekel Kinect 3D Scanner from your windows start menu.
If you have problems the OpenNI google groups are a great source for help and news:
http://groups.google.com/group/openni-dev
Note: If your firewall asks for permission to open a port please hit accept.
This is needed for streaming the data across your local network, or between applications.
I got ask far as getting the Kinect work with the Brekel and MotionBuilder to recognize the Kinect. But I don't know how to use MotionBuilder so.. currently stuck there.

--
Albert C. Lai albert@immersivetech.org Meddling Genius
310.384.9838 3550 Wilshire Blvd. #1520, Los Angeles, CA 90010
Neuroscience Biomedical Engineering Computer Science Public Administration International Relations
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// **//
Issues :
+ 'InitFromXml failed: Can't create any node of the requested type! '
http://groups.google.com/group/openni-dev/msg/51505a9aa9c5ab9d
'Kinect Camera' was not detected correct in the 'device manager'.
+ InitFromXml failed: Device Protocol: Bad Parameter sent!
1) http://groups.google.com/group/openni-dev/browse_thread/thread/c50238431e6dec4f
or
2) Replace xml files in C:Program Files (x86)Prime SenseNITEData and
C:Program Files (x86)OpenNIData with the ones in
avin2-SensorKinect-0124bd2NITEData and
avin2-SensorKinect-0124bd2OpenNIData
+ Got an error while reading network buffer: Xiron OS failed to receive a network buffer!
Replace xml files in C:Program Files (x86)Prime SenseNITEData and
C:Program Files (x86)OpenNIData with the ones in
avin2-SensorKinect-0124bd2NITEData and
avin2-SensorKinect-0124bd2OpenNIData

One of the topics I will be talking about during my MAX session this year is integrating game controllers into your Flex/AIR or ActionScript games in order to make more naturally interactive games. There are a lot of examples of using the Wii controller online already — and plus with the next generation of video game consoles coming out soon, I thought it would be best to spend my time on the latest and greatest — the Microsoft Kinect.

For those who don’t know much about the Kinect, it is a pair of Web Cams — one RGB (like a normal Web Cam), and one that sees only infrared. The combination of the two (along with a bunch of other electronics and software) allow the Kinect to have real depth-preception. This means that being able to track people, hands and everything else become trivial. The Microsoft Kinect was actually developed by PrimeSense, who originally made the device for PCs, rather than game consoles. This means that the devices are actually compatible with PCs, rather than relying on a whole stack of hacks to get them to work.

The biggest difficulty in getting the Kinect working is wading through all the pieces and parts that are needed to get it all working. Documentation is in very short supply (and usually found within text files on GitHub). Compounding the problem is that there are tens, if not hundreds of open-source projects revolving the Kinect — but unfortunately each depend on a different set of drivers, middleware and APIs — many which are NOT compatible with eachother.

Fallout 4 landscape mods. True Storms by fadingsignalTrue Storms by fadingsignal takes the vanilla weather effects of Fallout 4 and cranks them up to 11.

I will state right here that I am not an expert in all of these, but I did follow one path that made things work (after following MANY that didn’t). Matt LeGrand and I are planning a separate website and blog that will explore these other paths more to help people make sense of what to choose and what not to choose. My primary experience is getting the Kinect working with Windows 7, as I am well aware that my aging Mac laptop is not powerful enough to do much with the Kinect. Yes, you need a modern computer in order to use the Kinect.

So, where would you start? You obviously need the actual Microsoft Kinect controller. There are two models in the market right now — one that is USB only, and one with a USB + Power supply. The USB only version will ONLY work with the XBox, where the USB + Power Supply version works with PCs (the Kinect draws a few amp of power, which the XBox apparently can supply using USB). The only difference between the two packages is the power brick and a USB power injection module. If you end up with the wrong one, you are supposed to be able to buy the power brick and injection module, but I have no idea where one would pick that up. I got my kit from Best Buy in the video game refurbished aisle (it was about $100, after an instant coupon). The brand-new ones were about $140.

Before you plug it in, you need to install the drivers, middleware and APIs. There are three well-known sets of drivers and middleware, but the ones I found worked for me are directly from PrimeSence. The drivers and middleware are hosted on OpenNI’s website at http://www.openni.org/downloadfiles/opennimodules. There are three downloads you need — the OpenNI Module (OpenNI Binaries), the PrimeSense NITE Middleware, and the PrimeSense Drivers (OpenNI Compliant Hardware Binaries). Download only the 32-bit downloads, even if you are on a 64-bit Windows 7 install!! I’ve found LOTS of issues with the 64-bit drivers that cause things to break. Install the drivers, then the middleware, then the OpenNI APIs (in that order).

Finally, you will need the as3 modules. There is an open-source project known as AS3OpenNI that makes programming towards the OpenNI APIs very simple. Because AIR can’t directly talk to the APIs you have to use the included C++ application that proxies the driver calls to a TCP/IP connection. I’m sure this will become easier in future versions of AIR. AS3OpenNI takes all the hard word of processing the blob data that comes back from OpenNI and gives you either skeletal data (as a class), RGB, Depth, or “multitouch blob” data. With this data you can read back data from multiple users and track their hands, head, neck, legs, etc. I built all of my stuff on version 1.3.0, which is really stable.

Take a look at the examples in the AS3OpenNI project — they are pretty descriptive, and once you get all the parts working together, they work really, really well 🙂

So, what did I make using the Kinect? One of my first games I threw together was a simple version of Space Invaders. I have AS3OpenNI track the right hand to move the player left and right, and when the right hand moves over the center point of the neck, I fire a missile. The following code is all that is really needed (minus the setup of the player, etc.) :

Watch my twitter stream for more information about our (Matt and I) new website dedicated to the Kinect and AS3 🙂 I will also cover the game a lot more during MAX, so make sure to come!