Input dataset preperation to groundTruthLidar
Show older comments
Hi there,
I have done a clustering-based 3D object detection based on Lidar point cloud, with a result of [x, y, z, h, w, l, yaw]. I can append two 0 to make it a N*9 array. However, it seems for Cuboid, groundTruthLidar only accepts [xmin, ymin, zmin, width, height, depth, 0, 0, 0], i.e., no yaw. Is it true? Is there a way to include yaw for 3D bounding boxes? The error message is attached below:
Invalid entry in label data table for Cuboid labelType. Table entries for column must be M-by-9 matrices of [xmin, ymin, zmin, width, height, depth, 0, 0, 0]. Please refer to groundTruthLidar object.
Thank you for your time.
Kind regards,
Chenyu
4 Comments
Walter Roberson
on 4 Jul 2025
That is odd. The definition for labeldata Cuboid https://www.mathworks.com/help/lidar/ref/groundtruthlidar.html#mw_4ba93ad9-d2ac-4454-a74c-315d2fcf4824 does not mention any restriction on the rotation angles.
Which MATLAB release are you using?
Chenyu
on 4 Jul 2025
Walter Roberson
on 4 Jul 2025
R2024b does not appear to have any documented restriction on the rotation angles either.
sudobash
on 7 Jul 2025
Hi Chenyu,
Can you share your code for initializing the groundTruthLidar object?
Thanks!
Answers (0)
Categories
Find more on Labeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!