Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
BeagleBone Robotic Projects

You're reading from   BeagleBone Robotic Projects Build and control robots that walk, swim, roll, and fly

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781788293136
Length 230 pages
Edition 2nd Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Richard Grimmett Richard Grimmett
Author Profile Icon Richard Grimmett
Richard Grimmett
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with the BeagleBone Blue FREE CHAPTER 2. Programming the BeagleBone Blue 3. Making the Unit Mobile - Controlling Wheeled Movement 4. Avoiding Obstacles Using Sensors 5. Allowing Our BeagleBone Blue to See 6. Providing Speech Input and Output 7. Making the Unit Very Mobile - Controlling Legged Movement 8. Using a GPS Receiver to Locate Your Robot 9. By Land, By Sea, By Air 10. System Dynamics

Connecting your USB camera to your BeagleBone Blue and viewing the images

Our first step in enabling computer vision is to connect your USB camera to your USB port on the BeagleBone Blue. For this example, you'll use an iHome webcam, a standard USB webcam available at many electronics online outlets. To make sure you can access your USB webcam, I like to use a program called guvcview. Install this by typing sudo apt-get install guvcview.

Connect your USB camera. Then, apply power to the BeagleBone Blue. After the system is booted, you can check whether the BeagleBone Blue has found your USB camera. Go to the /dev directory and type ls. You should see something like this:

What you are looking for is the video device; this is our webcam. So if you see it, then you can be sure that the system at least knows that your camera is there.

Now let's use guvcview to view the...

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 $19.99/month. Cancel anytime
Banner background image