Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Rapid BeagleBoard Prototyping with MATLAB and Simulink

You're reading from  Rapid BeagleBoard Prototyping with MATLAB and Simulink

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781849696043
Pages 152 pages
Edition 1st Edition
Languages

Table of Contents (15) Chapters

Rapid BeagleBoard Prototyping with MATLAB and Simulink
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Introducing BeagleBoard 2. Installing Linux on the BeagleBoard 3. C/C++ Development with Eclipse on Windows 4. Automatic Code Generation 5. Digital I/O and Serial Communication 6. Voice Recognition 7. Digital Video-Based Motion Detection Wrapping Up Index

Video acquisition: Software driver


In Chapter 5, Digital I/O and Serial Communication, we discussed how to implement drivers for external devices. Similarly, the camera requires a driver as well. Nonetheless, the driver for a digital camera is usually much more complex than what we have done until now, and it may be worth another book to discuss how to implement such a driver. Thanks to the open-source community and MATLAB, the Video for Linux 2 (V4L2) API driver has been implemented for the BeagleBoard and is ready to use. Detailed information about V4L2 can be found at http://linuxtv.org/downloads/v4l-dvb-apis.

In this chapter we call the V4L2 driver directly to acquire the video stream from the Logitech C310 digital camera. As a benefit, we can focus on how to implement a motion detection algorithm based on existing video input.

To obtain the video stream from the Logitech C310 camera, simply open the Simulink library and add a V4L2 Video Capture block (as shown in the previous screenshot...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}