-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The video recorded by Intel RealSense Viewer has a different depth value than the bag file called by Python #13648
Comments
When I used Python code to call the bag file recorded by inter realsense vierwer, I found that all the parameters for post processing were fixed. In other words, although I changed the post-processing parameters during the recording of the inter realsense vierwer, the bag file did not save the parameters I changed. Is this a bug in the inter realsense vierwer? |
The effects of post-processing filters are not saved to a bag file, just the raw stream data. Once the bag file has been loaded in, the filters have to be applied to the data in real-time. |
Can you explain that when I apply temporal filtering to a deep frame, the attribute of this frame changes from "pyrealsense2. pyrealsense2. depthframe" to "pyrealsense2. pyrealsense2. frame", causing the function get-distance to fail and report an error: AttributeError: 'pyrealsense2.pyrealsense2.frame' object has no attribute 'get_distance'。 In this situation, even if I apply temporal filter, I cannot proceed with subsequent data processing?????? May I ask if there is a bug in the program? |
Or alternatively, can I change the parameters of the temporal filter when recording files in Python, so that the depth value of the bag file recorded in Python changes? If not, why is post-processing necessary? Because I found that the default post-processing parameters do not match the actual results in processing depth values. Please reply to me as soon as possible, as the setting of this post-processing parameter has been bothering me for a long time and urgently needs to be resolved now! Looking forward to your reply,thanks! |
Hi @zhanyaoaaaaaa Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
When I used the Intel RealSense Viewer toolkit to record a bag file, I found that the depth value of a fixed pixel in the bag file that I called with Python code did not match the pixel displayed by the Viewer toolkit.
For example, I set the stereo module → post processing → temporary filter → filter smooth alpha to 0. When recording a bag file in Viewer, the depth value of a fixed pixel does not change over time. But when I called the bag file with Python code, I found that the depth value of the fixed pixel still changes over time, and the magnitude of this change is very large.
Excuse me, did the bag file not save the post processing result?
What should I do when using Python code to call a bag file? Never record directly in Python, it's inconvenient, just use Python code to call the bag file.
The text was updated successfully, but these errors were encountered: