rosbag image timestamp
I have a rosbag file which contain images and sensor data. I need to extract Images and their timestamp. And afterwards I want to use them to train Neural Network for classification purpose.
For this, I wrote a rosnode in Python, which subscribes to the image topic.
Images are extracted but how I can save timestamps.
Those images and their timestamp need to be uploaded into database.
Is this possible when playing rosbag file I can create a CSV file which saves the image name and their timestamp.