How can i extract the meta data from .bag file?
I want to extract the meta data like rotation and translation matrix for my Odometry project is their any way to extract the data bag file to text format?
-
Bag data can be extracted and converted to other formats using the RealSense SDK's Convert tool. A format readable by a text program such as a word processor or database is .csv
https://github.com/IntelRealSense/librealsense/tree/master/tools/convert
-
MartyG Thanks for your response but it does not work . whne i tried to run convert tool for bag to CSV it works for 99% and than shows csv converter and does not generate anything . other like bag to png and all are working properly but bag to csv is not . can you help me with this ? thanks
-
It has been known for the execution of the Convert tool not to complete.
https://github.com/IntelRealSense/librealsense/issues/3297
As an alternative approach to using Convert, you may also be interested in a long programming discussion about saving camera data to text file format.
https://github.com/IntelRealSense/librealsense/issues/1485
For further advice, I recommend posting a question at the RealSense GitHub forum by visiting the link below and clicking the New Issue button.
Please sign in to leave a comment.
Comments
5 comments