How can I export Ground Truth in KITTI format (.txt) using Ground Truth Labeler App
23 views (last 30 days)
Arghya Chatterjee on 12 Mar 2021
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.
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.
More Answers (1)
Shubham Rawat on 16 Mar 2021
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.
You may look into the groundtruthLidar 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!