Reader small image

You're reading from  Mastering ROS for Robotics Programming. - Second Edition

Product typeBook
Published inFeb 2018
Reading LevelExpert
PublisherPackt
ISBN-139781788478953
Edition2nd Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Lentin Joseph
Lentin Joseph
author image
Lentin Joseph

Lentin Joseph is an author and robotics entrepreneur from India. He runs a robotics software company called Qbotics Labs in India. He has 7 years of experience in the robotics domain primarily in ROS, OpenCV, and PCL. He has authored four books in ROS, namely, Learning Robotics using Python, Mastering ROS for Robotics Programming, ROS Robotics Projects, and Robot Operating System for Absolute Beginners. He is currently pursuing his master's in Robotics from India and is also doing research at Robotics Institute, CMU, USA.
Read more about Lentin Joseph

Right arrow

Understanding ROS – OpenCV interfacing packages


OpenCV is one of the popular open source real-time computer vision libraries, which is mainly written in C/C++. OpenCV comes with a BSD license, and is free both for academic and commercial applications. OpenCV can be programmed using C/C++, Python, and Java, and it has multi-platform support, such as Windows, Linux, macOS X, Android, and iOS. OpenCV has tons of computer vision APIs that can be used for implementing computer vision applications. The web page of OpenCV library can be found at http://opencv.org/.

The OpenCV library is interfaced to ROS via a ROS stack, called vision_opencv. vision_opencv consists of two important packages for interfacing OpenCV to ROS. They are:

  • cv_bridge: The cv_bridge package contains a library that provides APIs for converting the OpenCV image data type, cv::Mat, to the ROS image message called sensor_msgs/Image and vice versa. In short, it can act as a bridge between OpenCV and ROS. We can use OpenCV APIs to...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering ROS for Robotics Programming. - Second Edition
Published in: Feb 2018Publisher: PacktISBN-13: 9781788478953

Author (1)

author image
Lentin Joseph

Lentin Joseph is an author and robotics entrepreneur from India. He runs a robotics software company called Qbotics Labs in India. He has 7 years of experience in the robotics domain primarily in ROS, OpenCV, and PCL. He has authored four books in ROS, namely, Learning Robotics using Python, Mastering ROS for Robotics Programming, ROS Robotics Projects, and Robot Operating System for Absolute Beginners. He is currently pursuing his master's in Robotics from India and is also doing research at Robotics Institute, CMU, USA.
Read more about Lentin Joseph