I'm wondering whether I can use the preset json files in my c++ code? I'm hoping I can just load the json file and apply it to the sensor. I don't see anything obvious in the viewer code. Is it possible?
I hope this script will help you:
Re: Rs400 Visual Presets - how to use
Thanks. Here is the C++ code if anyone else is looking:
auto sensor = profile.get_device().first<rs2::depth_sensor>();
Retrieving data ...