Skip to content
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

BBox Shift during Visualization because of Inaccurate Calibration #32

Closed
Uchan1996 opened this issue Jul 16, 2024 · 1 comment
Closed

Comments

@Uchan1996
Copy link

Hi, I have a question about visualization of ground truth bounding boxes.
The codes provide only visulalization of GT boxes on a bird's eye view as far as I've found, but I want to visualize them on each camera view.
In my understanding, the gt_box_tensor on the line 115 in inference.py is on the ego lidar coordinate.
So I transformed gt_box_tensor by multiplying the inverse of transformation_matrix, each extrinsic and each intrinsic to obtain bboxes on each image coordinate.
The transformation matrix is a matrix to project each lidar coordinate to ego coordinate, which is calculated in the line 444 of 'basedataset.py'.
However, the projected bboxes seem inaccurate, and there are sometimes weird bboxes, e.g., bboxes in mid-air.
The transformation I did is wrong? Or extrinsics are inaccurate?
Also, could you please publish your code to visualize bboxes on each camera view if you have.

The examples of visualization results are like below. The green boxes represent the projected GT boxes.

view1_camera0_150

view1_camera0_37

view1_camera0_119

@ryhnhao
Copy link
Collaborator

ryhnhao commented Aug 2, 2024

Sorry for the late response. Thank you for pointing this out. This problem does exist in our verification.
The calibration of the intersection scene 117-120 is not accurate. This affects the practice of camera-based method in RCooper scenarios.
We will continue to work with CAIC to update the calibration parameters.

The same discussion can also be found here

@ryhnhao ryhnhao closed this as completed Aug 2, 2024
@ryhnhao ryhnhao mentioned this issue Sep 26, 2024
@ryhnhao ryhnhao pinned this issue Sep 26, 2024
@ryhnhao ryhnhao changed the title Visualization of ground truth bounding boxes on each camera view BBox Shift during Visualization because of Inaccurate Calibration Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants