Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Pure Python library to convert ros image message data from and to opencv2.
.. image:: https://gitlab.com/ternaris/rosbags-image/badges/master/pipeline.svg :target: https://gitlab.com/ternaris/rosbags-image/-/commits/master :alt: pipeline status
.. image:: https://gitlab.com/ternaris/rosbags-image/badges/master/coverage.svg :target: https://gitlab.com/ternaris/rosbags-image/-/commits/master :alt: coverage report
Rosbags-image is the pure python library for interacting with image or compressed image messages and it aims to provide the same functionality as cv_bridge. It is part of the larger Rosbags <https://gitlab.com/ternaris/rosbags>
_ ecosystem.
Rosbags-image does not have any dependencies on the ROS software stacks and can be used on its own or alongside ROS1 or ROS2.
Rosbags-image is published on PyPI and does not have any special dependencies. Simply install with pip::
pip install rosbags-image
Convert sensor_msgs/msg/Image message into OpenCV image:
.. code-block:: python
from rosbags.image import message_to_cvimage
msg = ...
img = message_to_cvimage(msg)
img = message_to_cvimage(msg, 'bgr8')
Read the documentation <https://ternaris.gitlab.io/rosbags-image/>
_ for further information.
.. end documentation
Thank you for considering to contribute to rosbags-image.
To submit issues or create merge requests please follow the instructions provided in the contribution guide <https://gitlab.com/ternaris/rosbags-image/-/blob/master/CONTRIBUTING.rst>
_.
By contributing to rosbags-image you accept and agree to the terms and conditions laid out in there.
Clone the repository and setup your local checkout::
git clone https://gitlab.com/ternaris/rosbags-image.git
cd rosbags-image python -m venv venv . venv/bin/activate
pip install -r requirements-dev.txt pip install -e .
This creates a new virtual environment with the necessary python dependencies and installs rosbags-image in editable mode. The rosbags-image code base uses pytest as its test runner, run the test suite by simply invoking::
pytest
To build the documentation from its source run sphinx-build::
sphinx-build -a docs public
The entry point to the local documentation build should be available under public/index.html
.
Professional support is available from Ternaris <https://ternaris.com>
_.
FAQs
Pure Python library to convert ros image message data from and to opencv2.
We found that rosbags-image demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.