cv-bridge-rs
Rust implemenation of cv_bridge that converts between ROS image messages and OpenCV images
Warning: This package is still under active development. Use at your own risk.
Getting Started
Adding cv_bridge to your project
Add the following to your Cargo.toml file under dependencies:
[]
= "0.3.3"
or you can use cargo to add the dependency:
Converting between ROS image messages and OpenCV images
use highgui;
use ;
Features
- Covert to and from sensor_msgs/Image and opencv::core::Mat
- Support for various encodings defined by sensor_msgs: image_encodings.h crate
- Support for 8-bit and 16-bit depth channels
- Support for 32-bit and 64-bit depth channels
- Documentation and examples
- Covert to and from sensor_msgs/CompressedImage and opencv::core::Mat