Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 Discussions

How to apply visual presets in C++

DSolo2
Beginner
3,432 Views

Hello,

I am trying to change the visual preset on the D415 using the example code given in but it does not seem to be working. When I run the code, there is no effect on the stream. If I use the Realsense Viewer tool to change the presets, then it works. I am running Windows 10.

Is there a step that I am missing?

0 Kudos
1 Solution
MartyG
Honored Contributor III
1,516 Views

Are you trying to change the resolution and / or FPS at start-up, please? If so, these particular settings cannot currently be set with a json for reasons explained in the link below.

View solution in original post

4 Replies
MartyG
Honored Contributor III
1,517 Views

Are you trying to change the resolution and / or FPS at start-up, please? If so, these particular settings cannot currently be set with a json for reasons explained in the link below.

DSolo2
Beginner
1,516 Views

Yes, I am setting the FPS and resolution at start up. I will try your suggestion and report the result. Many thanks for your helpful response MartyG.

0 Kudos
DSolo2
Beginner
1,516 Views

I was able to make the preset take effect by first saving it to JSON using realsense viewer and then loading the preset using the code in your link.

Thank you for your help.

0 Kudos
MartyG
Honored Contributor III
1,516 Views

Awesome, thanks for the tip about how you solved the problem in your project!

0 Kudos
Reply