10 Robotic QR code finder

This chapter covers

  • Generating QR codes
  • Detecting and decoding data in QR codes
  • Streaming live video using Motion JPEG
  • Creating a robot that can search for specific QR codes in its environment

We start this chapter by exploring the QR code standard and learning how to generate our own QR codes. Then, we use the OpenCV computer vision library to detect QR codes in images, as well as to read the data encoded in the QR code itself. We will then learn how to save the video stream data from the camera to the filesystem so that multiple applications can simultaneously read live video data. This will allow us to check the video stream for QR codes we are interested in, as well as stream the video to desktop and web applications ...

Get Build Your Own Robot now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.