Summary

In this chapter, we got acquainted with the two components involved in camera handling under Linux: the USB Video Class drivers and the Video4Linux framework. You learned how to obtain important information about your camera's capabilities; you also learned a bit about pixel formats, image resolution, and frame rates.

We proceeded to set up a video feed, accessible directly via a web browser or through VLC media player, which we could also use to record the stream for permanent storage.

Then we jumped head first into surveillance and motion detection systems with the help of the Motion and MotionEye applications. You learned how to create an initial configuration suitable to verify and tweak the motion detection mechanism, and how to set ...

Get Raspberry Pi for Secret Agents - Third Edition 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.