ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

What ROS distribution with OpenCV 4

asked 2019-09-13 03:34:56 -0600

albertofernandez gravatar image

Hi, I am completely new with ROS, but I want to start using ROS and integrate it with OpenCV 4 (C++/python). The simple approach I am thinking is to create a node reading from a camera and creating another node to process it (I have doubts in connection with creating two nodes and a topic, or creating a service, ..).

At least, I want OpenCV 4 capabilities to process the frames in one node (e.g. face detection, apply pre-trained deep learning models available in OpenCV, among others - but starting with a very simple processing algorithm).

My question is: What ROS distribution is necessary/recommended for OpenCV 4 compatibility? I am reading this ( but only appears OpenCV 3.

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-09-13 03:55:42 -0600

Mehdi. gravatar image

ROS uses the system opencv library, so for now you are bound to opencv 3.2.0. You can find packages list for Ubuntu on this page

If you want a newer opencv version you can install it by yourself but you have to adapt CMakeLists.txt to force it to use a specific version.

edit flag offensive delete link more

Question Tools



Asked: 2019-09-13 03:34:56 -0600

Seen: 1,418 times

Last updated: Sep 13 '19