jmscslgroup / bagpy

Python package for reading, and extracting data from rosbag files and performing any analysis on it.
https://jmscslgroup.github.io/bagpy/
Other
202 stars 39 forks source link

Decoding images #29

Closed YonatanSimson closed 1 year ago

YonatanSimson commented 2 years ago

Hi

When I read a rosbag containing images I get a string sequence in the csv file that looks like this: "b'\x10\x10\x0f\x10\x10\x10........'"

I tried to using encode/decode and struct.unpack but with no success.

Do you have any examples of how to decode images byte streams?

OS: Windows 10 Python 3.9.11

rahulbhadani commented 2 years ago

You can look at https://github.com/jmscslgroup/bagpy/issues/10 to see if this is helpful to you.

github-actions[bot] commented 1 year ago

Stale issue message