Code Monkey home page Code Monkey logo

opencv_camera's Introduction

The ROS2 OpenCV Camera Package

This is a ROS2 package with a publisher node that uses OpenCV to publish raw images from a camera onto a topic called image_raw. Since the package is based on OpenCV, any camera that's supported in OpenCV can be used with this package. And because this package publishes raw camera images, it can be used as the foundation for all computer vision related aspects of your robotics project.

Features :

  • publishing of raw camera images
  • configurable camera id (you can specify which camera to publish from)
  • image viewer subscriber for visualizing the published images

Topics

  • /image_raw - topic for raw image data published as sensor_msgs.msg import Image

Publishers

  • image_publisher - publishes raw camera images. ros2 run opencv_camera image_publisher

Subscribers

  • image_viewer - subscribes to /image_raw and shows the received image frames. ros2 run opencv_camera image_viewer

Installation

  • clone this repository into your ROS2 workspace
  • cd into the src folder of your workspance
  • run colcon build
  • source setup.bash and local_setup.bash

Dependencies

This package depends on OpenCV so if that's not already installed on your system, run pip install opencv-python to install it.

opencv_camera's People

Contributors

hackstock avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.