-
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
Background extraction from the object in python #3002
Comments
I have applied depth clamp min and depth clamp max in opencv_pointcloud_viewer.py.
Above snippet help me to give distance threshold. Now I have to extract the platform from the foot model. Is there any API for background extraction from PLY ? or any color based segmentation from ply file? Thanks a lot. |
Any suggestion from Realsense engineering team? |
Hello @Pratiksha2692, Sorry for the delay. Have you taken a look at the documentation of API? https://intelrealsense.github.io/librealsense/doxygen/pages.html Also here is some info regarding OpenCV background subtraction. https://docs.opencv.org/3.4/db/d5c/tutorial_py_bg_subtraction.html Please take a look at these docs and update ticket with your results. Thank you! |
Hi @RealSenseCustomerSupport , Thanks a lot. I had tried OpenCV background subtraction. It worked fine for rgb image.
Thanks in advance. |
Hi Pratiksha2692, Wonder if you have any updates/progress on this one? Python wrapper newly had threshold filter added in, which is similar to what RS Viewer has in post processing filter section. a) First claim a filter. which by default uses 0.15~4m): thr_filter = rs.threshold_filter() And then from there, you will need to your own way to deal with the data from PLY file. Thanks! |
Hi Pratiksha2692, Do you still need help? If nothing else is needed, it will be closed. Thanks! |
Issue Description
I have to extract the object from its background. I had put the realsense camera at the corner of platform. RGB image is attached as below.
I have to do 3d reconstruction of model. I am using opencv_pointcloud_viewer.py code to capture point cloud. How can I extract model from the background in the point cloud?
Kindly advise.
Thanks in advance.
The text was updated successfully, but these errors were encountered: