Skip to content

Issue usin OPENNI on ubuntu 18.04.6 #4

@Okilele56

Description

@Okilele56

Hello
I am trying to use your 3Dcam following this documentation : https://github.com/Terabee/python_openni2_samples

I am using ubuntu 18 and python3. But unfortunatly I have an issue wtith the line openni2.Device.open_any(), the python script do not detect any sensor.
I have this error message :
Traceback (most recent call last):
File "test_openni.py", line 11, in
dev = openni2.Device.open_any()
File "/home/banc-terabee/.local/lib/python3.6/site-packages/openni/openni2.py", line 258, in open_any
return cls(None)
File "/home/banc-terabee/.local/lib/python3.6/site-packages/openni/openni2.py", line 223, in init
self._reopen()
File "/home/banc-terabee/.local/lib/python3.6/site-packages/openni/openni2.py", line 233, in _reopen
c_api.oniDeviceOpen(self._orig_uri, ctypes.byref(self._handle))
File "/home/banc-terabee/.local/lib/python3.6/site-packages/openni/_openni2.py", line 2837, in wrapper
raise OpenNIError(res, msg.strip(), logfile)
openni.utils.OpenNIError: (OniStatus.ONI_STATUS_ERROR, b'DeviceOpen using default: no devices found', None)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions