Closed monajalal closed 1 month ago
Hi @monajalal 1280x720 for both depth and color should be supported on a D435, unless your camera is being detected as being on a USB 2.1 connection instead of USB 3.2. On a USB 2.1 connection, 1280x720 resolution is only supported at 6 FPS instead of 30 and requesting 30 FPS would cause the RuntimeError: Couldn't resolve requests error.
RealSense 400 Series cameras do not have a confidence map but you can do something similar with the Advanced Mode Second Peak Threshold parameter, as advised at https://github.com/IntelRealSense/librealsense/issues/3185#issuecomment-460540961
Thanks for mentioning this. Turns out I cannot use rs.stream.confidence since this is D400 series, right?
As for the other option, how can I set these in the python code? I can access them in realsense-viewer GUI.
My intention is when a person is detected by GUI and is further than 1.5m, do not show the bounding box surrounding it
rs.stream.confidence is a feature only supported on the RealSense L515 lidar depth camera model.
Tthe Second Peak Threshold value can be defined in a custom json camera configuration file or with Python using Advanced Mode scripting, as described at https://github.com/IntelRealSense/librealsense/issues/10224#issuecomment-1060412603
Using Advanced Mode code to set it will be complicated. It would be much easier to define the value in a json file and then import the json into your program so that the configuration settings stored in the file are applied.
Hi @monajalal Do you require further assistance with this case, please? Thanks!
Case closed due to no further comments received.
Error:
Related link:
https://github.com/IntelRealSense/librealsense/issues/9037
Could you please help how I can get the confidence value for each pixel in depth map for the resolution of the 1280x720 for depth map?
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>