CHAPTER 12 Images, Video, and Audio
In this chapter, USB peripherals are attached to the BBB so that it can be used for capturing image, video, and audio data using low‐level Linux drivers and APIs. It describes Linux applications and tools that can be used to stream captured video and audio data to the Internet. Open Source Computer Vision (OpenCV) image processing and computer vision approaches are investigated that enable the BBB to draw inferences from the information content of the captured image data. Capture and playback of audio streams is described, along with the use of Bluetooth audio. The chapter also covers some applications of audio on the BBB, including streaming audio, Internet radio, and text‐to‐speech. The chapter finishes by describing how you can build a simple Bluetooth talking clock and thermometer.
Equipment Required for This Chapter:
- BeagleBone Black
- Linux USB webcam (ideally the Logitech HD Pro C920)
- USB audio and/or Bluetooth adapter
Further resources for this chapter are available at www.exploringbeaglebone.com/chapter12/
.
Capturing Images and Video
In this section, the BBB is used as a platform for capturing image and video data from USB webcams and saving the data on the BBB file system. This is useful for BBB applications such as robotics, home security, home automation, and aeronautics, when networked image streaming is not an available option—for example, if the application is untethered and distant from a wireless network. With suitable ...
Get Exploring BeagleBone: Tools and Techniques for Building with Embedded Linux 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.