Skip to content

CyberAgentAILab/rosbag2images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker environment for image extraction from ROS1 rosbag

This is a tool to extract images from a ROS1 rosbag without requiring manual setup of the ROS1 environment on the Host OS.

Requriement

Host OS with Docker and Bash installed.

Setup

First you need to run setup.sh to build the docker image.

$ bash setup.sh

Run

List topics

$ ./extract.sh <path to rosbag file>

Extract images

$ ./extract.sh <path to ros1 rosbag file> <path to output image directory> <topic name>

Swap red and blue channel

If you want to swap the red and blue channels in color images, you can specify the --swaprb option after the topic name.

$ ./extract.sh <path to ros1 rosbag file> <path to output image directory> <topic name> --swaprb

Thanks

The image extraction script rosbag2images.py is the modification of priteshgohil's work, which is distributed under the MIT license.

About

Tool to extract images from ROS1 rosbag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published