-
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
Pointcloud, how remove background? #8170
Comments
Hi @RarDay You can apply a Threshold Filter to set a minimum and maximum depth distance. Data outside of the defined range is excluded from the image. The threshold filter's programming reference for pyrealsense2 is linked to below. |
@MartyG-RealSense hmm yes, i find this func but i dont understand where i must put it
|
The above script reference about threshold refers to the export of point cloud data to a ply file. There is very little information available in regard to scripting for implementing a minimum-maximum depth threshold filter in a Python program. The best guidance that I found is in the link below: |
Hello! I'm interested in a similar application of The below application successfully filtered the point cloud to under the configured distance option (1). The units seem to be in meters. I don't know what defines this, but assume it ties back to
|
@acbuynak It's that i found, thanks! |
Thanks so much @acbuynak for sharing your code :) |
Hi, did you succeed to remove background and save recorded data (in my case, it's .bag, but can be easily converted to .ply)? |
I get pointcloud from my depth camera. And I want to remove extra points that are far away, how do I put a condition in the code?
My code for save pointcloud:
And i have code to remove background:
The text was updated successfully, but these errors were encountered: