Items with no label
3335 Discussions

How to get the image resolution without capturing a frame

MAbdo2
New Contributor I
973 Views

I wish to configure the hardware through loading JSON file that can setup the image resolution differently. I would like to allocate the memory on the processing side of the application (ahead of the time) before any frame (images) have been captured. Is there a good way of knowing what the image (depth and color) resolution is setup prior to capturing a frameset?

Thanks,

Mo

0 Kudos
1 Reply
MartyG
Honored Contributor III
91 Views

If you want to get Advanced Mode values, the Advanced Mode documentation page linked to below has a script for getting the advanced-mode control values. It is the very last script at the bottom of the page.

https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400/rs400_advanced_mode.md librealsense/rs400_advanced_mode.md at master · IntelRealSense/librealsense · GitHub

0 Kudos
Reply