-
Notifications
You must be signed in to change notification settings - Fork 233
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
Large centroid error #279
Comments
|
Hi @wenbowen123, We have created an internal tool to obtain the GT (see the image below, 0011.png, which shows how it appears with the CAD model overlay). Also adjusted the FP code to overlay the CAD model according to the pose (0011.png). Here is the link where you can access both the dataset and the debug folder. When directly comparing the angular error between the GT tool and the FP pose, I observed a substantial angular discrepancy of 122.65 degrees. Upon further investigation of the rotation matrices from both the FP and GT tools, I found that the FP rotation matrix had a misalignment between the x, y and z axes. To correct this, I reshuffled the FP rotation matrix, as shown below, to better align it with the GT tool pose. After this adjustment, the angular error fell within an acceptable range, though the centroid error remained around 15 mm, as mentioned earlier.
|
if you visualize "scene_raw.ply" in the debug folder, the PCL is very bad. The cube is flat as a plane. What camera did you use? Consider using a better RGBD camera. |
your cube model also has no texture. So there is symmetry ambiguity. |
I am using the Intel D435 depth camera, https://www.intelrealsense.com/depth-camera-d435/ |
Most of the models I work with are low-textured and commonly used in automative industry. Would adjusting any parameters in FoundationPose improve its performance? I plan to improve the lighting conditions and observe how it affects the pose estimation results. |
the key issue I believe is the point cloud being too bad. You can see the contour kinda matches, but the estimated cube is a bit below the table (that's how the PCL looks like being flat). |
I updated the dataset with improved lighting conditions abit, while keeping the CAD model unchanged for now, and achieved better results. To achieve this, I had to adjust the signs and reindex the rotation values. pose[:, :3] = pose[:, [2, 0, 1]] pose[0,3] *= -1
I'll test it under improved lighting conditions, make updates to the CAD model, and provide an update soon. |
I have manually obtained ground truth values for the pose of my object. Using the same set of Color and Depth images, I used the FoundationPose model
(run_demo.py)
to estimate the object's pose. When comparing the pose outputs from FoundationPose to the ground truth, I observed the following errors:Centroid error:
~15 mm
Angular error:
~2.8 degrees
While the angular error seems promising, the centroid error appears relatively large.
I have a question regarding the source of this discrepancy:
Is the pose from FoundationPose derived from any specific corner or coordinates of the object rather than its centroid?
Below, I’ve included two sample poses for comparison:
Pose from FoundationPose (cam2obj):
Pose from Ground Truth (cam2pieces):
Errors Observed:
15.77 mm
2.81 degrees
Could the large centroid error be explained by how the pose is being estimated (e.g., if it's calculated from a specific point like a corner rather than the centroid)?
The text was updated successfully, but these errors were encountered: