toinsson / pyrealsense

Cross-platform ctypes/Cython wrapper to the librealsense library (v1.x)
http://pyrealsense.readthedocs.io
Apache License 2.0
121 stars 46 forks source link

pyrealsense Error:'NoneType' object has no attribute 'deproject_pixel_to_point' #87

Closed saurav4098 closed 4 years ago

saurav4098 commented 5 years ago

Hi,

Below are the details of the device I am using. INFO:pyrealsense.core:There are 1 connected RealSense devices. INFO:pyrealsense.core:Using device 0, an Intel RealSense R200 INFO:pyrealsense.core: Serial number: 2451003160 INFO:pyrealsense.core: Firmware version: 1.0.72.10 librealsense version - librealsense-1.12.1 pyrealsense version - pyrealsense 1 Ubuntu 16.04 LTS

I am able to import pyrealsense and use the device functionalities but I am getting the below warning. warnings.warn("rsutilwrapper not found.")

I am trying to use: deproject_pixel_to_point(np.array([cy,cx]),np.array([depth])) but I am getting the below error 'NoneType' object has no attribute 'deproject_pixel_to_point'

Can somebody help me out here. Thanks in advance