autonomousvision / kitti360Scripts

This repository contains utility scripts for the KITTI-360 dataset.
MIT License
385 stars 63 forks source link

Missing 3d Bouding box? #129

Open xixinzhang opened 1 month ago

xixinzhang commented 1 month ago

I have some questions about the labels of 3d BBox:

  1. I found the start frame(2897) of boxes in sequences 4 does not match the start frame(0) of the LiDAR scan. Is this something expected?
  2. I've also seen a similar issue https://github.com/autonomousvision/kitti360Scripts/issues/40, which is related to data of sequence 0. There seem to be a lot of missing bboxes, I haven't checked all frames of all sequences, but here are some examples below. I don't know if I missed some data or if they were just not given, but the case I give for sequence 4 is out of the range of the first 250 frames.
yiyiliao commented 1 week ago

Thank you for reporting the issues!

I found the start frame(2897) of boxes in sequences 4 does not match the start frame(0) of the LiDAR scan. Is this something expected?

Yes, it is expected. We have withheld some RGB images from sequence 4 because they are used as test sequences for the NVS benchmark.

I've also seen a similar issue https://github.com/autonomousvision/kitti360Scripts/issues/40, which is related to data of sequence 0. There seem to be a lot of missing bboxes, I haven't checked all frames of all sequences, but here are some examples below. I don't know if I missed some data or if they were just not given, but the case I give for sequence 4 is out of the range of the first 250 frames.

I investigated this issue and found that the missing bounding boxes are likely due to retrieving them using the annotation window. Some regions have multiple annotations because the ego-car passed the same areas repeatedly or because of overlaps between adjacent windows. To address this, we implemented an automatic check to filter out duplicate annotations, which might explain why some boxes appear from a different window. Below are screenshots showing the same sequence (seq 4, 0000003356_0000003586.ply) overlaid with instance bounding boxes, comparing retrieval using the annotation window versus retrieval based on distance."

ScreenCapture_2024-10-07-15-31-26

  1. Annotation window-based retrieval

ScreenCapture_2024-10-07-15-27-11

  1. Distance-based retrieval
yiyiliao commented 1 week ago

I have updated kitti360Viewer3D.py to visualize the bounding boxes based on distance instead of annotation window: https://github.com/autonomousvision/kitti360Scripts/blob/d4d4885102f72ea8d96c9e72e2ff03a8834353a4/kitti360scripts/viewer/kitti360Viewer3D.py#L319-L345