Skip to Content
Learn Robotics Programming
book

Learn Robotics Programming

by Danny Staple
November 2018
Beginner
472 pages
13h 5m
English
Packt Publishing
Content preview from Learn Robotics Programming

Installing libraries

OpenCV is a library with a collection of tools for manipulating pictures and extracting information from them. The name is an abbreviation of Open Computer Vision. The tools are strung together to make useful behaviors and pipelines for processing images. To be able to run our code on the Raspberry Pi, we will need to install the Python OpenCV library there.

We will also install NumPy, the numeric python library. This lets us to do manipulations of large blocks of numbers. An image stored on a computer is essentially a large block of numbers, with each tiny dot having similar content to the three-color numbers we sent to the LEDs in Chapter 9, Programming RGB Strips in Python.

Also, at a Terminal, install the following ...

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

Learn Robotics Programming - Second Edition

Learn Robotics Programming - Second Edition

Danny Staple

Publisher Resources

ISBN: 9781789340747Supplemental Content