Closed purpleyoda1 closed 4 weeks ago
Hi @purpleyoda1 A key reason why the realsense-viewer depth images can look different to Python ones is that realsense-viewer applies a range of post-processing filters and depth colorization settings by default. A Python script applies no filtering by default - filters have to be deliberately programmed into the script.
So you do no need to attempt to disable post-processing filters in Python because they are already inactive by default.
Oh wow i see, thanks! I assumed they were on based on visual inspection of the outputs. Thank you so much for the quick response!
Hi! Is it possible to access raw depth data through the python API? I followed the example code for getting depth maps, but the resulting maps seem to have been run through several filters when comparing it to the raw stream in realsense viewer. I tried accessing the depth sensor or the pipelines processing block, but its difficult to figure out what methods and options are available for the different objects. Is there a way to disable the filters in python?
I apologize if this is actually a really simple case or i have missed something obvious (im quite the novice), but i have been trying on my own for a while now. Any help is greatly appreciated!
My current function can be seen below, although it doesn't run of course
def capture_and_save_raw_depth_map(output_path):
Configure realsense pipeline