-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add script to jointly visualize GT and estimated scene #779
Conversation
Can we not add GT as an optional arg in the current |
Good idea, that's cleaner. Updated now |
gtsfm/visualization/view_scene.py
Outdated
|
||
# Align the poses. | ||
n = min(len(wTi_list), len(wTi_list_gt)) | ||
wTi_aligned_list, rSe = alignment_utils.align_poses_sim3_ignore_missing(wTi_list_gt[:n], wTi_list[:n]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would this work if the missing cameras are towards the start of the sequence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayushbaid good catch, fixed now
for i in range(len(wTi_list_gt)): | ||
wTi_list_gt[i] = zcwTw.compose(wTi_list_gt[i]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we applying this transform to GT poses, but not the points?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I've set it up to only visualize GT poses, not GT points. Otherwise gets a bit too crowded in addition to the reconstructed points and reconstructed poses.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.