How can I export Ground Truth in KITTI format (.txt) using Ground Truth Labeler App
35 views (last 30 days)
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.
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!