Ask Your Question
0

What ROS distribution with OpenCV 4

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

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 (http://wiki.ros.org/Distributions) but only appears OpenCV 3.

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 51 times

Last updated: Sep 13