Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish CompressedImage from usb_cam #133

Open
hello-amal opened this issue Jun 21, 2024 · 0 comments
Open

Publish CompressedImage from usb_cam #133

hello-amal opened this issue Jun 21, 2024 · 0 comments

Comments

@hello-amal
Copy link
Contributor

Currently, usb_cam only supports Image types. It would be great if it could instead/also publish a CompressedImage.

Doing so it quite straightforward: cv_bridge has functions to convert an OpenCV image to a CompressedImage message (used in the web interface here). I'd suggest adding a parameter, compress_image, that will essentially append /compressed to publish_topic and publish the image as a CompressedImage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant