Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Installing TensorFlow and other dependencies

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content