How can I export Ground Truth in KITTI format (.txt) using Ground Truth Labeler App
14 views (last 30 days)
Show older comments
Arghya Chatterjee
on 12 Mar 2021
Commented: Gina Abdelhalim
on 7 Feb 2023
Hello, I am working on Lidar based 3D Bounding Box Detection. I am using matlab for labeling the ground truth data as I am working with custom dataset. However, after labeling and during export, I can only see the option export as ".mat" format. I was wondering if I can export the data as ".txt" format or at least export as ".mat format and convert it in ". txt" format later using some matlab commands. Can I do that? And if yes, How?? N.B: I am working on developing a new detection model and so, I need to benchmark my model against the SOTA models. The problem is, not all models are supported inside matlab. So, I have to manually run these detection models on my dataset with their git-hub release code which mostly follows KITTI (.txt) format ground truth labels.
0 Comments
Accepted Answer
MathWorks Support Team
on 6 Jan 2023
See the example below to write a custom groundtruth export script:
Also, this several Lidar models are included here: MATLAB-Deep-Learning-Model-Hub: Discover pretrained models for deep learning in MATLAB.
If you have a specific question about your workflow, please feel free to contact Technical Support.
0 Comments
More Answers (1)
Shubham Rawat
on 16 Mar 2021
Hi Arghya,
Here what are you exporting as '.mat' file is of groundTruthLidar object. You can export only content of Labels and xyzCoordinates according to the properties of this object.
For converting .mat files into .txt files you may use this: https://www.mathworks.com/matlabcentral/answers/8902-from-mat-to-txt
Hope this Helps!
2 Comments
See Also
Categories
Find more on Labeling, Segmentation, and Detection 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!