Skip to Main Content
Learn Robotics Programming - Second Edition
book

Learn Robotics Programming - Second Edition

by Danny Staple
February 2021
Beginner to intermediate content levelBeginner to intermediate
602 pages
12h 37m
English
Packt Publishing
Content preview from Learn Robotics Programming - Second Edition

Chapter 13: Robot Vision – Using a Pi Camera and OpenCV

Giving a robot the ability to see things allows it to behave in ways to which humans relate well. Computer vision is still actively being researched, but some of the basics are already available for use in our code, with a Pi Camera and a little work.

In this chapter, we will use the robot and camera to drive to objects and follow faces with our pan-and-tilt mechanism. We'll be using the PID algorithm some more and streaming camera output to a web page, giving you a way to see what your robot is seeing.

The following topics will be covered in this chapter:

  • Setting up the Raspberry Pi camera
  • Setting up computer vision software
  • Building a Raspberry Pi camera stream app
  • Running background ...
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

Publisher Resources

ISBN: 9781839218804Supplemental Content