truonggiang1994 / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

Win8: maybe the camera is not connected! #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. fresh Windows installation with nothing at all installed yet - to prevent 
any conflict
2. downloaded OpenNI_NITE_Installer-win64-0.27
3. installed openni-win64-1.5.4.0-dev.msi
4. installed nite-win64-1.5.2.21-dev.msi
5. SensorKinect092-Bin-Win64-v5.1.2.1.msi
6. plugged in Kinect for XBox360
7. downloaded and unpacked Processing 2.0b9
8. downloaded and deployed SimpleOpenNI-0.27.zip
9. reboot
10. from processing examples pocked SimpleOpenNI DepthImage
11. being desperate after spending almost a week on this

What is the expected output? What do you see instead?
i'm getting this in processing console 

SimpleOpenNI Version 0.27
Can't open the depthMap, maybe the camera is not connected!

trying to run NiViewer64 gets me this error

One or more of the following nodes could not be enumerated:
Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected!

What version of the product are you using? On what operating system?
Windows 8 64bit

Please provide any additional information below.

the whole process works well in Linux Mint 15, i just need it under Windows. in 
windows not even the green light on Kinect flashes

Original issue reported on code.google.com by jan.pernecky on 1 Jun 2013 at 11:56

GoogleCodeExporter commented 8 years ago
so windows 8 dose not like unsigned drivers,

Uninstall openni, nite, and the kinect driver.
Windows key + R to open the run prompt
shutdown.exe /r /o /f /t 00
select troubleshoot
select advanced
select windows startup and then restart
enter the option for Disable Driver Signature
reinstall openni, nite, and the kinect driver

I followed those instructions and it worked for me I suspect that only the 
driver needs to be re-installed, I also had to go in to device manager and make 
sure it was pointed at the right drivers because I had installed the oppenni 
sdk drivers and they don't work with processing.

Original comment by matt6...@gmail.com on 4 Jun 2013 at 3:46

GoogleCodeExporter commented 8 years ago
thanks, i'll give it a try in the morning. i ended up using different library 
for kinect though. i know it's unrelated to this topic, but it might help 
someone.

1. installed OpenKinect drivers as described here 
http://openkinect.org/wiki/Getting_Started#Driver_installation
(only the chapter Driver Installation, nothing else)
2. copied dLib freenect library to Processing. https://github.com/diwi/dLibs
no additional installation was needed. it suddenly worked as a charm.

i suppose also the drivers from the dLib freenect itself would work as 
described in the step 1.

Original comment by jan.pernecky on 6 Jun 2013 at 1:30

GoogleCodeExporter commented 8 years ago
@ #1
Thank you very much. I pulled out more than a couple hairs trying to figure out 
why I couldn't get this to work with Windows 8. Your procedure worked perfectly.

Original comment by Robert.J...@gmail.com on 8 Aug 2013 at 12:59

GoogleCodeExporter commented 8 years ago
Same Problem Here i'm able to work with Kinect Developers toolkit & Studio but 
i'm not able to connect my XBox360 green light is working but Processing is not 
able to detect my kinect same is with NIviewer my OS win8 X64 and  drivers from 
http://openkinect.org/wiki/Getting_Started#Driver_installation (Latest) Please 
do help me i will have to completet my project at the earliest 

Original comment by karthikr...@gmail.com on 2 Sep 2013 at 6:17

GoogleCodeExporter commented 8 years ago
Thank you Matt8! Now it's working. I have tried on my windows 8. The 
installation steps are same with Windows 7 (have tried before) after you enter 
the option "Disable Driver Signature". Good luck everyone! :D

Original comment by HanafiHi...@gmail.com on 13 Mar 2015 at 12:29