February 2020
Intermediate to advanced
432 pages
10h 50m
English
OpenCV, the well-known and open source computer vision library (https://opencv.org/), brings to ROS the capability of image processing. It is used by TensorFlow to deal with images that you will obtain from the robot camera. To install it in your system, you need the pip package manager that we explained earlier:
$ pip install opencv-python --user
The --user flag ensures that the package is installed locally to the user home folder at ~/.local/lib/python2.7/site-packages. Otherwise, it should be installed system-wide at the /usr/local/lib/python2.7/dist-packages path, as is the case of pip (in such cases, you should perform the installation with sudo).
The OpenCV ROS bridge (http://wiki.ros.org/cv_bridge ...