Comments (11)
Hello,
Typically the issue here is a missconfigured openni installation. However since the NiViewer is working fine there are two possible couses:
- You have 32bit openni installation (64bit is required)
- Your camera is connected on a USB bus that is used by other devices as well. The NiViewer starts the camera on QVGA resolution for both streams while the HandTracker starts is on VGA resolution. If the USB bus is used by another device the bandwidth is not enough for the streaming for 2 VGA streams at 30fps.
Try setting the NiViewer to VGA for both streams and see if the camera still works normally.
Try changing the USB port where the camera is connected. Make sure it is the only device on the bus.
from handtracker.
Hi, @padeler
I have the same "Openni Error" and NiViewer is running well...
My system setting is Ubuntu 16.04, openni 1.5.4, and my camera is Asus Pro.
I only used one USB port and tried "lsusb" command:
Do you know what problem may cause the error? Thanks...
from handtracker.
Hi, I'm having the exact same issue here.
I also noticed there is a weird path in the error message:
/home/padeler/work/mbv/release_libs/src/mbv/Acquisition/OpenNIGrabber/OpenNIGrabber.cpp
It's in the second error in liming0791's reported output.
Shouldn't that path point to the local installation?
Thanks
from handtracker.
@gsiriani can you check if the NiViewer works when both streams are set to VGA resolution (see second bullet on my original reply). The error message is normal. It refers to the source not the local installation.
from handtracker.
@padeler I set both streams to VGA. The camera still works fine, but i keep getting the same issue when executing the script
from handtracker.
Do you get the same issue when you try to open the camera and when you try to open an "oni" recording?
from handtracker.
@padeler I have the same issue with @liming0791 . i've tried on windows & Ubuntu with different usb port but all get OpenNI error. Besides, NiViewer works fine...
And, could u teach me how to set NiViewer to VGA res?
from handtracker.
@yayo13 open NiViewer and click right mouse button you should see a menu.
@padeler I have the same problem as gsiriani. NiViewer works fine although I get the "OpenNI error. Function Failed" when I try to open an "oni" recording. Could you please provide any suggestion how to fix it? Many Thanks.
from handtracker.
@MarekStojecki Maybe you don't have the correct version of openni installed? I have never encountered an issue while grabbing from an "oni" file.
If you cannot get your camera to work with our grabber you can always supply the depth and rgb images directly to the tracker, check the python script comments for details.
from handtracker.
@padeler Ok. Thank you. I'm using Openni 1.5.4 but probably I'll write my own grabber as you suggested.
from handtracker.
Same issue here.
Solved it by modifying the code in line 90 from
oniPath = 'loop.oni'
to
oniPath = ''
and it worked.
Maybe give it a try will help.
Best luck
from handtracker.
Related Issues (20)
- Is it possible to see the source code of PyHandTracker? HOT 1
- Is it possible to integrate HandTracker into Unity Development? HOT 1
- GLSL 3.30 is not supported HOT 1
- unrecognise option 'libs' HOT 3
- Thumb in roll movement HOT 3
- Error running batch script HOT 3
- Get data of the hand pose HOT 3
- Recognition Problem with the HandObjectTracking demo HOT 1
- With and without PSO data HOT 3
- Documentations
- About OS
- Is this project compatible with DS325 camera? HOT 3
- RuntimeError at OpenGLHelpers.cpp(xxx) HOT 4
- execute runme.bat failed after config environment HOT 1
- import error about 'libcore.so' HOT 5
- Incomatible with today's software HOT 2
- can I use this lib to track two hands ? HOT 1
- Consider licensing under a free license.
- loop.oni file not found
- Download links are not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handtracker.