Metadata-Version: 2.1
Name: artefacts_toolkit_rosbag_gpl
Version: 0.3.0
Author-email: FD <fabian@artefacts.com>, AGC <alejandro@artefacts.com>, TN <tomo@artefacts.com>, EP <eric@artefacts.com>
Project-URL: Homepage, https://github.com/art-e-fact/artefacts-toolkit-rosbag_gpl
Project-URL: Bug Tracker, https://github.com/art-e-fact/artefacts-toolkit-rosbag_gpl/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: opencv-python
Requires-Dist: numpy<2,>=1.26.0
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: pyre-check; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-env; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: setuptools-scm; extra == "dev"
Requires-Dist: twine; extra == "dev"

# Artefacts Toolkit Rosbag GPL package

## Standalone Usage

```
from artefacts_toolkit_rosbag_gpl import extract_video

extract_video(rosbag_filepath, topic_name, output_filepath, fps=20)
```

Will create an mp4 video from the images in a given camera topic from a provided rosbag (mcap or db3). The `rosbag_file_path` can be the path to the rosbag file itself, or the parent folder (containing the rosbag, and `metadata.yaml`)


With special thanks to @mlaiacker 's [ros2bag2video](https://github.com/mlaiacker/rosbag2video) which has been adapted here for ros2 video recordings.
