Problems with Astra+

Hello
I’m working with the Nuitrack SDK and c++.

However, it does not change when you try to change the resolution on the Astra+ camera as follows:

		//Astra+
		Nuitrack::setConfigValue("OrbbecSDKDepthProvider.Depth.Width", "800");
		Nuitrack::setConfigValue("OrbbecSDKDepthProvider.Depth.Height", "600");
		Nuitrack::setConfigValue("OrbbecSDKDepthProvider.RGB.Width", "800");
		Nuitrack::setConfigValue("OrbbecSDKDepthProvider.RGB.Height", "600");

I’d appreciate it if you could answer.

Hi @firehouse750 ,

If you need to change the depth/color resolution, you need to run nuitrack_device_api_sample, select your sensor (activate if it is not activated), and in the next step you will see something like this:

Available depth video modes:
 Index | Width | Height | FPS
     0 |   160 |    120 |  30
     1 |   160 |    120 |  15
     2 |   160 |    120 |  10
     3 |   160 |    120 |   7
     4 |   320 |    240 |  30
     5 |   320 |    240 |  15
     6 |   320 |    240 |  10
     7 |   320 |    240 |   7
     8 |   640 |    480 |  30
     9 |   640 |    480 |  15
    10 |   640 |    480 |  10
    11 |   640 |    480 |   7
    12 |  1280 |   1024 |  30
    13 |  1280 |   1024 |  15
    14 |  1280 |   1024 |  10
    15 |  1280 |   1024 |   7

Available color video modes:
 Index | Width | Height | FPS
     0 |   640 |    480 |  30
     1 |   320 |    240 |  30
     2 |   800 |    600 |  30
     3 |  1280 |    720 |  30
     4 |  1920 |   1080 |  30
     5 |  2048 |   1536 |  15
(WARNING: not all video modes are supported)

These are all available depth/color resolutions of the selected sensor.
Please note that you cannot set a resolutions that is not in the list.
To change the resolution, use the following commands:

Nuitrack::setConfigValue("OrbbecSDKDepthProviderModule.Depth.ProcessWidth", "640");
Nuitrack::setConfigValue("OrbbecSDKDepthProviderModule.Depth.ProcessHeight", "480");
Nuitrack::setConfigValue("OrbbecSDKDepthProviderModule.RGB.ProcessWidth", "800");
Nuitrack::setConfigValue("OrbbecSDKDepthProviderModule.RGB.ProcessHeight", "600");

Thank you for your reply.

HI @firehouse750,

Has your issue been solved? Do you have any other questions that I can help you with?