Skip to content

BBox Shift during Visualization because of Inaccurate Calibration #32

Description

@Uchan1996

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions