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?
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.