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

Revision history [back]

For Python you don't really need to configure CMakeLists.txt

You could just use opencv directly in Python by including it as follows:

import opencv2 as cv2

Then use all opencv algorithms accessible under the namespace cv2 (cv2.imshow() for example)

For converting between OpenCV image format and ROS images check this tutorial

For Python you don't really need to configure CMakeLists.txt

You could just use opencv directly in Python by including it as follows:

import opencv2 as cv2

Then use all opencv algorithms accessible under the namespace cv2 (cv2.imshow() for example)example). You should of course have opencv installed on your computer.

For converting between OpenCV image format and ROS images check this tutorial

For Python you don't really need to configure CMakeLists.txt

You could just use opencv directly in Python by including it as follows:

import opencv2 as cv2

Then use all opencv algorithms accessible under the namespace cv2 (cv2.imshow() for example). You should of course have opencv installed on your computer.

For converting between OpenCV image format and ROS images check this tutorial