Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "no devices found" with ASUS Xtion2 #4

Open
shsh946 opened this issue Oct 31, 2018 · 8 comments
Open

Error "no devices found" with ASUS Xtion2 #4

shsh946 opened this issue Oct 31, 2018 · 8 comments

Comments

@shsh946
Copy link

shsh946 commented Oct 31, 2018

As title
Environment: Win10/Python3.7
openni.Device.open_any() can not found the Xtion2
But ASUS_NiViewer2.2 can work correctly

@ccl-private
Copy link

Hei, my ASUS Xtion Pro Live maybe have the same problem.
I run ./SimpleViewer on ubuntu18, got "Open device failed: DeviceOpen using default: no devices found "

@rokopi-byte
Copy link

Hi ccl-private, is NiViewer working for you ? Sorry for the stupid question but.. have you run the install script that is under Packaging/Linux in OpenNI folder ?
Just to be sure you can follow this guide: https://github.com/occipital/OpenNI2 at the end just run the script, it will basically copy udev rules for the camera..

@ccl-private
Copy link

@roccopietrini, thanks. Both NiViewer and SimpleViewer worked.
But I still have a problem with NiTE2 Examples in README.md.
Screenshot from 2019-07-07 15-01-34
My NiTE2 downloaded from http://cvrlcode.ics.forth.gr/web_share/OpenNI/NITE_SDK.

@rokopi-byte
Copy link

I'm not an expert but I suspect that Nite don't find OpenNI.. Try this

https://stackoverflow.com/a/26358097/4267439

@ccl-private
Copy link

@roccopietrini, thank you very much. :)
I finally succeed with your help.
Really appreciate.

@ccl-private
Copy link

ccl-private commented Aug 7, 2019

@roccopietrini, Recently I reinstalled my os to debian10, something was wrong with NiTE again.OPENNI works fine. I Don't know whether it is because I forget something to set or not. And here are my 3 steps:
Screenshot from 2019-08-07 16-13-41
The code in test.py is the first example of NiTE2 usage with my paths of OpenNI and NiTE added.
here is the error message:
Screenshot from 2019-08-07 16-17-49

@rokopi-byte
Copy link

It's been long time since I last used this things, but if I remember well when you call some NiTE2 functions it looks for the model files in the same level, under a NiTE2 directory, for example.. ./NiTE2/s.dat
From the error message you get I guess it doesn't find this directory.. what I was doing is symlink the directory NiTE2 in the path where your program is..
Hope it helps.

@ccl-private
Copy link

Thank you~
I put NiTE2 and OpenNI2 into my project, and it worked.
Screenshot from 2019-08-08 08-19-20

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants