Update (17.01.2013) – This old post is obsolete now and instruction will not work with latest OpenNI 2. I will wrote new one soon, when new SensorKinect drivers will be available.

Update (29.05.2013) – For using OpenNI 1.x on your systems check this URL for packages. They work – https://code.google.com/p/simple-openni/downloads/list

Just installed OpenNI files to my home PC and run few samples. Working pretty good. Below simple instruction how to setup OpenNI for kinect hardware on Windows (i used Windows 7 Pro 64)

1. First uninstall all previous drivers (NUI or libfreenect)
2. Then install drivers from https://github.com/avin2/SensorKinect use manual install from ‘\Platform\Win32\Driver’ ,after correct install you will have ‘Kinect Motor’ and ‘ ‘Kinect Camera’ under ‘PrimeSensor’
Kinect Hardware

3. Install OpenNI and NITE

4. Run SensorKinect-Win32-5.0.0.exe from ‘\Bin’ folder in package you get on step 2.

5. put this into ‘NITE/Data/Sample-User.xml’ file

<OpenNI>
<Licenses>
<License vendor=”PrimeSense” key=”0KOIk2JeIBYClPWVnMoRKn5cdY4=”/>
</Licenses>
<Log writeToConsole=”false” writeToFile=”false”>
<!– 0 – Verbose, 1 – Info, 2 – Warning, 3 – Error (default) –>
<LogLevel value=”3″/>
<Masks>
<Mask name=”ALL” on=”true”/>
</Masks>
<Dumps>
</Dumps>
</Log>
<ProductionNodes>
<Node type=”Image” name=”Image1″>
<Configuration>
<MapOutputMode xRes=”640″ yRes=”480″ FPS=”30″/>
<Mirror on=”true”/>
</Configuration>
</Node>
<Node type=”Depth” name=”Depth1″>
<Configuration>
<MapOutputMode xRes=”640″ yRes=”480″ FPS=”30″/>
<Mirror on=”true”/>
</Configuration>
</Node>
<Node type=”User” name=”User1″/>
<!–
<Node type=”Audio” name=”Audio1″>
</Node>

–>
</ProductionNodes>
</OpenNI>

Also uncomment add fill all License nodes inside Sample-Scene.xml and Sample-Tracking.xml

<Licenses>
<License vendor=”PrimeSense” key=”0KOIk2JeIBYClPWVnMoRKn5cdY4=”/>
</Licenses>

Then run samples.

Update (17.01.2013) – This old post is obsolete now and instruction will not work with latest OpenNI 2. I will wrote new one soon, when new SensorKinect drivers will be available.

Just installed OpenNI files to my home PC and run few samples. Working pretty good. Below simple instruction how to setup OpenNI for kinect hardware on Windows (i used Windows 7 Pro 64)

1. First uninstall all previous drivers (NUI or libfreenect)
2. Then install drivers from https://github.com/avin2/SensorKinect use manual install from ‘\Platform\Win32\Driver’ ,after correct install you will have ‘Kinect Motor’ and ‘ ‘Kinect Camera’ under ‘PrimeSensor’
Kinect Hardware

3. Install OpenNI and NITE

4. Run SensorKinect-Win32-5.0.0.exe from ‘\Bin’ folder in package you get on step 2.

5. put this into ‘NITE/Data/Sample-User.xml’ file

<OpenNI>
<Licenses>
<License vendor=”PrimeSense” key=”0KOIk2JeIBYClPWVnMoRKn5cdY4=”/>
</Licenses>
<Log writeToConsole=”false” writeToFile=”false”>
<!– 0 – Verbose, 1 – Info, 2 – Warning, 3 – Error (default) –>
<LogLevel value=”3″/>
<Masks>
<Mask name=”ALL” on=”true”/>
</Masks>
<Dumps>
</Dumps>
</Log>
<ProductionNodes>
<Node type=”Image” name=”Image1″>
<Configuration>
<MapOutputMode xRes=”640″ yRes=”480″ FPS=”30″/>
<Mirror on=”true”/>
</Configuration>
</Node>
<Node type=”Depth” name=”Depth1″>
<Configuration>
<MapOutputMode xRes=”640″ yRes=”480″ FPS=”30″/>
<Mirror on=”true”/>
</Configuration>
</Node>
<Node type=”User” name=”User1″/>
<!–
<Node type=”Audio” name=”Audio1″>
</Node>

–>
</ProductionNodes>
</OpenNI>

Also uncomment add fill all License nodes inside Sample-Scene.xml and Sample-Tracking.xml

<Licenses>
<License vendor=”PrimeSense” key=”0KOIk2JeIBYClPWVnMoRKn5cdY4=”/>
</Licenses>

Then run samples.