Items with no label
3335 Discussions

PyRealSense2 Controls Programmatically

idata
Employee
1,389 Views

Hello,

I'd really like to adjust some of the controls that you normally see in the Realsense2 viewer in Python (like laser power for instance), but I can't seem to find any documentation anywhere, even in the C++ area for it. How the heck do you research function names and parameters?

I don't want the advanced controls, just the more basic ones.

Thank you!

0 Kudos
1 Solution
MartyG
Honored Contributor III
476 Views

An excellent reference for instruction names is the documentation site by RealSense developer UnaNancyOwen, which draws information directly from the official docs and arranges it into a more easily searchable format.

https://unanancyowen.github.io/librealsense2_apireference/pages.html Intel® RealSense™ Cross Platform API: Related Pages

A good search technique when looking for very technical details is to start each search with the word 'librealsense' - e.g 'librealsense laser power python', as this is likely to pull the very technical RealSense GitHub site's content into the search results. Below is a search result related to accessing laser power in Python:

https://github.com/IntelRealSense/librealsense/issues/1258 How to control the laser with python wrapper · Issue # 1258 · IntelRealSense/librealsense · GitHub

You can also find some Python tutorials published by Intel here:

https://github.com/IntelRealSense/librealsense/tree/jupyter/notebooks librealsense/notebooks at jupyter · IntelRealSense/librealsense · GitHub

The first link in the list of Python tutorials is about post-processing filters, the second is about using RealSense underwater, and the third is about calculating the distance of an object.

View solution in original post

0 Kudos
1 Reply
MartyG
Honored Contributor III
477 Views

An excellent reference for instruction names is the documentation site by RealSense developer UnaNancyOwen, which draws information directly from the official docs and arranges it into a more easily searchable format.

https://unanancyowen.github.io/librealsense2_apireference/pages.html Intel® RealSense™ Cross Platform API: Related Pages

A good search technique when looking for very technical details is to start each search with the word 'librealsense' - e.g 'librealsense laser power python', as this is likely to pull the very technical RealSense GitHub site's content into the search results. Below is a search result related to accessing laser power in Python:

https://github.com/IntelRealSense/librealsense/issues/1258 How to control the laser with python wrapper · Issue # 1258 · IntelRealSense/librealsense · GitHub

You can also find some Python tutorials published by Intel here:

https://github.com/IntelRealSense/librealsense/tree/jupyter/notebooks librealsense/notebooks at jupyter · IntelRealSense/librealsense · GitHub

The first link in the list of Python tutorials is about post-processing filters, the second is about using RealSense underwater, and the third is about calculating the distance of an object.

0 Kudos
Reply