-
Notifications
You must be signed in to change notification settings - Fork 890
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
Fix kinect recording oni for NiTE 2.2 #80
base: develop
Are you sure you want to change the base?
Conversation
The pre-build dll could be download here Just replace original kinect.dll in OpenNI2\drivers |
I think this repo has been abandoned. You should also make a pull request to occipital/OpenNI2. |
Here is a small program to fix existed ONI files https://github.com/VIML/oniFixer It use the VirtualDeviceForOpenNI2 project (https://github.com/VIML/VirtualDeviceForOpenNI2), open the exist ONI file and create a virtual device to record it again with all required properties. |
Why ignored by primesense? It is a critical bug which causes corruption each time when you play an ONI file under NITE. Previously, I just manually set XN_STREAM_PROPERTY_PARAM_COEFF to 4. |
See #83 . What do you think, Heresy, Benn? |
to piedar Thanks for reminding. |
hi, |
When using VirtualDevice , it may make the duration between frame and frame increase, depend on what you do with each frame. I think you may try to reduce the computational complexity, and check if it work better. |
hey heresy, thanks for the replay. int dataSize=rF1.dataSize; |
ok. previously I fetched the .oni file from my network and was a bit slower than data from the kinect. now I get it from local files, that is even a little faster than kinect, but still not tracking. |
Also tried to get it the framerate at the same speed as with kinect, but didn't improve tracking either. Do you have any other ideas on why it's not working? |
If what you need is just make ONI work with NiTE, I would recommend try use KinectOniFix to process the ONI file before use it. |
I tried that, too, but when it reaches the point where it wants to close the physical device it stops without any error message. Just doesn't do anything anymore. |
NiTE is a black box, it has lots of usage limits. I am not sure what would happen if you give it 7fps depth data. |
ok. thanks anyway. |
…devel Add a simple roswtf plugin that checks the number of connected devices
The ONI file recorded from Kinect sensor can't work with NiTE 2.2 because leak the property XN_STREAM_PROPERTY_PARAM_COEFF.
This patch fix this issue.