Skip to Content
Hands-On Edge Analytics with Azure IoT
book

Hands-On Edge Analytics with Azure IoT

by Colin Dow
May 2020
Intermediate to advanced
262 pages
6h 48m
English
Packt Publishing
Content preview from Hands-On Edge Analytics with Azure IoT

OpenCV for Python

OpenCV is a library for computer vision and machine learning. We will use OpenCV to stream live video from a webcam.

To install OpenCV onto our Raspberry Pi, do the following:

  1. In Thonny, click on Tools | Open system shell.... Verify that you get a Terminal window. 
  2. Type in pip install opencv-python:

  1. Verify that the opencv-python and numpy libraries install successfully.

If you are having issues installing OpenCV for Python, you may have to build it from scratch. Refer to the instructions at this link: https://pimylifeup.com/raspberry-pi-opencv/.

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

Beginning Azure IoT Edge Computing: Extending the Cloud to the Intelligent Edge

Beginning Azure IoT Edge Computing: Extending the Cloud to the Intelligent Edge

David Jensen

Publisher Resources

ISBN: 9781838829902Supplemental Content