How to set rs.stream.depth to short range mode when using a python script to align an RGB image with a depth image
I shoot a small screwdriver about 10 cm long and 2 cm high indoors, and at a distance of about 1 m, I can hardly find my target in the depth image when I set the Max Range mode, and then I adjust the preset to short range and control the shooting distance to 0.5m, and I can find the target in the depth image. Since I wrote a simple image alignment script using Python call rs.align, but I didn't find a way to set the short range mode under the rs.config method, is there a way to set rs.stream.depth to the short range mode?
-
Dear customer,
Thank you for reaching out to us.
To set short range mode in Python code, please refer to https://github.com/IntelRealSense/librealsense/issues/11053#issuecomment-1297174433
Regards,
Wai Fook
Please sign in to leave a comment.
Comments
1 comment