how to use the vision_opencv on python script?
hello,
i want to use the vision_script on python script.
can you show me the example?
and how configurate the cmakelist.txt?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
hello,
i want to use the vision_script on python script.
can you show me the example?
and how configurate the cmakelist.txt?
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 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
I add 'import opencv2 as cv2', but is not work. it's occur the error ' no module named opencv2.
how to solve?
Asked: 2015-05-10 02:43:18 -0500
Seen: 112 times
Last updated: May 12 '15
How to use subscriber in ROS node
ros2 python run time dependencies
Confused on which libraries to use
Basic use of ecto failed [closed]
Python namespace ignored in MoveIt
is there a way to get c++ include directories path in python
Importerror : cannot import name