Skip to Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Accessing the RPi Camera with OpenCV

One of the most exciting things we can do with Raspberry Pi is recognize objects and faces by connecting it to an external USB webcam or Raspberry Pi camera (RPi camera).

To process these inputs from the camera, we will use the OpenCV libraries. As the installation of OpenCV takes a long time and involves multiple steps, this whole chapter will be dedicated to getting you up and running.

In this chapter, you will explore the following topics:

  • Installing OpenCV 4.0.0 on Raspberry Pi
  • Enabling and connecting the RPi camera to RPi
  • Capturing images and video with the RPi camera
  • Reading an image using 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

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham

Publisher Resources

ISBN: 9781789139006Supplemental Content