View my account

How can i extract the meta data from .bag file?

Comments

5 comments

  • MartyG

    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 

    0
    Comment actions Permalink
  • Raghavmaheshwari 905

    Thanks for your response 

    so this tool converts the .bag file into .csv format and give the rotation and translation matrix as i needed for my project?

    0
    Comment actions Permalink
  • MartyG

    If the rotation and translation matrix has been recorded into the bag then I would think that the data would be converted into CSV.  I cannot confirm it though as I have only personally used the tool myself for depth data conversion.

    0
    Comment actions Permalink
  • Raghavmaheshwari 905

    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 

     

    0
    Comment actions Permalink
  • MartyG

    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.

    https://github.com/IntelRealSense/librealsense/issues 

    0
    Comment actions Permalink

Please sign in to leave a comment.