-
Notifications
You must be signed in to change notification settings - Fork 57
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
Using self compiled libfreenect2 with CUDA support? #47
Comments
Hi!
I think that should all be doable.
you could just install your libs at the system level and then just make sure your project has the linker flags set?
ie: -lfreenect -lusb etc
In terms of the bsod do the freenect examples work for you?
You might need to set the engine to use CUDA via the ofxKinectV2 settings structure.
https://github.com/ofTheo/ofxKinectV2/blob/master/src/ofxKinectV2.h#L40
Changing that to CUDA via the settings option would be needed. Though I think I've never personally seen it work with CUDA it should be possible.
|
Jonas check out Davide's last comment in issue #41
|
Hey Theo, Regarding the blue screens / bsods and for overall transparency I am going to drop some information here because it was a pain for me to get to this point. This isn't all directly ofxKinectV2 related but I hope it is okay to leave that info here in case somebody else is struggling as well. I build a positional tracking system with 4 Kinects. Our problem was the overall area of about 10m x 10m and a relatively low ceiling height and our own installation in the way. We tried traditional cameras and looked into lidars. Cameras were to distorted and extremely hard to merge. Lidar would be tricky with people casting "shadows" and it wouldn't give us enough information (like radius including stretched out arms). Our Solution:
The problems along the way: Extension cables. Bluescreens / BSOD. As I said this isn't entirely related to this addon but I hope somebody who is looking for help will find this. |
Thanks for this detailed report @oneandonlyoddo ! One thing we did which we recently pushed to the addon is make it possible to completely disable the color stream while still being able to get registered pixels ( for point cloud approaches ). See: 3912839 This helped a lot for us to reduce bandwidth and to make the system more stable. |
Hey,
Thanks for this awesome addon. I built libfreenect2 from source on my machine with CUDA support. I was wondering how would I go for using it instead of the precompiled lib that is coming with this addon. Is it as simple as replacing the /libs/libfreenect2 folder? Or is there more that needs to be done?
I am trying to get a little bit more performance and stability out of this. I keep getting BSODs on one of my test machines when using multiple Kinects.
The text was updated successfully, but these errors were encountered: