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

Can't import rs_option #76

Closed Zimba96 closed 4 years ago

Zimba96 commented 6 years ago
Required Info
Camera Model R200
Firmware Version -
Operating System & Version Ubuntu 16.04 (Kernel 4.4), Python 3.5
librealsense version 1.12.1
pyrealsense version 2.2

Hi there, I've installed pyrealsense with pip3 install pyrealsense and pycparser with pip3 install pycparser inside my virtualenv. When I tried out the example on using pyrealsense with opencv (show_cv2.py), I got an error in line 8, saying that there is no module called rs_option. The only modules that can be importet from pyrealsense.constants are rs_h_file, rs_h_filename and api_version.

When I don't use the custom-options, the Image I get is in a very low resolution.

Did I forgot to install some dependencies?

Thanks for your help!